AOLserver Chat Logs

2008/03/28

IRC [02:09] *** partymola joined the chat.
IRC [10:55] *** DGMurdockIII joined the chat.
IRC [12:35] *** holycow joined the chat.
IRC [12:35] *** dekoy joined the chat.
IRC [12:35] *** DGMurdockIII parted the chat.
IRC [12:57] <dekoy> lshi im trying to compile aolserver-HEAD-20071203 i keep hitting the multiple definitions of `_init' error the CPPFLAGS="-nostartfiles" doesn't work, any thoughts ? IM using RHEL5 64bit with tcl8.4.18 compiled with --enable-threads
IRC [13:03] <partymola> dekoy: i use to copy the offending line
IRC [13:03] <partymola> adding the -nostartfiles manually
IRC [13:03] <partymola> then execute it manually
IRC [13:03] <partymola> the file gets compiled
IRC [13:03] <partymola> and then do make again
IRC [13:03] <partymola> to get the compilation continuing
IRC [13:05] <dekoy> oki let me try that thanks, was thinking because the -nostartfiles is already defined in LDLIB in configure should handle it but what the heck :) thanks again
IRC [13:05] <partymola> i do it manually
IRC [13:05] <partymola> test it out :)
IRC [13:05] <partymola> bot, ns_db?
IRC [13:06] <partymola> bot, ns_db is aolserver's standard database access API.
IRC [13:06] <partymola> bot, ns_db?
IRC [13:06] <partymola> :O it learns xD
IRC [13:06] <partymola> bot, ns_db is aolserver's standard database access API. There's more info about it at: http://panoptic.com/wiki/aolserver/Ns_db
IRC [13:07] <dekoy> hehe tried it cut and paste still same error, im hitting it in nsthread
IRC [13:07] <partymola> bot, change it
IRC [13:07] <dekoy> nsthread_libinit.o: In function `_init':
IRC [13:07] <dekoy> nslibinit.c:(.text+0x0): multiple definition of `_init'
IRC [13:07] <dekoy> /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../lib64/crti.o:(.init+0x0): first defined here
IRC [13:07] <dekoy> collect2: ld returned 1 exit status
IRC [13:07] <dekoy> oops
IRC [13:07] <dekoy> sorry
IRC [13:07] <partymola> dekoy: cd nsthread
IRC [13:07] <partymola> copy the line that fails
IRC [13:07] <dekoy> yep already there
IRC [13:07] <partymola> and add -nostartfiles after the "gcc"
IRC [13:07] <partymola> then run it
IRC [13:08] <partymola> and see what it says
IRC [13:10] <dekoy> hrmm it moved :) hehe same error on libnsd
IRC [13:10] <dekoy> thanks ill add it again
IRC [13:10] <partymola> yes
IRC [13:10] <partymola> and then you're done
IRC [13:10] <partymola> i have this same problem in FreeBSD :/
IRC [13:10] <partymola> i thought it would work for Linux people... lol
IRC [13:10] <dekoy> hehe
IRC [13:11] <partymola> but now it's clear that it's broken for everyone
IRC [13:11] <dekoy> ahh look at that it's done
IRC [13:11] <dekoy> :)
IRC [13:11] <dekoy> thank you very much
IRC [13:12] <partymola> ok
IRC [13:12] <partymola> you're welcome
IRC [13:13] <dekoy> hrmm chaning the configure file
IRC [13:13] <dekoy> LDLIB="$TCL_SHLIB_LD -nostartfiles"
IRC [13:13] <dekoy> case "$LDLIB" in
IRC [13:13] <dekoy> *gcc*)
IRC [13:13] <dekoy> LDLIB="$LDLIB -nostartfiles"
IRC [13:13] <dekoy> ;;
IRC [13:13] <dekoy> esac
IRC [13:13] <dekoy> LDLIB="$TCL_SHLIB_LD" to LDLIB="$TCL_SHLIB_LD -nostartfiles"
IRC [13:14] <partymola> both?
IRC [13:14] <dekoy> mayb the case can go away
IRC [13:14] <partymola> won't that add two -nostartfiles? O_o
IRC [13:14] <dekoy> let me remove that
IRC [13:14] <partymola> yes, maybe
IRC [13:14] <partymola> but you know
IRC [13:14] <partymola> there must be a reason for it to be there...
IRC [13:14] <partymola> undocumented one, it seems, though lol
IRC [13:15] <dekoy> yep removing the case and just doing -nostartfiles in LDLIB fixes it
IRC [13:16] <dekoy> thanks again hehe now the fun part making sure all our 4.0.10/tcl8.4.9 code works with 4.5/tcl8.4.18
IRC [13:16] <dekoy> hehe
IRC [13:16] <partymola> :D
IRC [13:17] <partymola> you recompiled after a complete clean=
IRC [13:17] <partymola> ?
IRC [13:17] <dekoy> ype
IRC [13:17] <dekoy> make clean make distclean
IRC [13:17] <partymola> ok
IRC [14:06] <dekoy> it's funny searching for ns_oracle and 11g in google show's up you and me talking in a chat log last year
IRC [14:06] <dekoy> hehehe
IRC [15:30] <partymola> lol
IRC [15:30] <partymola> so many people around here, and you speak with the same retard 2 years in a row LOL!!
IRC [15:33] <dekoy> wahahaha
IRC [16:26] *** partymola parted the chat.
IRC [16:31] *** partymola joined the chat.
IRC [17:22] *** tekbasse parted the chat.
IRC [17:46] *** dekoy parted the chat.
IRC [21:50] *** partymola parted the chat.
IRC [22:38] *** partymola joined the chat.