[nos-bbs] Error compiling Jnos.
Jean Létourneau \(VE2PKT\)
ve2pkt at oricom.ca
Mon Sep 4 16:24:44 EDT 2006
Hi Torsten,
Thanks for your advice, I guess my curses.h was not installed.
I was ablr to go a bit further then before but... I get new errors now:
linux:/jnos2# make
gcc -c -DUNIX -g3 -DDEVELOPMENT -DDEBUG -W -Wimplicit -Wreturn-type
-Wswitch -Wpointer-arith -Wcast-qual -Wcast-align -Waggregate-return
-Wparentheses -I/usr/include/ncurses -DLCURSES=\"-lncurses\" version.c
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\" -o jnos main.o config.o
version.o session.o jheard.o \
clients.a servers.a hfdd.a net.a internet.a net.a netrom.a \
unix.a ax25.a aprs.a dump.a ppp.a bootp.a inp3.a -lncurses
clients.a(ftpcli.o)(.text+0xe9c): In function `domget':
/jnos2/ftpcli.c:744: warning: the use of `tmpnam' is dangerous, better use
`mkstemp'
config.o(.text+0x394): In function `jnos2_inits':
/jnos2/config.c:1660: undefined reference to `init_max_ax25'
config.o(.data+0x4c): In function `axarp':
/jnos2/config.c:1133: undefined reference to `axip_input'
config.o(.data+0xb80): undefined reference to `axip_attach'
config.o(.data+0xb94): undefined reference to `axip_attach'
net.a(iface.o)(.text+0x7e3): In function `showiface':
/jnos2/iface.c:520: undefined reference to `paxipdest'
internet.a(udp.o)(.text+0x419): In function `udp_input':
/jnos2/udp.c:235: undefined reference to `axudp_frame'
internet.a(udp.o)(.text+0x43d):/jnos2/udp.c:238: undefined reference to
`axip_input'
dump.a(rspfdump.o)(.text+0x8d): In function `rspf_dump':
/jnos2/rspfdump.c:37: undefined reference to `ntohrspf'
dump.a(rspfdump.o)(.text+0x3df): In function `rspfnodedump':
/jnos2/rspfdump.c:105: undefined reference to `ntohrspflink'
dump.a(rspfdump.o)(.text+0x454):/jnos2/rspfdump.c:113: undefined reference
to `ntohrspfnode'
collect2: ld returned 1 exit status
make: *** [jnos] Error 1
linux:/jnos2#
73 de Jean,
VE2PKT
> -----Message d'origine-----
> De : nos-bbs-bounces at lists.tapr.org
> [mailto:nos-bbs-bounces at lists.tapr.org] De la part de Torsten
> Harenberg
> Envoyé : 4 septembre, 2006 14:15
> À : TAPR xNOS Mailing List
> Cc : ve2pkt at oricom.c
> Objet : Re: [nos-bbs] Error compiling Jnos.
>
> 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 ><>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.7/436 - Release
> Date: 2006-09-01
>
>
>
More information about the nos-bbs
mailing list