libg++27 problem: can't compile ksymoops.cc
I can't compile ksymoops:
cjf@syntropy:/usr/src/linux/scripts$ gcc -I../include/linux/ -I../include/linux/ -o ksymoops -O2 ksymoops.cc -lg++
ksymoops.cc: In method `void NameList::decode(unsigned char *, long int)':
ksymoops.cc:225: warning: implicit declaration of function `int unlink(...)'
/tmp/cca034981.o: In function `NameList::decode(unsigned char *, long)':
/tmp/cca034981.o(.text+0x558): undefined reference to `_ctype'
/tmp/cca034981.o(.text+0x566): undefined reference to `_ctype'
/tmp/cca034981.o(.text+0x578): undefined reference to `_ctype'
cjf@syntropy:/usr/src/linux/scripts$ dpkg -l gcc libc5 libc5-dev libg++27
Desired=Unknown/Install/Remove/Purge
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-===============-==============-============================================
ii gcc 2.7.2-5 The GNU C compiler (ELF version).
ii libc5 5.2.18-4 The Linux C library version 5 (run-time libr
ii libc5-dev 5.2.18-4 The Linux C library version 5 (development f
ii libg++27 2.7.1-2 The GNU C++ libraries (ELF version).
BTW, I can't "cat /proc/ioports" with out getting a kernel oops in
1.3.93. Which is why I'm trying to compile ksymoops.cc.
--
Christopher J. Fearnley | Linux/Internet Consulting
cjf@netaxs.com | UNIX SIG Leader at PACS
http://www.netaxs.com/~cjf | (Philadelphia Area Computer Society)
ftp://ftp.netaxs.com/people/cjf | Design Science Revolutionary
"Dare to be Naive" -- Bucky Fuller | Explorer in Universe
Reply to: