[gpm]Problem compiling gpm 1.20.1rc1

Pierre pierre@epinetworx.com
Tue, 12 Nov 2002 03:12:56 +0100


Hi,

I try to compile gpm-1.20.1rc1 on my GNU/Linux system with gcc-3.2
there was no problem with the configure, but for the make I got this :

# gmake
touch src/.depend # to prevent unecessary warnings
make -C src dep
make[1]: Entering directory `/tmp/gpm-cvs/src'
ln: `./disable-paste.c': File exists
ln: `./gpm-root.c': File exists
ln: `./gpm.c': File exists
ln: `./gpn.c': File exists
ln: `./hltest.c': File exists
ln: `./libcurses.c': File exists
ln: `./libhigh.c': File exists
ln: `./liblow.c': File exists
ln: `./libxtra.c': File exists
ln: `./mev.c': File exists
ln: `./mice.c': File exists
ln: `./mouse-test.c': File exists
ln: `./report-lib.c': File exists
ln: `./report.c': File exists
ln: `./special.c': File exists
ln: `./synaptics.c': File exists
ln: `./tools.c': File exists
ln: `./twiddler.c': File exists
make[1]: [dep] Error 1 (ignored)
for DEPS in `echo *.c`; do \
gcc -s -I. -I /tmp/gpm-cvs/src -M -I/tmp/gpm-cvs/src -DHAVE_CONFIG_H 
-include headers/config.h -Wall -I/usr/local/BerkeleyDB.4.1/include 
$DEPS | \
/usr/local/bin/sed 's/\(\)\.o\([ :]*\)/\1.o \1.lo\2/g'  >> .depend ; 
done
make[1]: Leaving directory `/tmp/gpm-cvs/src'
gmake[1]: Entering directory `/tmp/gpm-cvs/src'
gcc -s -I/tmp/gpm-cvs/src -DHAVE_CONFIG_H -include headers/config.h 
-Wall -I/usr/local/BerkeleyDB.4.1/include -DPIC -fPIC -O3 -march=i686 
-O3 -march=i686 -c -o libcurses.lo libcurses.c
In file included from 
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/ncurses.h:86,
                  from libcurses.c:33:
/usr/include/unctrl.h:57: parse error before "unctrl"
gmake[1]: *** [libcurses.lo] Error 1
gmake[1]: Leaving directory `/tmp/gpm-cvs/src'
gmake: *** [do-all] Error 1



It would be great if you could help me with this !

Best regards,

Pierre.