Jim, libm comes from the glibc-devel package on my SLES 10 linux box. I'm not sure where it comes from on AIX. I do have it installed on my AIX machine, but with it being AIX, I'm not sure where to look to find out how it got there. :)
There's one more problem you might run into - I haven't dug into it yet to see. I think I mentioned it before. When you use sockets on AIX, you have to fill in an additional field next to the family field of the sockaddr structure. On AIX it's one half of the normally 16-bit family member. They use the upper 8 bits for the structure size - for IPv4 sockaddr_in structures, it must be set to the value 16 in order to keep the socket calls from returning invalid parameter. I'll check into it in the next day or two, but let me know if you run into strange socket problems. Good luck! John On Wed, Feb 20, 2008 at 11:13 PM, jim marshall <[EMAIL PROTECTED]> wrote: > > > > 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 > ------------------------------------------------------------------------- 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