Subject: Re: port-alpha/5605: c++ on alpha seems to be broken
To: None <root@polaris.garbled.net>
From: Chris G. Demetriou <cgd@pa.dec.com>
List: netbsd-bugs
Date: 06/18/1998 09:50:23
> As you can see, test.c linked with ossaudio under gcc works just fine, and
> "as planned".  Trying to do the same thing with c++ causes undefined references
> to perfectly valid calls within the library.  

my guess is that the prototype declaration in soundcard.h should be
bracketed with __BEGIN_DECLS/__END_DECLS, so c++ does the right thing
with it...  (see /usr/include/pwd.h for an example.)

you might try making that change to your soundcard.h, and see if it
helps.  (if so, please say so.)


cgd