Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 1995 18:13:40 +0200 (MET DST)
From:      Thomas Gellekum <thomas@ghpc8.ihf.rwth-aachen.de>
To:        ports@freebsd.org
Subject:   problem building lang/icon on 2.0.5R
Message-ID:  <199507051613.SAA20269@ghpc6.ihf.rwth-aachen.de>

next in thread | raw e-mail | index | archive | help
Moin,

Could somebody please verify the build of lang/icon on a 2.0.5R
system?  I get the following error somewhere down the building
process:

===>  Extracting for icon-9.0
===>  Applying patches for icon-9.0
===>  Configuring for icon-9.0
[...]
===>  Building for icon-9.0
make Icon-iconc
cd src/common;		make
cc -O2 -m486 -pipe -DNOTHING -c doincl.c
cc -O2 -m486 -pipe -DNOTHING -c patchstr.c
cc  -o doincl doincl.o
cc  -o patchstr patchstr.o
./doincl -o ../../bin/rt.h ../h/rt.h
cp patchstr ../../bin
cd src/rtt;		make
cd ../common; make getopt.o time.o filepart.o memory.o identify.o strtbl.o rtdb.o mlocal.o literals.o alloc.o
cc -O2 -m486 -pipe -DNOTHING -c getopt.c
[...]
cc -O2 -m486 -pipe -DNOTHING -c alloc.c
make rtt
cc -O2 -m486 -pipe -DTokDotH="\"../rtt/ltoken.h\"" -c rttparse.c
[...]
cc -c -O2 -m486 -pipe -DTokDotH="\"../rtt/ltoken.h\"" ../preproc/pinit.c
cc  -o rtt rttparse.o rttmain.o rttlex.o rttsym.o rttnode.o rttout.o rttmisc.o rttdb.o rttinlin.o rttilc.o pout.o pchars.o  perr.o pmem.o  bldtok.o macro.o preproc.o evaluate.o files.o gettok.o pinit.o ../common/getopt.o ../common/time.o ../common/filepart.o ../common/memory.o ../common/identify.o ../common/strtbl.o ../common/rtdb.o ../common/mlocal.o ../common/literals.o  ../common/alloc.o
cp rtt ../../bin
strip ../../bin/rtt
cd src/runtime;		make comp_all
cd ../common; make long.o memory.o time.o save.o rswitch.o redirerr.o xwindow.o alloc.o dlrgint.o
cc -O2 -m486 -pipe -DNOTHING -c long.c
`memory.o' is up to date.
`time.o' is up to date.
cc -O2 -m486 -pipe -DNOTHING -c save.c
cc -c  rswitch.c
cc -O2 -m486 -pipe -DNOTHING -c redirerr.c
cc -O2 -m486 -pipe -DNOTHING -c xwindow.c
`alloc.o' is up to date.
cc -O2 -m486 -pipe -DNOTHING -c dlrgint.c
make db_lib
rm -f rt.db rt.a
../../bin/rtt cnv.r data.r def.r errmsg.r fconv.r fload.r fmath.r fmisc.r fmonitr.r fscan.r fstr.r fstranl.r fstruct.r fsys.r fwindow.r init.r invoke.r keyword.r lmisc.r oarith.r oasgn.r ocat.r ocomp.r omisc.r oref.r oset.r ovalue.r ralc.r rcoexpr.r rcomp.r rdebug.r rlrgint.r rlocal.r rmemmgt.r rmisc.r rstruct.r rsys.r rwinrsc.r rgfxsys.r rwinsys.r rwindow.r fxtra.r
rtt: File fmisc.r; Line 0: invalid character: 
*** Error code 1
[more Error code 1 and exit stage left]

The build runs fine on a 2.0R machine (*), fmisc.r does _not_
contain funny characters (not even in line 0) and has the correct
md5 checksum.  A short debugging session tells me that the error
comes from yyparse(); I'm, um, a bit hesitant to delve into that.

It must have compiled correctly at some point since there is a
package; those files are from May 19 if I remember correctly.

Thanks for any help.

tg

(*) Apart from _dlerror() being undefined in a later linking step.
Has probably to do with the way rtt handles CPP macros; I'll
investigate that when icon builds on my home box.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507051613.SAA20269>