lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas den Braber" <tho...@mediafiler.com>
Subject [lucy-user] Compiling Lucy 4.2 Strawberry 5.20
Date Mon, 30 Mar 2015 11:11:24 GMT
Hi,

I am compiling version 4.2 on Strawberry 5.20 64-bit on Windows 7.

I first have successfully compiled Clownfish and the Clownfish ::CFC 
(version 4.2).

When Compiling Lucy, first it starts to successful compile some modules but 
after a while there are these undefined references:

gcc -c -I"core" -I"xs" -I"modules\analysis\snowstem\source\include" 
-I"modules\u
nicode\ucd" -I"modules\unicode\utf8proc" -I"." -I"autogen\include" 
-I"C:\Mediafi
ler\strawberry\perl\site\lib\Clownfish\_include" -s -O2 -DWIN32 -DWIN64 
-DCONSER
VATIVE  -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS 
-DUS
E_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -std=gnu99 
-D_GNU_SOURCE -D
 CFP_LUCY -D CFP_TESTLUCY -s -O2 -I"C:\Mediafiler\strawberry\perl\lib\CORE" 
-I"C
:\Mediafiler\strawberry\c\include" -o "autogen\source\testlucy_parcel.o" 
"autoge
n\source\testlucy_parcel.c"
gcc -c -I"core" -I"xs" -I"modules\analysis\snowstem\source\include" 
-I"modules\u
nicode\ucd" -I"modules\unicode\utf8proc" -I"." -I"autogen\include" 
-I"C:\Mediafi
ler\strawberry\perl\site\lib\Clownfish\_include" -s -O2 -DWIN32 -DWIN64 
-DCONSER
VATIVE  -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS 
-DUS
E_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 
"-DVERSION=\"0.4.2\"
" "-DXS_VERSION=\"0.4.2\"" -I"C:\Mediafiler\strawberry\perl\lib\CORE" 
-I"C:\Medi
afiler\strawberry\c\include" -o "lib\Lucy.o" "lib\Lucy.c"
Generating script 'lib\Lucy.lds'
g++ -o "blib\arch\auto\Lucy\Lucy.xs.dll" -Wl,--image-base,0x620d0000 -mdll 
-s -L
"C:\Mediafiler\strawberry\perl\lib\CORE" -L"C:\Mediafiler\strawberry\c\lib" 
"lib
\Lucy.lds" "lib\Lucy.def"
lib\Lucy.o:Lucy.c:(.text+0xc6): undefined reference to 
`cfish_XSBind_allot_param
s'
lib\Lucy.o:Lucy.c:(.text+0xdd): undefined reference to 
`cfish_XSBind_new_blank_o
bj'
lib\Lucy.o:Lucy.c:(.text+0x108): undefined reference to 
`CFISH_Obj_To_Host_OFFSE
T'
lib\Lucy.o:Lucy.c:(.text+0x11d): undefined reference to 
`CFISH_Obj_Dec_RefCount_
OFFSET'
lib\Lucy.o:Lucy.c:(.text+0x156): undefined reference to 
`cfish_Err_get_error'
lib\Lucy.o:Lucy.c:(.text+0x16b): undefined reference to 
`CFISH_Obj_Inc_RefCount_
OFFSET'
lib\Lucy.o:Lucy.c:(.text+0x18a): undefined reference to `cfish_Err_rethrow'
lib\Lucy.o:Lucy.c:(.text+0x1b6): undefined reference to `CFISH_ERR'
lib\Lucy.o:Lucy.c:(.text+0x1db): undefined reference to `cfish_Err_throw_at'
lib\Lucy.o:Lucy.c:(.text+0x279): undefined reference to `CFISH_ERR'
lib\Lucy.o:Lucy.c:(.text+0x29e): undefined reference to `cfish_Err_throw_at'
lib\Lucy.o:Lucy.c:(.text+0x2c5): undefined reference to 
`cfish_XSBind_sv_to_cfis
h_obj'
lib\Lucy.o:Lucy.c:(.text+0x379): undefined reference to `CFISH_ERR'
lib\Lucy.o:Lucy.c:(.text+0x39e): undefined reference to `cfish_Err_throw_at'
lib\Lucy.o:Lucy.c:(.text+0x3c5): undefined reference to 
`cfish_XSBind_sv_to_cfis
h_obj'

Then there is a long list of these messages that ends with:

lib\Lucy.o:Lucy.c:(.text+0x992bc): undefined reference to 
`CFISH_Obj_Dec_RefCoun
t_OFFSET'
lib\Lucy.o:Lucy.c:(.text+0x99343): undefined reference to `CFISH_ERR'
lib\Lucy.o:Lucy.c:(.text+0x99373): undefined reference to 
`cfish_Err_throw_at'
lib\Lucy.o:Lucy.c:(.text+0x9937a): undefined reference to `LUCY_FOLDER'
lib\Lucy.o:Lucy.c:(.text+0x99393): undefined reference to 
`cfish_XSBind_sv_to_cf
ish_obj'
lib\Lucy.o:Lucy.c:(.text+0x99a77): undefined reference to 
`cfish_Lucy_bootstrap'
C:/Mediafiler/strawberry/c/bin/../lib/gcc/x86_64-w64-mingw32/4.8.3/../../../../x
86_64-w64-mingw32/bin/ld.exe: lib\Lucy.o: bad reloc address 0x0 in section 
`.pda
ta'
collect2.exe: error: ld returned 1 exit status

Can you help me with this? I have no idea what I an doing wrong here.
I have successfully compiled a lot of other modules, so the Perl environment 
looks right.

--
Thomas den Braber
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message