[bt-devel] problem building sword...

Mark Lybarger bt-devel@crosswire.org
Mon, 05 Nov 2001 06:10:07 -0500


yesterday i went to updated my sword installation (needed to build 
latest BibleTime).  I grabbbed the latest sources via anonymous cvs.  I 
updated the Makefile.cfg so that: "buildshare := yes".

build error:
-----------------------------------------------------
make -C utilities just-targets
make[1]: Entering directory `/home/mark/bibletime/sword/utilities'
gcc -I../include/ -D_GNU_SOURCE -D_GNU_SOURCE -pipe -Wall -Wno-format 
-pedantic -pedantic  -fomit-frame-pointer -ggdb -O0 -DUSBINARY -m486 -o 
normcode normcode.cpp   -L../lib/  -lsword -lstdc++ -lz
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function 
`_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18): 
undefined
reference to `main'
collect2: ld returned 1 exit status
make[1]: *** [normcode] Error 1
make[1]: Leaving directory `/home/mark/bibletime/sword/utilities'
make: *** [utilities/targets] Error
--------------------------------------------------------

Anyone familiar with this?  i've tried to completely wipe my Sword 
install and reget it a few times, but am still running into this error.

Thanks!