[sword-devel] Sparc Compile Error...

Jacob sword-devel@crosswire.org
Tue, 11 Jan 2000 18:10:41 -0500 (EST)


Hello!

Thanks for that previous info.  I am trying to compile this with the gcc
version 2.95.1 19990816 (release).

I get the following error now:

make[2]: Entering directory `/home/jdaniel/downloads/sword-1.4.6/src/mgr'
/opt/exp/gnu/bin/g++ -I../../include/ -D_GNU_SOURCE -DNDEBUG -c -pipe
-Wall -Wno-format  -fomit-frame-pointer -s -O3 -DBIGENDIAN -o swmgr.o
swmgr.cpp
In file included from /usr/include/dirent.h:16,
                 from swmgr.cpp:23:
/usr/include/sys/dirent.h:36: syntax error before `;'
/usr/include/sys/dirent.h:37: syntax error before `;'
In file included from /usr/include/fcntl.h:19,
                 from swmgr.cpp:26:
/usr/include/sys/fcntl.h:156: syntax error before `;'
/usr/include/sys/fcntl.h:157: syntax error before `;'
make[2]: *** [swmgr.o] Error 1


BTW, this is not critical but I thought that it would be helpful to make
sure that sword compiles on any Solaris platform ( I know Troy compiled on
a similar platform successfully ).

God Bless,
Jacob.



On Mon, 3 Jan 2000, Troy A. Griffitts wrote:

> Jacob,
> 	you may try editing Makefile.cfg and changing CC from gcc to g++
> 
> Also, this probably means that you have an older gnu compiler on this
> box and may need to upgrade.  Sorry for the inconvenience.
> 
> 	-Troy.
> 
> 
> > BTW, this machine is running Solaris.
> > 
> > On Mon, 3 Jan 2000, Jacob wrote:
> > 
> > >
> > >
> > > Hi,
> > >
> > > I am running into an error compiling sword-1.4.6 on a Sun Ultra 60
> > > platform.
> > >
> > > The following is the error:
> > >
> > > make[2]: Entering directory `/home/jdaniel/downloads/sword-1.4.6/src/mgr'
> > > gcc -I../../include/ -D_GNU_SOURCE -DNDEBUG -c -pipe -Wall -Wno-format
> > > -fomit-frame-pointer -s -O3 -DBIGENDIAN -o swconfig.o swconfig.cpp
> > > /usr/ccs/bin/as: "<stdin>", line 3107: error: can't compute value of an
> > > expression involving an external symbol
> > > make[2]: *** [swconfig.o] Error 1
> > >
> > >
> > > Thanks for all your work and help.
> > >
> > > Cheers,
> > > Jacob.
> > >
>