Re: complilation error



Zoltan,
You were right. I haven't got bos.adt.mlib fileset installed.

Thank you!

Regards,
Maciej

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of
Zoltán Vad
Sent: Wednesday, January 24, 2007 11:28 AM
To: aix-l@xxxxxxxxxxxxx
Subject: Re: complilation error

Hi Maciej,

2007/1/24, Dworakowski Maciej DSE100 <Dworakowski.Maciej@xxxxxxxxxxxxxx>:



Hi,

I am trying to compile apache 2.0.59.

Unfortunately I get the following error when executing make

----------------------------------------------------

ld: 0711-317 ERROR: Undefined symbol: .sqrt

ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.

collect2: ld returned 8 exit status

make: 1254-004 The error code from the last command is 1.

Stop.

---------------------------------------------------

The apache 'configure' script is running without error?
IT verify huge things, among others the sqrt function existence
also.

In your message: the compiler try to build in last phase the
executable and the loader (ld) can't find library where is the
sqrt function. The sqrt and other math functions are in 'math
library'. On AIX the bos.adt.mlib fileset is the math library.

See: lslpp -l bos.adt.*

If bos.adt.mlib is installed probably you have problem with your
local environment settings. Bad PATH, missing or wrong Makefile entry, etc
....

Cheers, Zoltan



Relevant Pages

  • Re: complilation error
    ... I am trying to compile apache 2.0.59. ... Unfortunately I get the following error when executing make ... among others the sqrt function existence ... The sqrt and other math functions are in 'math ...
    (AIX-L)
  • Re: NEWBIE: Sub-Classes
    ... which puts all public symbols from dir_a into the module's namespace. ... the builtin module math contains a sqrt() function. ... exists after executing the method B_method_1 ...
    (comp.lang.python)