Article delegate-en/4527 of [1-5109] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:]  
Re: Antwort: Re: [DeleGate-En] Antwort: Re: [DeleGate-En] Antwort: Re: [DeleGate-En] Compilation error on AIX 5.3
Fri, 07 Aug 2009     Yutaka Sato

Hi,

In message  on 08/07/09(16:53:41)
you pvaiqbdyi-zcxmkg3ib576.ml@ml.delegate.org wrote:
 |Here comes the next error:
 |
 |gcc  -L../lib -o ./embed embed.o version.o ../srcsign.o  ../lib/library.a 
 |../lib/libmimekit.a ../lib/libmd5.a  -lnsl -ldl -lpthread -lpam -lstdc++ 
 |-lc ../lib/libsubst.a
 |ld: 0711-224 WARNING: Duplicate symbol: .strdup
 |ld: 0711-224 WARNING: Duplicate symbol: .Usleep(int)
...
 |ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more 
 |information.

I don't know the options above but adding them will give us more
information useful to see where it is defined duplicatedly.

 |ld: 0711-317 ERROR: Undefined symbol: .bcmp(void const*, void const*, 
 |unsigned long)
 |ld: 0711-317 ERROR: Undefined symbol: .bcopy(void const*, void*, unsigned 
 |long)

An obvious reason of errors you got is that you compiled them as
C++ program (with "-x c++" option) while you are linking them with
C libraries without "-x c++".  I don't know how you did it but
it will be able to be avoided with CC="g++" option for make.

 | |The new errors is:
 |...
 | |        gcc -O2 -x c++ -DQS -I../gen -I../include -O -c http.c

Cheers,
Yutaka
--
  9 9   Yutaka Sato http://delegate.org/y.sato/
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller
  search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
Generated:11/01 17:09:10 (1 sec) Expires:11/01 17:09:09 @_@V