This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Fwd: Linking errors
- To: gcc-help at gcc dot gnu dot org
- Subject: Re: Fwd: Linking errors
- From: Sorin Costea <soterro at yahoo dot com>
- Date: Sat, 17 Feb 2001 10:57:29 -0800 (PST)
Hi,
The libraries I'm using are all OK, because all the
'memcpy' and also my own library symbols are found OK.
There are only these 4 errors, and the missing symbols
are obviously not coming directly from my code. A guy
suggested that they're coming from 'known problems
with' static instantiation of templates - whatever
might that mean. I'm still lost.
S
> What's the full name of the library you're linking
> against? On AIX, -l<name> looks for libname.a in
> your library search path. If you don't have a link
> or a library named appropriately, the link won't
> find all of its symbols.
> -Rob
>> g++ -o Server main.o agent.o buildnumber.o
>> tcpserver.o unixserver.o unixplatforminfo.o
>> sockethelper.o -lcryptlib -L../Cryptlib
>> -L/usr/lib/
>> ld: 0711-317 ERROR: Undefined symbol:
>> __default_alloc_template<false, 0>::end_free
>> ld: 0711-317 ERROR: Undefined symbol:
>> __default_alloc_template<false, 0>::start_free
>> ld: 0711-317 ERROR: Undefined symbol:
>> __default_alloc_template<false, 0>::heap_size
>> ld: 0711-317 ERROR: Undefined symbol:
>> __default_alloc_template<false, 0>::free_list
>> ld: 0711-345 Use the -bloadmap or -bnoquiet option
>> to obtain more information.
>> collect2: ld returned 8 exit status
>> make: The error code from the last command is 1.
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/