I got the sources for nedit 5.1.1 and tryed to build on
my local machine (Linux linux 2.2.18 #7 SMP Sun Apr 1
23:18:16 CEST 2001 i686 unknown).
Unfortunately preferences.c didn't compile with the
cc -O -I/usr/lesstif/include -I/usr/X11R6/include
-DUSE_DIRENT -DUSE_LPR_PRINT_CMD -c -o preferences.o
preferences.c: In function `RestoreNEditPrefs':
preferences.c:817: `stderr' undeclared (first use in
preferences.c:817: (Each undeclared identifier is
reported only once
preferences.c:817: for each function it appears in.)
preferences.c: In function `ParseError':
preferences.c:4075: `stderr' undeclared (first use in
make: *** [preferences.o] Error 1
make: Leaving directory
make: *** [linux] Error 2
The bug was quite simple to solve: I put the
following line into preferences.c
After this, I was able to compile it.
Log in to post a comment.