TIP: Click on subject to list as thread! ANSI
echo: artware
to: andrew clarke
from: Phil Simpson
date: 2007-03-05 14:52:46
subject: Compiling timEd

Hello andrew.

06 Mar 07 00:56, you wrote to Martin Foster:

 ac> Wed 2007-02-21 14:17, Martin Foster (2:252/333) wrote to All:

 MF>> It's a long time since I compiled timEd and thought I'd give it a
 MF>> whirl. I've discovered that it won't compile with gcc 4.1.1 but
 MF>> it will compile with gcc 3.3.6

 MF>> Anybody any ideas why it won't compile with gcc 4.1.1 ?

 ac> No idea.  What happens?

Here's what happened to me. Any ideas?

****
phil{at}phil-desktop:~/timEd$ make
gcc -c -pipe -W -Wall -g -I../xmsgapi/src -funsigned-char -DUNIX areatags.c
In file included from includes.h:26,
                 from areatags.c:1:
scrnutil.h:5:21: error: ncurses.h: No such file or directory
In file included from includes.h:26,
                 from areatags.c:1:
scrnutil.h:33: error: syntax error before ‘chtype’
scrnutil.h:33: warning: no semicolon at end of struct or union
scrnutil.h:36: error: syntax error before ‘}’ token
scrnutil.h:37: warning: type defaults to ‘int’ in declaration of ‘BOX’
scrnutil.h:37: warning: data definition has no type or storage class
scrnutil.h:39: error: syntax error before ‘*’ token
scrnutil.h:40: warning: type defaults to ‘int’ in declaration of ‘initbox’
scrnutil.h:40: warning: data definition has no type or storage class
scrnutil.h:41: error: syntax error before ‘*’ token
scrnutil.h:42: error: syntax error before ‘*’ token
scrnutil.h:44: error: syntax error before ‘*’ token
scrnutil.h:48: error: syntax error before ‘chtype’
scrnutil.h:49: error: syntax error before ‘chtype’
scrnutil.h:50: error: syntax error before ‘*’ token
areatags.c: In function ‘SaveTags’:
areatags.c:10: error: ‘savebox’ undeclared (first use in this function)
areatags.c:10: error: (Each undeclared identifier is reported only once
areatags.c:10: error: for each function it appears in.)
areatags.c:24: warning: implicit declaration of function ‘getmaxy’
areatags.c:24: error: ‘stdscr’ undeclared (first use in this function)
areatags.c:24: warning: implicit declaration of function ‘getmaxx’
make: *** [areatags.o] Error 1



Phil

--- GoldED+/LNX 1.1.5
* Origin: ----> Philsters <---- (1:229/3000)
SEEN-BY: 10/1 3 14/300 400 34/999 106/1 120/228 123/500 134/10 140/1 222/2
SEEN-BY: 229/4000 237/53 249/303 261/1 38 100 1397 1404 1405 1406 1418
SEEN-BY: 266/1413 280/1027 320/119 393/68 633/104 260 262 267 270 285 712/848
SEEN-BY: 751/321 800/432 2222/700 2320/111 2800/18 2905/0
@PATH: 229/3000 123/500 261/38 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.