Click to See Complete Forum and Search --> : Yet more makefile problems


BrianDrozd
03-06-2001, 03:58 PM
Okay, here's the situation. I have several static libraries that I'm trying to link into my executable. I have an older makefile, but have added several makefiles since then. The provided makefile, however, as some of the older libraries repeatedly. (i.e. -lutl -los -lutl). Why do I have to list libraries more than once? And just how do I figure out what libraries to duplicate and where?

Stuka
03-06-2001, 04:59 PM
That don't make much sense...why would you need to statically link a lib more than once?

BrianDrozd
03-06-2001, 05:25 PM
Originally posted by Stuka:
That don't make much sense...why would you need to statically link a lib more than once?

Damned if I know. (Hence, my question.) All I know is that I get a slew of undefined symbols if I don't. Could it be because I'm comiling the libraries wrong somehow? (Somebody else wrote the makefile, so I don't know if its right or not.)