[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Package fails to build on i386 with "undefined reference to"



On Tue, Jan 17, 2012 at 2:07 PM, Jakub Wilk <jwilk@debian.org> wrote:
> * Carlos Borroto <carlos.borroto@gmail.com>, 2012-01-17, 13:45:
>
>> I'm working in a tool named TopHat[1]. It builds correctly on amd64:
>>
>> https://launchpadlibrarian.net/89809979/buildlog_ubuntu-oneiric-amd64.tophat_1.4.0-1~oneiric2_BUILDING.txt.gz
>>
>> But fails on i386:
>>
>> https://launchpadlibrarian.net/89813979/buildlog_ubuntu-oneiric-i386.tophat_1.4.0-1~oneiric2_FAILEDTOBUILD.txt.gz
>>
>> The same happens in a local cowbuilder environment for Debian Sid. The
>> relevant part seems to be:
>> g++ -Wall -Wno-strict-aliasing -march=i686 -O3 -g -O2 -DNDEBUG
>> -I/usr/include/seqan -Wall -Wno-strict-aliasing -march=i686 -O3 -g -O2
>> -DNDEBUG   -Wl,-Bsymbolic-functions -L/usr/lib -o gtf_to_fasta
>> GTFToFasta.o FastaTools.o ../src/libtophat.a libgc.a -lbam -lz -lz
>> GTFToFasta.o: In function `GFaSeqGet':
>> /build/buildd/tophat-1.4.0/src/GFaSeqGet.h:66: undefined reference to
>> `GFaSeqGet::finit(char const*, long, bool)'
>> collect2: ld returned 1 exit status
>> make[3]: *** [gtf_to_fasta] Error 1
>
>
> Providing a link to the source package would be helpful.
>

This is a new package not submitted yet, I guess the best I can point you to is:
http://anonscm.debian.org/gitweb/?p=debian-med/tophat.git;a=summary

Thanks for looking into this issue. Please let me know if there is
anything else I could do to make it easier.
Carlos


Reply to: