At 08:50 AM 12/7/2006, Robert Bannocks wrote:
So there is something odd here.
The only thing odd here is your (mis)use of gcc. As this really is not the place to discuss (im)proper use of gcc, I will just make a couple of quick comments: 1) the order you have specified linking to occur in is simply wrong (the object file generated by compiling ldaptest.c should be linked in before dependent libraries are linked in), 2) gcc offers flags to enable static-only linking.
-- Kurt