Problems building SVN HEAD

Jonathan Gardner <[email protected]> Tue, 15 Jun 2004 13:13:01 -0700
Newsgroups gmane.comp.lang.prothon.devel
Message-ID <[email protected]>
I am trying to compile Prothon again. I found a few problems, but only one 
solution.

I am running stock Fedora Core 1 with all the updates with apr-0.9.4 and 
apr-util-0.9.4.

(1) The modules/File directory appears empty, but references to it still 
exist in "configure" and modules/Makefile.in. Removing the references 
allows configure to function properly.

(2) making the sources yielded the following error during linking:

make[1]: Entering directory `/home/jgardner/Projects/Prothon/trunk/src'
/bin/sh ..//libtool --silent --mode=link gcc -g -O2 -Wall  -g -O2 
-pthread  /home/jgardner/src/apr-0.9.4/libapr-0.la -lrt -lm -lcrypt -lnsl  
-ldl  /home/jgardner/src/apr-util-0.9.4/libaprutil-0.la -lgdbm -ldb-4.1 
-lexpat  main.o builtins-core.o builtins-dict.o builtins-int.o 
builtins-list.o builtins-string.o builtins-tuple.o builtins-float.o 
builtins-thread.o builtins-attrdict.o builtins-protolist.o object.o 
argproc.o clist.o lock.o memory_mgr.o parser.o prmalloc.o sys.o interp.o 
parser_routines.o symbol.o getline.o console.o pr_snprintf.o -o prothon
builtins-core.o(.text+0x3b18): In function `get_sequence_item':
/home/jgardner/Projects/Prothon/trunk/src/builtins-core.c:735: undefined 
reference to `new_bytes_obj'
builtins-core.o(.text+0x3ea9):/home/jgardner/Projects/Prothon/trunk/src/builtins-core.c:637: 
undefined reference to `bytes_ptr'
builtins-core.o(.text+0x3eb4):/home/jgardner/Projects/Prothon/trunk/src/builtins-core.c:638: 
undefined reference to `bytes_len'
builtins-string.o(.text+0xb74): In function `Stringinit_':
/home/jgardner/Projects/Prothon/trunk/src/builtins-string.c:393: undefined 
reference to `bytes_len'
builtins-string.o(.text+0xb83):/home/jgardner/Projects/Prothon/trunk/src/builtins-string.c:393: 
undefined reference to `bytes_ptr'
object.o(.text+0x5e6): In function `object_store_init':
/home/jgardner/Projects/Prothon/trunk/src/object.c:249: undefined reference 
to `Bytes_dll_entry'
object.o(.text+0x5eb):/home/jgardner/Projects/Prothon/trunk/src/object.c:250: 
undefined reference to `File_dll_entry'
parser.o(.text+0x3a6b): In function `yylex':
/home/jgardner/Projects/Prothon/trunk/src/prothon.y:996: undefined reference 
to `new_bytes_obj'
collect2: ld returned 1 exit status


-- 
Jonathan Gardner
[email protected]