[SuSE Linux] Undefined references running make?
I can compile imwheel [<A HREF="http://search.freshmeat.net"><A HREF="http://search.freshmeat.net</A">http://search.freshmeat.net</A</A>>] on my system with glibc1 on it. But I can't get it to compile on my systme that I changed to glibc2. I would like to know what steps I should take to determine why this isn't working and how to fix it. Any suggestions? The errors from make follow TIA, Steve The first thing I got was this: nariana:/usr/download/KDE/tools/imwheel # make gcc -O2 -s -Wall -I/usr/X11R6/include -c util.c -o util.o util.c: In function `openFifo': util.c:696: `errno' undeclared (first use this function) util.c:696: (Each undeclared identifier is reported only once util.c:696: for each function it appears in.) make: *** [util.o] Error 1 nariana:/usr/download/KDE/tools/imwheel # I put "int errno" at the top of the openFifo function and that got rid of the first error, Now I get: make[1]: Entering directory `/usr/download/KDE/tools/imwheel/gpm-1.15-beta2.imwh eel' cc gpm.c -o gpm /tmp/cca021641.o: In function `main': /tmp/cca021641.o(.text+0x3f8): undefined reference to `cmdline' /tmp/cca021641.o(.text+0x4cc): undefined reference to `_oops' /tmp/cca021641.o(.text+0x5ca): undefined reference to `_oops' /tmp/cca021641.o(.text+0xa13): undefined reference to `_oops' /tmp/cca021641.o(.text+0xade): undefined reference to `_oops' /tmp/cca021641.o(.text+0x1319): undefined reference to `_oops' /tmp/cca021641.o(.text+0x13ee): more undefined references to `_oops' follow /tmp/cca021641.o: In function `processMouse': /tmp/cca021641.o(.text+0x2bf6): undefined reference to `processSpecial' /tmp/cca021641.o: In function `processRequest': /tmp/cca021641.o(.text+0x2c91): undefined reference to `_oops' /tmp/cca021641.o(.text+0x2ea4): undefined reference to `_oops' /tmp/cca021641.o(.text+0x2f47): undefined reference to `xfer_options' /tmp/cca021641.o: In function `processConn': /tmp/cca021641.o(.text+0x2fff): undefined reference to `_oops' /tmp/cca021641.o: In function `selection_copy': /tmp/cca021641.o(.text+0x31e2): undefined reference to `_oops' /tmp/cca021641.o(.text+0x3223): undefined reference to `_oops' /tmp/cca021641.o: In function `selection_paste': /tmp/cca021641.o(.text+0x3290): undefined reference to `_oops' make[1]: *** [gpm] Error 1 make[1]: Leaving directory `/usr/download/KDE/tools/imwheel/gpm-1.15-beta2.imwhe el' - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Gentelmen? Sandy? Anybody? Help! Steven T. Hatton wrote:
I can compile imwheel [<A HREF="http://search.freshmeat.net"><A HREF="http://search.freshmeat.net</A">http://search.freshmeat.net</A</A>>] on my system with glibc1 on it. But I can't get it to compile on my systme that I changed to glibc2. I would like to know what steps I should take to determine why this isn't working and how to fix it. Any suggestions? The errors from make follow
TIA,
Steve
The first thing I got was this:
nariana:/usr/download/KDE/tools/imwheel # make gcc -O2 -s -Wall -I/usr/X11R6/include -c util.c -o util.o util.c: In function `openFifo': util.c:696: `errno' undeclared (first use this function) util.c:696: (Each undeclared identifier is reported only once util.c:696: for each function it appears in.) make: *** [util.o] Error 1 nariana:/usr/download/KDE/tools/imwheel #
I put "int errno" at the top of the openFifo function and that got rid of the first error, Now I get:
make[1]: Entering directory `/usr/download/KDE/tools/imwheel/gpm-1.15-beta2.imwh eel' cc gpm.c -o gpm /tmp/cca021641.o: In function `main': /tmp/cca021641.o(.text+0x3f8): undefined reference to `cmdline' /tmp/cca021641.o(.text+0x4cc): undefined reference to `_oops' /tmp/cca021641.o(.text+0x5ca): undefined reference to `_oops' /tmp/cca021641.o(.text+0xa13): undefined reference to `_oops' /tmp/cca021641.o(.text+0xade): undefined reference to `_oops' /tmp/cca021641.o(.text+0x1319): undefined reference to `_oops' /tmp/cca021641.o(.text+0x13ee): more undefined references to `_oops' follow /tmp/cca021641.o: In function `processMouse': /tmp/cca021641.o(.text+0x2bf6): undefined reference to `processSpecial' /tmp/cca021641.o: In function `processRequest': /tmp/cca021641.o(.text+0x2c91): undefined reference to `_oops' /tmp/cca021641.o(.text+0x2ea4): undefined reference to `_oops' /tmp/cca021641.o(.text+0x2f47): undefined reference to `xfer_options' /tmp/cca021641.o: In function `processConn': /tmp/cca021641.o(.text+0x2fff): undefined reference to `_oops' /tmp/cca021641.o: In function `selection_copy': /tmp/cca021641.o(.text+0x31e2): undefined reference to `_oops' /tmp/cca021641.o(.text+0x3223): undefined reference to `_oops' /tmp/cca021641.o: In function `selection_paste': /tmp/cca021641.o(.text+0x3290): undefined reference to `_oops' make[1]: *** [gpm] Error 1 make[1]: Leaving directory `/usr/download/KDE/tools/imwheel/gpm-1.15-beta2.imwhe el'
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (1)
-
hattons@CPKWEBSER5.ncr.disa.mil