Gentoo Archives: gentoo-alt

From: Markus Duft <mduft@g.o>
To: gentoo-alt@l.g.o
Subject: RE: [gentoo-alt] gawk failing prefix-launcher-1.2 on AIX
Date: Tue, 24 Jun 2008 06:03:30
Message-Id: 000101c8d5bf$56ec5da0$04c518e0$@org
In Reply to: Re: [gentoo-alt] gawk failing prefix-launcher-1.2 on AIX by Greg
> > Here I go again. > > I wasn't getting anywhere, so I went over to clfs to use as a reference > to get more GNU programs installed. The ones they suggest as the ones > necessary for a clfs system are the ones I installed, only not as a > cross compiler. I decided to start over on Gentoo prefix using the > programs suggested from the Linux From Scratch guys. No matter what I > do I get the same error message with...you guessed it. Gawk
Our AIX machines with prefix-launcher are more or less bare system installations I think, with not much additional software installed/updated.
> > gcc -O2 -D_XOPEN_SOURCE_EXTENDED=1 -DGAWK_AIX=1 -o gawk array.o > awkgram.o builtin.o dfa.o ext.o field.o gawkmisc.o getopt.o getopt1.o > io.o main.o msg.o node.o random.o re.o regex.o replace.o version.o > eval.o profile.o -ldl > ld: 0711-317 ERROR: Undefined symbol: .pow > ld: 0711-317 ERROR: Undefined symbol: .cos > ld: 0711-317 ERROR: Undefined symbol: .sin > ld: 0711-317 ERROR: Undefined symbol: .atan2 > ld: 0711-317 ERROR: Undefined symbol: .sqrt > ld: 0711-317 ERROR: Undefined symbol: .log > ld: 0711-317 ERROR: Undefined symbol: .floor > ld: 0711-317 ERROR: Undefined symbol: .ceil > ld: 0711-317 ERROR: Undefined symbol: .exp > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more > information.
Shouldn't -lm get on the link line from _somewhere_? What does config.log look like?
> collect2: ld returned 8 exit status > gmake[2]: *** [gawk] Error 1 > gmake[2]: Leaving directory > `/usr/local/prefix-launcher-1.2/buildroot/gawk/ibm_slow.powerpc-ibm- > aix5.2.0.0' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory > `/usr/local/prefix-launcher-1.2/buildroot/gawk/ibm_slow.powerpc-ibm- > aix5.2.0.0' > gmake: *** [all] Error 2 > gmake: *** > [/usr/local/prefix-launcher-1.2/buildroot/gawk/gawk.ibm_slow.powerpc- > ibm-aix5.2.0.0.builded] > Error 1 > > > This is using the prefix-launcher that downloads the programs instead > of > including them. Am I forever doomed by the AIX linker?
Download instead of include? I don't understand your point here... including the sources would make it bigger, including the binaries is not possible :) Or did you mean something else? Cheers, Markus
> > > > Greg Trigg > > Jacksonville, AR > > > > -- > gentoo-alt@l.g.o mailing list
-- gentoo-alt@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] gawk failing prefix-launcher-1.2 on AIX Greg Trigg <trigggl@×××××.com>