public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Fwd: Linking errors
@ 2001-02-17 10:57 Sorin Costea
  0 siblings, 0 replies; 3+ messages in thread
From: Sorin Costea @ 2001-02-17 10:57 UTC (permalink / raw)
  To: gcc-help

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fwd: Linking errors
  2001-02-16 11:57 Sorin Costea
@ 2001-02-16 14:31 ` Robert A Nesius
  0 siblings, 0 replies; 3+ messages in thread
From: Robert A Nesius @ 2001-02-16 14:31 UTC (permalink / raw)
  To: Sorin Costea; +Cc: gcc-help

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


On Fri, 16 Feb 2001, Sorin Costea wrote:

>
> Hello,
>
> I'm getting the following errors when trying to link
> on an AIX 4.1.5 system running gcc 2.95.2
> The external library is using heavily templates, but
> builds fine by itself. Should I include more
> information about it, or is it a known problem that
> fool me is not aware...
> The code works fine on other platforms (HP 10.20,
> Sun 5.6) running gcc 2.8.1. Btw, I also tried with
> -frepo and I'm getting heaps of errors (still the
> library builds ok).
> Thanks a lot,
> Sorin
>
>    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/
>

-- 
#include <sig.h>
------------------------------------------------------------------
Robert Nesius             rnesius@ichips.intel.com    503.712.2181
DPG Engineering Computing SW Applications Team


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Fwd: Linking errors
@ 2001-02-16 11:57 Sorin Costea
  2001-02-16 14:31 ` Robert A Nesius
  0 siblings, 1 reply; 3+ messages in thread
From: Sorin Costea @ 2001-02-16 11:57 UTC (permalink / raw)
  To: gcc-help

Hello,

I'm getting the following errors when trying to link
on an AIX 4.1.5 system running gcc 2.95.2
The external library is using heavily templates, but
builds fine by itself. Should I include more
information about it, or is it a known problem that
fool me is not aware...
The code works fine on other platforms (HP 10.20,
Sun 5.6) running gcc 2.8.1. Btw, I also tried with
-frepo and I'm getting heaps of errors (still the
library builds ok).
Thanks a lot, 
Sorin

   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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-02-17 10:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-17 10:57 Fwd: Linking errors Sorin Costea
  -- strict thread matches above, loose matches on Subject: below --
2001-02-16 11:57 Sorin Costea
2001-02-16 14:31 ` Robert A Nesius

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).