NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import .a file into another library



Hello,

I am compiling a library on NetBSD using a Makefile that I have made
which is based on <bsd.lib.mk>. It depends on some other libraries
from base or pkgsrc - so far so good.

However, there is one dependency to math/mapm which only comes with a
.a file and provides no .so file. I had included -lmapm in LDFLAGS
already, but according to nm the library seems to have all references
marked with U in the symbol table, so I guess it was not imported.

What is the correct way to work with .a files? Can they be imported
into other libs using NetBSDs mk files?


Thanks,

Stephan


Home | Main Index | Thread Index | Old Index