John Calcote wrote:
> Jim,
>
> I've checked in a couple of sets of changes that allow AIX to compile
> (reasonably) cleanly, and to not core-dump when executed - my test was
> limited to slptool findscopes, which is an easy test because it
> doesn't rely on network configuration to work correctly.
> Unfortunately, I haven't had time to test beyond that.
>
> Get the lastest SVN changes - I think it's up to 1568 now.
>   
I think I need to go back on Vacation ;) Did the change that you made 
mean that we need to have 'libm' available? On my AIX system libm is not 
available, configure detects this but does not fail:

from config.log
> configure:20727: checking for log10 in -lm
> configure:20762: gcc -o conftest -g -O2   conftest.c -lm  -lpthread 
> -lnsl  >&5
> conftest.c:31: warning: conflicting types for built-in function 'log10'
> collect2: library libm not found

however; when building I get the following

make[2]: Entering directory `/home/wbemuser/openslp/aix/slpd'
gcc -DHAVE_CONFIG_H -I. -I.. -I../../slpd -I../../common -I../../libslpattr 
-I../../slpd -I../../libslp -DETCDIR=\"/home/wbemuser/openslp/aixbld//etc\" 
-DVARDIR=\"/home/wbemuser/openslp/aixbld//var\"  -DAIX  -g -O2 -Wall  -O3 -MT 
slpd_predicate.o -MD -MP -MF .deps/slpd_predicate.Tpo -c -o slpd_predicate.o 
../../slpd/slpd_predicate.c

...

mv -f .deps/slpd_socket.Tpo .deps/slpd_socket.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall  -O3   -o slpd 
slpd_predicate.o slpd_v1process.o  slpd_cmdline.o slpd_database.o 
slpd_incoming.o slpd_knownda.o slpd_log.o slpd_main.o slpd_outgoing.o 
slpd_process.o slpd_property.o slpd_regfile.o slpd_socket.o 
../common/libcommonslpd.la ../libslpattr/libslpattr.la -lpthread -lnsl 
mkdir .libs
gcc -g -O2 -Wall -O3 -o slpd slpd_predicate.o slpd_v1process.o slpd_cmdline.o 
slpd_database.o slpd_incoming.o slpd_knownda.o slpd_log.o slpd_main.o 
slpd_outgoing.o slpd_process.o slpd_property.o slpd_regfile.o slpd_socket.o  
../common/.libs/libcommonslpd.a ../libslpattr/.libs/libslpattr.a -lpthread 
-lnsl  
ld: 0711-317 ERROR: Undefined symbol: .log10
ld: 0711-317 ERROR: Undefined symbol: .ceil
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make[2]: *** [slpd] Error 1


If it is now required the configure script should output an error message. 

BTW the -bnoquiet options displays the following:

> ld: 0711-318 ERROR: Undefined symbols were found.
>         The following symbols are in error:
>  Symbol                    Inpndx  TY CL Source-File(Object-File) OR 
> Import-File{Shared-object}
>                               RLD: Address  Section  Rld-type 
> Referencing Symbol
>  
> ----------------------------------------------------------------------------------------------
>  .log10                    [178]   ER PR 
> ../../libslpattr/libslpattr.c(../libslpattr/.libs/libslpattr.a[libslpattr.o])
>                                    00001558 .text    R_RBR    [1254]  
> .SLPAttrSet_int
>                                    000028a0 .text    R_RBR    [1908]  
> <.attr_destringify>
>  .ceil                     [180]   ER PR 
> ../../libslpattr/libslpattr.c(../libslpattr/.libs/libslpattr.a[libslpattr.o])
>                                    00001560 .text    R_RBR    [1254]  
> .SLPAttrSet_int
>                                    000028a8 .text    R_RBR    [1908]  
> <.attr_destringify>

I have to wait for someone to install 'libm' on that machine.

sorry
> Regards,
> John
>
>
>
>   

-- 
Jim Marshall
Sr. Staff Engineer
WBEM Solutions, Inc.
978-947-3607


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel

Reply via email to