[nos-bbs] Error compiling Jnos.

Torsten Harenberg harenberg at physik.uni-wuppertal.de
Mon Sep 4 14:14:52 EDT 2006


Hi Jean,

On Mon, 4 Sep 2006, Jean Létourneau (VE2PKT) wrote:

> linux:/jnos2# make
> gcc -DUNIX -g3   -DDEVELOPMENT -DDEBUG -W -Wimplicit -Wreturn-type -Wswitch
> -Wpointer-arith -Wcast-qual -Wcast-align -Waggregate-return -Wparentheses
> -I/usr/include/ncurses -DLCURSES=\"-lncurses\"   -c -o ttydriv.o ttydriv.c
> ttydriv.c:10:20: curses.h: No such file or directory
> make: *** [ttydriv.o] Error 1

first locate curses.h on your machine. Should be easily done with a

locate curses.h

If it is not installed, try to install a package with may be 
called ncurses-devel or something similar.

Next, adjust the location in JNOS's makefile in this line

ICURSES = -I/usr/include/ncurses

That should do the trick. Hope this helps...

Cheers,

  Torsten DL1THM

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<>                                                              <>
<> Torsten Harenberg         harenberg at physik.uni-wuppertal.de  <>
<> Bergische Universitaet                                       <>
<> FB C - Physik             Tel.: +49 (0)202 439-3521          <>
<> Gaussstr. 20              Fax : +49 (0)202 439-2811          <>
<> 42097 Wuppertal                                              <>
<>                                                              <>
<><><><><><><>< Of course it runs NetBSD http://www.netbsd.org ><>


More information about the nos-bbs mailing list