Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cufflinks make Error (differential.o failed)

    hi all

    I am trying to install cufflinks using Cygwin in Win7.
    I installed correctly the boost library, the Eigen library and samtools and i'm at the point at which i run the "make" command from the cufflinks-2.1.1 folder.

    the ./configure command works fine and gets to the end without errors, however, when i run "make" this is what i get:


    Code:
    $ make
    make  all-recursive
    make[1]: Entering directory `/cygdrive/c/cygdrive/c/cufflinks-2.1.1'
    Making all in src
    make[2]: Entering directory `/cygdrive/c/cygdrive/c/cufflinks-2.1.1/src'
    if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I../src  -I/usr/local/include  -Wall -Wno-strict-aliasing -g -gdwarf-2 -Wunused -Wuninitialized -D_FILE_OFFSET_BITS=64 -O3  -DNDEBUG  -pthread -I/cygdrive/c/cygdrive/c/Boost//include/boost-1_53 -I/cygdrive/c/Users/se24553/SAM_tools//include -I/cygdrive/c/Users/se24553/SAM_tools/include -MT differential.o -MD -MP -MF ".deps/differential.Tpo" -c -o differential.o differential.cpp; \
    then mv -f ".deps/differential.Tpo" ".deps/differential.Po"; else rm -f ".deps/differential.Tpo"; exit 1; fi
    g++: unrecognized option '-pthread'
    In file included from differential.h:29:0,
                     from differential.cpp:21:
    replicates.h: In member function ‘bool ReplicatedBundleFactory::next_bundle(HitBundle&)’:
    replicates.h:208:50: warning: unused variable ‘s2’
    In file included from differential.cpp:21:0:
    differential.h: In constructor ‘FPKMContext::FPKMContext(double, double, double, double, const CountPerReplicateTable&, double, const FPKMPerReplicateTable&, double, double, double, AbundanceStatus, const StatusPerReplicateTable&, const std::vector<double>&, double)’:
    differential.h:172:21: warning: ‘FPKMContext::status’ will be initialized after
    differential.h:167:29: warning:   ‘StatusPerReplicateTable FPKMContext::status_per_rep’
    differential.h:132:2: warning:   when initialized here
    differential.cpp: In member function ‘void TestLauncher::perform_testing(std::vector<boost::shared_ptr<SampleAbundances> >&)’:
    differential.cpp:230:31: warning: unused variable ‘s2’
    differential.cpp: In member function ‘void TestLauncher::record_tracking_data(std::vector<boost::shared_ptr<SampleAbundances> >&)’:
    differential.cpp:258:31: warning: unused variable ‘s2’
    In file included from /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/math/special_functions/math_fwd.hpp:27:0,
                     from /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/math/special_functions/sign.hpp:17,
                     from /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/lexical_cast.hpp:167,
                     from /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/math/special_functions/gamma.hpp:24,
                     from differential.cpp:16:
    /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/math/tools/promotion.hpp: At global scope:
    /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/math/tools/promotion.hpp: In instantiation of ‘boost::math::tools::promote_args<long double, float, float, float, float, float>’:
    differential.cpp:359:60:   instantiated from here
    /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/math/tools/promotion.hpp:141:1: error: invalid application of ‘sizeof’ to incomplete type ‘boost::STATIC_ASSERTION_FAILURE<false>’
    differential.cpp: In function ‘long double trunc_normal_log_likelihood(const std::vector<double>&, double, double)’:
    differential.cpp:448:21: error: ‘logl’ was not declared in this scope
    differential.cpp: In function ‘SampleDifference test_diffexp(const FPKMContext&, const FPKMContext&)’:
    differential.cpp:551:86: warning: comparison between signed and unsigned integer expressions
    differential.cpp:559:86: warning: comparison between signed and unsigned integer expressions
    differential.cpp:581:86: warning: comparison between signed and unsigned integer expressions
    differential.cpp:589:86: warning: comparison between signed and unsigned integer expressions
    differential.cpp: In function ‘bool test_js(const AbundanceGroup&, const AbundanceGroup&, double&, double&)’:
    differential.cpp:833:101: warning: comparison between signed and unsigned integer expressions
    differential.cpp:845:101: warning: comparison between signed and unsigned integer expressions
    differential.cpp:871:101: warning: comparison between signed and unsigned integer expressions
    differential.cpp:883:101: warning: comparison between signed and unsigned integer expressions
    differential.cpp: In function ‘void test_differential(const std::string&, const std::vector<boost::shared_ptr<SampleAbundances> >&, const std::vector<std::pair<unsigned int, unsigned int> >&, Tests&, Tracking&)’:
    differential.cpp:1803:79: warning: comparison between signed and unsigned integer expressions
    differential.cpp:1804:79: warning: comparison between signed and unsigned integer expressions
    differential.cpp:1842:80: warning: comparison between signed and unsigned integer expressions
    differential.cpp:1843:80: warning: comparison between signed and unsigned integer expressions
    differential.cpp:1880:79: warning: comparison between signed and unsigned integer expressions
    differential.cpp:1881:79: warning: comparison between signed and unsigned integer expressions
    /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/system/error_code.hpp: At global scope:
    /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/system/error_code.hpp:214:36: warning: ‘boost::system::posix_category’ defined but not used
    /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/system/error_code.hpp:215:36: warning: ‘boost::system::errno_ecat’ defined but not used
    /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/system/error_code.hpp:216:36: warning: ‘boost::system::native_ecat’ defined but not used
    Makefile:1380: recipe for target `differential.o' failed
    make[2]: *** [differential.o] Error 1
    make[2]: Leaving directory `/cygdrive/c/cygdrive/c/cufflinks-2.1.1/src'
    Makefile:250: recipe for target `all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/cygdrive/c/cygdrive/c/cufflinks-2.1.1'
    Makefile:188: recipe for target `all' failed
    make: *** [all] Error 2
    I think that the error is towards the end where it says
    Code:
    Makefile:1380: recipe for target `differential.o' failed
    make[2]: *** [differential.o] Error 1
    make[2]: Leaving directory `/cygdrive/c/cygdrive/c/cufflinks-2.1.1/src'
    Makefile:250: recipe for target `all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/cygdrive/c/cygdrive/c/cufflinks-2.1.1'
    Makefile:188: recipe for target `all' failed
    make: *** [all] Error 2
    I googled the "differential.o" error but i can't seem to find an answer

    any suggestion would be awesome!

    thanks!

    Seb

  • #2
    Check this!!:

    Discussion of next-gen sequencing related bioinformatics: resources, algorithms, open source efforts, etc


    Offtopic: Cufflinks runs good on windows?

    Comment


    • #3
      **edited post**
      I did try to use the "do" trick from the src folder and followed the instructions.

      however, i still get the same error
      Code:
      [differential.o] Error 1
      Last edited by Sebastiano; 07-01-2013, 08:20 AM.

      Comment


      • #4
        quick update...
        i tried to follow also the instructions ehre

        but now the error i get is the following:
        Code:
        $ make
        if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I../src  -I/usr/local/include  -Wall -Wno-strict-aliasing -g -gdwarf-2 -Wunused -Wuninitialized -D_FILE_OFFSET_BITS=64 -O3  -DNDEBUG  -pthread -I/cygdrive/c/cygdrive/c/Boost//include/boost-1_53 -I/cygdrive/c/Users/se24553/SAM_tools//include -I/cygdrive/c/Users/se24553/SAM_tools/include -MT clustering.o -MD -MP -MF ".deps/clustering.Tpo" -c -o clustering.o clustering.cpp; \
        then mv -f ".deps/clustering.Tpo" ".deps/clustering.Po"; else rm -f ".deps/clustering.Tpo"; exit 1; fi
        g++: unrecognized option '-pthread'
        In file included from /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/multi_index/hashed_index.hpp:22:0,
                         from /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/graph/named_graph.hpp:17,
                         from /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/graph/adjacency_list.hpp:45,
                         from clustering.h:19,
                         from clustering.cpp:10:
        /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/foreach_fwd.hpp:32:2: error: ‘pait’ in namespace ‘std’ does not name a type
        /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/foreach_fwd.hpp:36:5: error: expected unqualified-id before ‘typedef’
        /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/foreach_fwd.hpp:57:23: error: ‘boost::foreach::in_range’ has not been declared
        /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/foreach_fwd.hpp:58:23: error: ‘boost::foreach::tag’ has not been declared
        In file included from /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/graph/named_graph.hpp:17:0,
                         from /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/graph/adjacency_list.hpp:45,
                         from clustering.h:19,
                         from clustering.cpp:10:
        /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/multi_index/hashed_index.hpp:1254:19: error: ‘boost::foreach::tag’ has not been declared
        In file included from common.h:24:0,
                         from hits.h:21,
                         from abundances.h:23,
                         from clustering.h:38,
                         from clustering.cpp:10:
        /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/foreach.hpp:170:42: error: ‘boost::foreach::tag’ has not been declared
        /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/foreach.hpp:174:72: error: ‘boost::foreach::tag’ has not been declared
        /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/foreach.hpp:178:81: error: ‘boost::foreach::tag’ has not been declared
        /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/foreach.hpp:182:76: error: ‘boost::foreach::tag’ has not been declared
        /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/foreach.hpp:186:59: error: ‘boost::foreach::tag’ has not been declared
        /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/foreach.hpp:196:36: error: ‘boost::foreach::tag’ has not been declared
        /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/system/error_code.hpp:214:36: warning: ‘boost::system::posix_category’ defined but not used
        /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/system/error_code.hpp:215:36: warning: ‘boost::system::errno_ecat’ defined but not used
        /cygdrive/c/cygdrive/c/Boost//include/boost-1_53/boost/system/error_code.hpp:216:36: warning: ‘boost::system::native_ecat’ defined but not used
        Makefile:1380: recipe for target `clustering.o' failed
        make: *** [clustering.o] Error 1
        ..my head starts hurting..

        Comment


        • #5
          It seems, that is an error after the first error


          I am trying to compile a Pro*C file on gcc and I am getting this error : make: *** [MedLib_x.o] Error 1 This is the command printed by make: /usr/bin/gcc -g -fPIC -m64 -DSS_64BIT_SERVER -I/h...


          hello I am trying to compile OLSRd on Fedora 15 but 'make' throws Error 1. Here is the output: $ make /usr/bin/ccache gcc -Wall -Wextra -Wold-style-definition -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wsign-compare -Waggregate-return -Wmissing-noreturn -Wmissing-format-attribute -Wno-multichar -Wno-deprecated-declarations -Wendif-labels -Wwrite-strings -Wbad-function-cast -Wpointer-arith -Wcast-qual -Wshadow -Wformat-2 -Wsequence-point


          As far as i understood, Error 1 comes within the "if " part of the makefile. Try to remove that "-pthread" and tell what happens!

          Comment

          Latest Articles

          Collapse

          • seqadmin
            Exploring the Dynamics of the Tumor Microenvironment
            by seqadmin




            The complexity of cancer is clearly demonstrated in the diverse ecosystem of the tumor microenvironment (TME). The TME is made up of numerous cell types and its development begins with the changes that happen during oncogenesis. “Genomic mutations, copy number changes, epigenetic alterations, and alternative gene expression occur to varying degrees within the affected tumor cells,” explained Andrea O’Hara, Ph.D., Strategic Technical Specialist at Azenta. “As...
            07-08-2024, 03:19 PM
          • seqadmin
            Exploring Human Diversity Through Large-Scale Omics
            by seqadmin


            In 2003, researchers from the Human Genome Project (HGP) announced the most comprehensive genome to date1. Although the genome wasn’t fully completed until nearly 20 years later2, numerous large-scale projects, such as the International HapMap Project and 1000 Genomes Project, continued the HGP's work, capturing extensive variation and genomic diversity within humans. Recently, newer initiatives have significantly increased in scale and expanded beyond genomics, offering a more detailed...
            06-25-2024, 06:43 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 07-10-2024, 07:30 AM
          0 responses
          19 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 07-03-2024, 09:45 AM
          0 responses
          197 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 07-03-2024, 08:54 AM
          0 responses
          207 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 07-02-2024, 03:00 PM
          0 responses
          190 views
          0 likes
          Last Post seqadmin  
          Working...
          X