🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #9266

Re: Compilation Problems: nn-tk (fwd)

#9266
From: pking
Date: Wed, 18 Aug 1999 00:00
70 lines
3011 bytes

---------- Forwarded message ----------
Date: Wed, 18 Aug 1999 05:53:40 -0400 (EDT)
From: "pking@idirect.com" <pking@idirect.com>
To: Toivo Pedaste <toivo@ucs.uwa.edu.au>
Subject: Re: Compilation Problems: nn-tk

On Wed, 18 Aug 1999, Toivo Pedaste wrote:

: Date: Wed, 18 Aug 1999 13:41:45 +0800
: From: Toivo Pedaste <toivo@ucs.uwa.edu.au>
: To: pking@idirect.com
: Newsgroups: news.software.nn
: Subject: Re: Compilation Problems: nn-tk
: 
: Does it compile with the new libraries

Version 15.x goes so far. I just tried version 16.4 (the latest?), to
get you some fresh error messages. The compilation died after
attempting to compile the first source file, nn.c (having compiled
libuu.a):

gcc: cannot specify -o with -c or -S and multiple compilations

The command line was parsed very strngely:

gcc  -Iconf   -O  -I/usr/include/ -I/usr/local/src/tk4.2/ \
     1 / -I/usr/local/src/tcl7.6/ 1 /    -c nn.c -o nn.o

Note the stray "1" and "/", which both occur twice
So, I corrected ymakefile so that CFLAGS is set to:

CFLAGS = -Iconf   -O  -I/usr/include/ -I/usr/local/src/tk4.2/ \
     -I/usr/local/src/tcl7.6/

The error message now is:

make[1]: Entering directory `/usr/local/src/nn-tk.16.4'
gcc  -Iconf   -O  -I/usr/include/ -I/usr/local/src/tk4.2/ -I/usr/local/src/tcl7.6/    -c nn.c -o nn.o
In file included from config.h:444,
                 from nn.c:7:
global.h:187: macro `strchr' used without args
make[1]: *** [nn.o] Error 1
make[1]: Leaving directory `/usr/local/src/nn-tk.16.4'
make: *** [all] Error 2

=====================
In version 15.0, the compilation goes as far as the creation of
libuu.a, but crashes again in an attempt to compile nn.c:

gcc  -Iconf   -g -O  -I/usr/include       -c nn.c -o nn.o
In file included from config.h:433,
                 from nn.c:7:
global.h:186: macro `strchr' used without args
make[1]: *** [nn.o] Error 1
make[1]: Leaving directory `/usr/local/src/nn'
make: *** [all] Error 2

: 
: -- 
:  Toivo Pedaste                        Email:  toivo@ucs.uwa.edu.au
:  University Computing Services,       Phone:  +61 8 9 380 2605
:  University of Western Australia      Fax:    +61 8 9 380 1109
: "The time has come", the Walrus said, "to talk of many things"...
: 



Technical Details
Message-ID: <Pine.LNX.4.10.9908180555470.1455-100000@snoopy.schoreder.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.4.10.9908180555470.1455-100000@snoopy.schoreder.org>
Subject: Re: Compilation Problems: nn-tk (fwd)
Date: Wed, 18 Aug 1999 00:00:00 +0000
From: "pking@idirect.com" <pking@idirect.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
X-Deja-AN: 514211094
X-Sender: pking@snoopy.schoreder.org
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Trace: 18 Aug 1999 09:50:34 -0400, ts7-4t-31.idirect.com
Organization: via Internet Direct
MIME-Version: 1.0
Reply-To: pking@idirect.com
Newsgroups: news.software.nn