Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CS Student
    Member
    • Apr 2011
    • 20

    #1

    Error in Compiling BFAST

    Hi,

    I am trying to compile the source code of BFAST and I am getting the below error message when trying to "make". Appreciate any advice on the error message.

    * I use "./configure" before "make".

    Thanks
    =====================
    make all-recursive
    make[1]: Entering directory `/hadoop/bfast-files’
    Making all in bfast
    make[2]: Entering directory `/hadoop/bfast-files’
    gcc -Wall -g -O2 -pthread -o bfast AlignedEnd.o AlignedEntry.o AlignedRead.o AlignedReadConvert.o BError.o BLib.o RGBinary.o RGIndex.o RGIndexAccuracy.o RGIndexExons.o RGIndexLayout.o RGMatch.o RGMatches.o RGRanges.o RGReads.o ScoringMatrix.o Align.o AlignNTSpace.o AlignColorSpace.o AlignMatrix.o MatchesReadInputFiles.o RunMatch.o RunLocalAlign.o RunPostProcess.o RunAlign.o BfastFasta2BRG.o BfastIndex.o BfastMatch.o BfastLocalAlign.o BfastPostProcess.o BfastBAFConvert.o BfastHeader.o BfastBMFConvert.o BfastBRG2Fasta.o BfastAlign.o aflib.o Main.o -lm -lbz2 -lz
    AlignedEnd.o: file not recognized: File format not recognized
    collect2: ld returned 1 exit status
    make[2]: *** [bfast] Error 1
    make[2]: Leaving directory `/hadoop/bfast-files’
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/hadoop/bfast-files’
    make: *** [all] Error 2
  • nilshomer
    Nils Homer
    • Nov 2008
    • 1283

    #2
    Could you try"./configure && make clean && make" and post all output?

    Comment

    • CS Student
      Member
      • Apr 2011
      • 20

      #3
      It works fine now using "make clean" before "make".

      Thanks a lot Nils!

      Comment

      • peas1127
        Junior Member
        • Mar 2012
        • 4

        #4
        I am having similar problem but solution didn't work for me here is what i did


        sh autogen.sh
        ./configure
        then make

        i get this error:


        make all-recursive
        make[1]: Entering directory `/directory/BFAST/bfast-0.7.0a'
        Making all in bfast
        make[2]: Entering directory `/directory/BFAST/bfast-0.7.0a/bfast'
        depbase=`echo BLib.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -pthread -MT BLib.o -MD -MP -MF "$depbase.Tpo" -c -o BLib.o BLib.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
        BLib.c: In function 'OpenTmpFile':
        BLib.c:480: error: 'ZLIB_VERNUM' undeclared (first use in this function)
        BLib.c:480: error: (Each undeclared identifier is reported only once
        BLib.c:480: error: for each function it appears in.)
        BLib.c: In function 'OpenTmpGZFile':
        BLib.c:553: error: 'ZLIB_VERNUM' undeclared (first use in this function)
        make[2]: *** [BLib.o] Error 1
        make[2]: Leaving directory `/directory/BFAST/bfast-0.7.0a/bfast'
        make[1]: *** [all-recursive] Error 1
        make[1]: Leaving directory `/directory/BFAST/bfast-0.7.0a'
        make: *** [all] Error 2

        i tried make clean but it still gave me this:

        make all-recursive
        make[1]: Entering directory `/directory/BFAST/bfast-0.7.0a'
        Making all in bfast
        make[2]: Entering directory `/directory/BFAST/bfast-0.7.0a/bfast'
        depbase=`echo AlignedEnd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -pthread -MT AlignedEnd.o -MD -MP -MF "$depbase.Tpo" -c -o AlignedEnd.o AlignedEnd.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
        depbase=`echo AlignedEntry.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -pthread -MT AlignedEntry.o -MD -MP -MF "$depbase.Tpo" -c -o AlignedEntry.o AlignedEntry.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
        depbase=`echo AlignedRead.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -pthread -MT AlignedRead.o -MD -MP -MF "$depbase.Tpo" -c -o AlignedRead.o AlignedRead.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
        depbase=`echo AlignedReadConvert.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -pthread -MT AlignedReadConvert.o -MD -MP -MF "$depbase.Tpo" -c -o AlignedReadConvert.o AlignedReadConvert.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
        depbase=`echo BError.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -pthread -MT BError.o -MD -MP -MF "$depbase.Tpo" -c -o BError.o BError.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
        depbase=`echo BLib.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -pthread -MT BLib.o -MD -MP -MF "$depbase.Tpo" -c -o BLib.o BLib.c; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
        BLib.c: In function 'OpenTmpFile':
        BLib.c:480: error: 'ZLIB_VERNUM' undeclared (first use in this function)
        BLib.c:480: error: (Each undeclared identifier is reported only once
        BLib.c:480: error: for each function it appears in.)
        BLib.c: In function 'OpenTmpGZFile':
        BLib.c:553: error: 'ZLIB_VERNUM' undeclared (first use in this function)
        make[2]: *** [BLib.o] Error 1
        make[2]: Leaving directory `/directory/BFAST/bfast-0.7.0a/bfast'
        make[1]: *** [all-recursive] Error 1
        make[1]: Leaving directory `/directory/BFAST/bfast-0.7.0a'
        make: *** [all] Error 2


        can someone please help me.?

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
          by SEQadmin2



          Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

          Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
          ...
          10-14-2026, 09:55 AM
        • SEQadmin2
          New Genomics Technologies Take Aim at Long-Standing Limits
          by SEQadmin2


          Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

          We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
          ...
          09-28-2026, 10:25 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, Yesterday, 11:13 AM
        0 responses
        17 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, Yesterday, 10:48 AM
        0 responses
        18 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-15-2026, 10:52 AM
        0 responses
        36 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-14-2026, 05:39 AM
        0 responses
        42 views
        0 reactions
        Last Post SEQadmin2  
        Working...