Hi!

     I tried to compile latest xHarbour's CVS under
Linux, but I got the following error messages:

<DUMP>
make[3]: Entering directory 
`/Datos/home/vic/svn/xharbour/source/compiler/linux/gcc'
bison -d  -oharboury.c ../../harbour.sly
../../harbour.sly:390.14-76: warning: unused value: $3
../../harbour.sly:391.14-88: warning: unused value: $3
../../harbour.sly:391.14-88: warning: unused value: $5
../../harbour.sly:2880.14-2939.16: warning: unused value: $2
gcc -I. -I../../include -I../../../../include -DHB_OS_LINUX -Wall -W 
-DSIMPLEX -c ../../harboury.c harboury.c -oharboury.o harboury.o
gcc: harboury.o: No such file or directory
gcc: cannot specify -o with -c or -S with multiple files
make[3]: *** [harboury.o] Error 1
</DUMP>

So, I tried removing all LEX/YACC references and
adding harboury.c to C_SOURCES list from
source/compiler/Makefile, but then I got the following
messages:

<DUMP>
gcc -DHB_OS_LINUX -Wall -W -ohbmain harbour.o harboury.o cmdcheck.o 
comptool.o genc.o gencc.o gencc1.o gencobj.o genhrb.o hbfunchk.o 
hbgenerr.o hbpcode.o hbusage.o hbdead.o hblbl.o hbfix.o hbident.o ppcomp.o 
hbstripl.o hbdbginf.o hbpcstat.o hbstrong.o expropta.o exproptb.o 
exproptc.o hbmain.o   -L../../../../source/pp/linux/gcc 
-L../../../../source/common/linux/gcc   -Wl,--start-group    -lpp 
-lcommon -lm -ldl -Wl,--end-group
harboury.o: In function `yyparse':
harboury.c:(.text+0x2bd): undefined reference to `yylex'
harboury.c:(.text+0x79fd): undefined reference to `hb_comp_SLX_LastBlock'
harboury.c:(.text+0x7aa4): undefined reference to `hb_comp_SLX_LastBlock'
harboury.o: In function `yyerror':
harboury.c:(.text+0xb8b5): undefined reference to `yytext'
harboury.c:(.text+0xb9ab): undefined reference to `yytext'
harboury.c:(.text+0xba99): undefined reference to `yytext'
harboury.c:(.text+0xbaed): undefined reference to `yytext'
harboury.c:(.text+0xbb16): undefined reference to `yytext'
collect2: ld returned 1 exit status
make[3]: *** [hbmain] Error 1
</DUMP>

Atte.
  Vic

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to