#24 nedit 5.1.1 doesn't build

release
closed-fixed
nobody
None
5
2001-04-05
2001-04-04
Anonymous
No

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
following message:

cc -O -I/usr/lesstif/include -I/usr/X11R6/include
-DUSE_DIRENT -DUSE_LPR_PRINT_CMD -c -o preferences.o
preferences.c
preferences.c: In function `RestoreNEditPrefs':
preferences.c:817: `stderr' undeclared (first use in
this function)
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
this function)
make[1]: *** [preferences.o] Error 1
make[1]: Leaving directory
`/usr/src/nedit-5.1.1/source'
make: *** [linux] Error 2

The bug was quite simple to solve: I put the
following line into preferences.c

#include <stdio.h>

After this, I was able to compile it.

Bye

Oliver

Discussion

  • Alexander Mai

    Alexander Mai - 2001-04-04

    Logged In: YES
    user_id=15180

    Fixed in current CVS version

     
  • Scott Tringali

    Scott Tringali - 2001-04-05
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks