> -----Mensaje original-----
> De: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]]
> Enviado el: martes 29 de enero de 2002 22:23
> Para: Monserrat Seisdedos Nunez
> CC: Amanda-Users (E-mail)
> Asunto: Re: amanda in aix
> 
> 
> 
> 
> 
> 
> >I'm trying to compile amanda 2.4.2p2 in a 4.3.3 aix system.
> >i installed gtar,gawk, gsed, perl and readline.
> 
> When you say you installed these packages, did you build them 
> from source
> or did you find binaries someplace?
> 
> >i run the configure script, but when i do make i receive the 
> next error:
> >
> >make[1]: Entering directory 
> `/home/software/amanda-2.4.2p2/client-src'
> >/usr/bin/sh ../libtool --mode=link gcc  -g -O2    -o amandad 
>  amandad.o
> >../common-src/libamanda.la      libamclient.la  
> ../common-src/libamanda.la
> >-lm -lreadline -lcurses -lnsl -lintl
> >gcc -g -O2 -o amandad amandad.o ../common-src/.libs/libamanda.a -lm
> >-lreadline -lcurses -lnsl -lintl .libs/libamclient.a -lm -lreadline
> -lcurses
> >-lnsl -lintl ../common-src/.libs/libamanda.a -lm -lreadline 
> -lcurses -lnsl
> >-lintl -lm -lreadline -lcurses -lnsl -lintl
> >ld: 0711-317 ERROR: Undefined symbol: .__main
> >...
> 
> I just tried this on a 4.3.3 system here using gcc 2.95.3 and it
> worked OK.  What version of gcc are you using ("gcc --version")?
> 
> Was your version of gcc built for 4.3.3 ("gcc --verbose")?
> 
> My build is using -ltermcap rather than -lcurses.  Did you do 
> something
> special to change that?
> 
> Prior to building amandad, make should have built and run 
> ./genversion.
> I assume, since you didn't say anything, that that went OK, i.e. you
> didn't get load errors and it ran?
> 
> John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
> 

ok, i think a solved my problem, i set the LIBPATH variable to the gnu
library directory.

Now i have another problem, when i make the source i get the next error:

collect2: ../common-src/libamanda.a:not a COFF file

can any body helpme??

Reply via email to