Unconfigured Ad

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

    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
          Nine Things a Sample Prep Scientist Thinks About Before Sequencing
          by SEQadmin2


          I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

          Here are nine questions we think about, in roughly the order they matter, before...
          06-18-2026, 07:11 AM
        • SEQadmin2
          From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
          by SEQadmin2


          Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


          The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
          ...
          06-02-2026, 10:05 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 06-17-2026, 06:09 AM
        0 responses
        36 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-09-2026, 11:58 AM
        0 responses
        99 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-05-2026, 10:09 AM
        0 responses
        120 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-04-2026, 08:59 AM
        0 responses
        113 views
        0 reactions
        Last Post SEQadmin2  
        Working...