Skip to content

compile error #9

@GuangchuangYu

Description

@GuangchuangYu

I compile the getErrorProfile.c and it throwed the following error:

gcc -I../ThirdParty/kent/inc -I../inc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DMACHTYPE_x86_64 -lm getErrorProfile.o ../ThirdParty/kent/lib/common.o ../ThirdParty/kent/lib/dlist.o ../ThirdParty/kent/lib/bPlusTree.o ../ThirdParty/kent/lib/dystring.o ../ThirdParty/kent/lib/linefile.o ../ThirdParty/kent/lib/nib.o ../ThirdParty/kent/lib/sqlNum.o ../ThirdParty/kent/lib/base64.o ../ThirdParty/kent/lib/dnaLoad.o ../ThirdParty/kent/lib/errabort.o ../ThirdParty/kent/lib/hash.o ../ThirdParty/kent/lib/localmem.o ../ThirdParty/kent/lib/obscure.o ../ThirdParty/kent/lib/twoBit.o ../ThirdParty/kent/lib/bits.o ../ThirdParty/kent/lib/dnaseq.o ../ThirdParty/kent/lib/fa.o ../ThirdParty/kent/lib/https.o ../ThirdParty/kent/lib/mime.o ../ThirdParty/kent/lib/options.o ../ThirdParty/kent/lib/udc.o ../ThirdParty/kent/lib/cheapcgi.o ../ThirdParty/kent/lib/dnautil.o ../lib/fastq.o ../ThirdParty/kent/lib/internet.o ../ThirdParty/kent/lib/net.o ../ThirdParty/kent/lib/pipeline.o ../ThirdParty/kent/lib/verbose.o ../ThirdParty/kent/lib/memalloc.o ../ThirdParty/kent/lib/osunix.o ../ThirdParty/kent/lib/portimpl.o ../ThirdParty/kent/lib/htmshell.o ../ThirdParty/kent/lib/filePath.o ../ThirdParty/kent/lib/log.o ../ThirdParty/kent/lib/servpws.o ../ThirdParty/kent/lib/servmsII.o ../ThirdParty/kent/lib/servCrunx.o ../ThirdParty/kent/lib/servBrcMcw.o ../ThirdParty/kent/lib/wildcmp.o ../ThirdParty/kent/lib/servcis.o ../ThirdParty/kent/lib/intExp.o ../ThirdParty/kent/lib/servcl.o ../ThirdParty/kent/lib/kxTok.o -o getErrorProfile
../lib/fastq.o: In function `doubleToPhred':
fastq.c:(.text+0x642): undefined reference to `log10'
../lib/fastq.o: In function `phredToDouble':
fastq.c:(.text+0x6d5): undefined reference to `pow'
collect2: error: ld returned 1 exit status
make: *** [getErrorProfile] Error 1

I have /usr/include/math.h header file in my system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions