no it looks fine, /lib doesnt need to be in ld.so.conf because /lib is the default path. Just to double check, after you modified the makefile and commented out CFLAGS += -DNDEBUG, did you make sure to recompile input.c, or did you just try relinking?
On Saturday 29 March 2003 11:37 am, TheP|nkPanthe|2 wrote: > It seems my libc may be b0rked, I've been having a lot of strange > problems since I upgraded some stuff a while back (can't remember all of > it, but it included glibc and qt (and been having mad qt problems as > well)). > > [EMAIL PROTECTED]:~/xmame-0.66.2$ nm libc-2.3.1.so | grep assert > nm: libc-2.3.1.so: No such file or directory > > [EMAIL PROTECTED]:~/xmame-0.66.2$ nm /lib/libc-2.3.1.so | grep assert > 00022ab0 t __GI___assert_fail > 00022bf0 t __GI___assert_perror_fail > 00022d60 T __assert > 00022ab0 T __assert_fail > 00022bf0 T __assert_perror_fail > > and /lib wasn't in /etc/ld.so.conf anymore for some reason, so I put > that in and rand ldconfig, then tried again, and that didn't help any, > perhaps I should just say screw it, upgrade to slackware 9.0, and pray > to tux that that fixes it ;), but I was hoping it wouldn't come to that. > > On Sat, 2003-03-29 at 13:28, XulChris wrote: > > This has got to be some slackware/glibc 2.3.1 bug because Im running > > glibc 2.3.1 on redhat 9beta and it compiles just fine. assert is part of > > glibc isn't it?? You could just remove all references to assert in > > input.c as a work-around. Try running nm on your libc files and see if > > assert is defined in them. > > > > $ nm libc-2.3.1.so | grep assert > > 00021920 T __assert > > > > You should get something like that saying that assert is defined in libc > > > > On Saturday 29 March 2003 11:00 am, TheP|nkPanthe|2 wrote: > > > Thanks for the suggestion, but it didn't help, everything went the same > > > way. > > > > > > On Fri, 2003-03-28 at 12:25, XulChris wrote: > > > > Try commenting out the line > > > > > > > > CFLAGS += -DNDEBUG > > > > > > > > in your makefile.unix and see if that fixes the problem for you. > > > > > > > > On Friday 28 March 2003 09:16 am, TheP|nkPanthe|2 wrote: > > > > > Perhaps a more generic Subject will attract more attention as I > > > > > didn't get one response in a week, maybe it's just that noone > > > > > knows. *shrugs*, please direct flameage on the subject to /dev/null > > > > > ;) > > > > > > > > > > I'm new to the list, so I don't know the waiting time for a repost, > > > > > so if a week is too soon, i apologize. > > > > > > > > > > Hi, I'm having a problem building Xmame, this is the error, I've > > > > > passed the -i flag to make to see how much was left to do after > > > > > this, and sadly this is the last step before it's finished. > > > > > > > > > > Linking xmame.x11 ... > > > > > xmame.obj/input.o: In function `code_init': > > > > > xmame.obj/input.o(.text+0xd): undefined reference to `assert' > > > > > xmame.obj/input.o(.text+0x96): undefined reference to `assert' > > > > > xmame.obj/input.o: In function `internal_code_pressed': > > > > > xmame.obj/input.o(.text+0x1f2): undefined reference to `assert' > > > > > xmame.obj/input.o(.text+0x23f): undefined reference to `assert' > > > > > xmame.obj/input.o(.text+0x2ce): undefined reference to `assert' > > > > > xmame.obj/input.o(.text+0x3ba): more undefined references to > > > > > `assert' follow > > > > > collect2: ld returned 1 exit status > > > > > make: *** [xmame.x11] Error 1 > > > > > > > > > > Here's the info, slackware 8.1, linux 2.4.20, gcc 2.95.3, glibc > > > > > 2.3.1, xmame v0.66.2, also does it on 0.66.1. > > > > > > > > > > Any and all help/suggestions are appreciated, thanks :) > > > > > > > > _______________________________________________ > > > > Xmame mailing list > > > > [EMAIL PROTECTED] > > > > http://toybox.twisted.org.uk/mailman/listinfo/xmame > > > > _______________________________________________ > > Xmame mailing list > > [EMAIL PROTECTED] > > http://toybox.twisted.org.uk/mailman/listinfo/xmame _______________________________________________ Xmame mailing list [EMAIL PROTECTED] http://toybox.twisted.org.uk/mailman/listinfo/xmame