"David E. Cross" wrote: > > I have a program (part of CDE)... we will call it 'foo', > > "foo" has library dependancies: libtt.so, libX11.so, libXt.so, libXext.so, and > libwcs.so(this last one is mine). > > libtt.so depends on iswalpha() and iswspace() (which are defined in > libwcs.so) > > If I link with all of those I get an error that iswspace and iswalpha are > undefined, yet: nm /usr/local/lib/libwcs.so | grep isw returns: > > 00001358 T iswalpha > > 000013b0 T iswprint > > 00001384 T iswspace > > And if I change the '-lwcs' line to '/usr/local/lib/libwcs.a' it links fine.
Did you remember -L/usr/local/lib so the linker will know to search for libraries there? Do you have a bogus libwcs.a in /usr/lib? -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://softweyr.com/ w...@softweyr.com To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message