[nos-bbs] Beta update - fixes unexpected compile error on 64 bit systems

Bob Tenty bobtenty at gmail.com
Sat Nov 14 21:05:07 EST 2009


Compile errors jnos20hBNov and jnos2g
see below.

Ubuntu 9.10 karmic kernel 2.6.31-14 gcc-4.4
Pentium 3

Compile error jnos20hBNov beta

error telnet.c

jheard.c: In function ‘date_time_str’:
jheard.c:88: warning: format not a string literal and no format arguments
gcc -DUNIX -g3 -DDEBUG -Wall -c -o telnet.o telnet.c
telnet.c: In function ‘dotelnet’:
telnet.c:182: error: ‘cp’ undeclared (first use in this function)
telnet.c:182: error: (Each undeclared identifier is reported only once
telnet.c:182: error: for each function it appears in.)
telnet.c:183: error: ‘cp1’ undeclared (first use in this function)
telnet.c: In function ‘tnrecv’:
telnet.c:290: warning: unused variable ‘i’
make: *** [telnet.o] Error 1


jnos2g

Compile error main.c


main.c: In function ‘main’:
main.c:280: warning: implicit declaration of function ‘iostop’
main.c:284: warning: implicit declaration of function ‘getpid’
main.c:452: warning: implicit declaration of function ‘textattr’
main.c:469: warning: implicit declaration of function ‘sm_lookup’
main.c:534: warning: implicit declaration of function ‘ioinit’
main.c:551: warning: implicit declaration of function ‘sm_newsession’
main.c:551: warning: assignment makes pointer from integer without a cast
main.c:561: warning: assignment makes pointer from integer without a cast
main.c:624: warning: implicit declaration of function ‘toupper’
main.c:647: warning: implicit declaration of function ‘availmem’
main.c:671: warning: implicit declaration of function ‘farcoreleft’
main.c:671: warning: format ‘%lu’ expects type ‘long unsigned int’, but 
argument 2 has type ‘int’
main.c: In function ‘keyboard’:
main.c:701: warning: implicit declaration of function ‘kbread’
main.c: In function ‘where_outta_here’:
main.c:916: warning: implicit declaration of function ‘detach_all_asy’
main.c:930: warning: implicit declaration of function ‘fork’
main.c:932: warning: implicit declaration of function ‘execvp’
main.c: In function ‘morecmd’:
main.c:1559: warning: implicit declaration of function ‘clrscr’
main.c: In function ‘dotail’:
main.c:1649: warning: implicit declaration of function ‘filelength’
main.c:1658: warning: implicit declaration of function ‘lseek’
main.c:1659: warning: implicit declaration of function ‘read’
main.c:1661: warning: implicit declaration of function ‘close’
main.c: In function ‘domdump’:
main.c:1865: warning: implicit declaration of function ‘sbrk’
main.c: In function ‘dorepeat’:
main.c:2459: warning: implicit declaration of function ‘isdigit’
main.c:2470: warning: implicit declaration of function ‘_setcursortype’
main.c:2470: error: ‘_NOCURSOR’ undeclared (first use in this function)
main.c:2470: error: (Each undeclared identifier is reported only once
main.c:2470: error: for each function it appears in.)
main.c:2474: warning: implicit declaration of function ‘gotoxy’
main.c:2479: error: ‘_NORMALCURSOR’ undeclared (first use in this function)
make: *** [main.o] Error 1


73,

Bob VE3TOK



Maiko Langelaar (ve4klm) wrote:
> Hi again Dave,
>
> Okay, I've updated the latest beta on my website. The only difference
> between this Nov beta and the Oct one is the one file (ksubr.c). There
> should be no more errors compiling this on 64 bit system. I'm not sure
> how I missed that, my apologies. The latest beta file is as follows :
>
> http://www.langelaar.net/projects/jnos2/downloads/linux/jnos20hBNov.tar.gz 
>
>
> Ignore compiler warnings. This addresses the one error you reported :
>
>> ksubr.c: In function âpprocâ:
>> ksubr.c:35: error: lvalue required as left operand of assignment
>> make: *** [ksubr.o] Error 1
>
> 73 de Maiko Langelaar / VE4KLM





More information about the nos-bbs mailing list