Return-Path: X-Original-To: apmail-lucy-user-archive@www.apache.org Delivered-To: apmail-lucy-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9818F17D40 for ; Mon, 30 Mar 2015 11:19:42 +0000 (UTC) Received: (qmail 53383 invoked by uid 500); 30 Mar 2015 11:13:02 -0000 Delivered-To: apmail-lucy-user-archive@lucy.apache.org Received: (qmail 53354 invoked by uid 500); 30 Mar 2015 11:13:02 -0000 Mailing-List: contact user-help@lucy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@lucy.apache.org Delivered-To: mailing list user@lucy.apache.org Received: (qmail 53343 invoked by uid 99); 30 Mar 2015 11:13:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Mar 2015 11:13:02 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of prvs=1531c3d1f7=thomas@mediafiler.com designates 83.137.17.47 as permitted sender) Received: from [83.137.17.47] (HELO mediafiler.com) (83.137.17.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Mar 2015 11:12:34 +0000 Received: from WorldClient by mediafiler.com (MDaemon PRO v14.5.2) with ESMTPA id md50000811445.msg for ; Mon, 30 Mar 2015 13:11:28 +0200 X-Spam-Processed: mediafiler.com, Mon, 30 Mar 2015 13:11:28 +0200 (not processed: message from trusted or authenticated source) X-MDHelo: WorldClient X-MDArrival-Date: Mon, 30 Mar 2015 13:11:28 +0200 X-Authenticated-Sender: thomas@mediafiler.com X-Return-Path: prvs=1531c3d1f7=thomas@mediafiler.com X-Envelope-From: thomas@mediafiler.com X-MDaemon-Deliver-To: user@lucy.apache.org Received: from [81.206.23.136] by mediafiler.com via WorldClient with HTTP; Mon, 30 Mar 2015 13:11:24 +0200 Date: Mon, 30 Mar 2015 13:11:24 +0200 From: "Thomas den Braber" To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0330-1111-24-03-PART_BREAK" Message-ID: X-Mailer: WorldClient 14.5.2 X-Virus-Checked: Checked by ClamAV on apache.org Subject: [lucy-user] Compiling Lucy 4.2 Strawberry 5.20 --0330-1111-24-03-PART_BREAK Content-Type: text/plain; charset="us-ascii" 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 --0330-1111-24-03-PART_BREAK--