installing error: /usr/lib/../lib64/crt1.o: undefined reference to `main'

31 views
Skip to first unread message

lwliv...@gmail.com

unread,
Jun 19, 2017, 1:41:07 AM6/19/17
to strelka-discuss
  When installing the strelka_workflow-1.0.15, I encountered an problem.

  make -C lib test
  make[3]: Entering directory `/lustre/user/wwlab05/bin/strelka_workflow-1.0.15/strelka/src/lib'
  make -C starling_common test &&  make -C common test &&  make -C blt_common test &&  make -C blt_util test && exit 0
 make[4]: Entering directory `/lustre/user/wwlab05/bin/strelka_workflow-1.0.15/strelka/src/lib/starling_common'
  g++ -Wall -Wextra -Wshadow -Wunused -Wpointer-arith -Winit-self -Wredundant-decls  -ggdb -O2 -isystem /lustre/user/wwlab05/bin/strelka_workflow-.0.15/strelka/redist/boost_1_53_0_subset/stage/include -isystem /lustre/user/wwlab05/bin/strelka_workflow-1.0.15/strelka/redist/samtools-0.1.18_no_tview -isystem /lustre/user/wwlab05/bin/strelka_workflow-1.0.15/strelka/redist/tabix-0.2.5_new_libz_order -isystem /lustre/user/wwlab05/bin/strelka_workflow-1.0.15/strelka/redist/CodeMin-1.0.2/include -I/lustre/user/wwlab05/bin/strelka_workflow-1.0.15/strelka/src/lib -I/lustre/user/wwlab05/bin/strelka_workflow-1.0.15/strelka/src/lib/starling_common   -c -o test/test_main.o test/test_main.cpp
         g++ test/alignment_util_test.o test/align_path_test.o test/cmodel_test.o test/depth_buffer_test.o test/indel_util_test.o test/starling_read_align_test.o test/test_main.o /lustre/user/wwlab05/bin/strelka_workflow-1.0.15/strelka/src/lib/starling_common/libstarling_common.a /lustre/user/wwlab05/bin/strelka_workflow-1.0.15/strelka/src/lib/common/libcommon.a /lustre/user/wwlab05/bin/strelka_workflow-1.0.15/strelka/src/lib/blt_common/libblt_common.a /lustre/user/wwlab05/bin/strelka_workflow-1.0.15/strelka/src/lib/blt_util/libblt_util.a -o libstarling_common_unittest -L/lustre/user/wwlab05/bin/strelka_workflow-1.0.15/strelka/redist/boost_1_53_0_subset/stage/lib -L/lustre/user/wwlab05/bin/strelka_workflow-1.0.15/strelka/redist/samtools-0.1.18_no_tview -L/lustre/user/wwlab05/bin/strelka_workflow-1.0.15/strelka/redist/tabix-0.2.5_new_libz_order -lbam -ltabix -lz  -lboost_unit_test_framework
/usr/lib/../lib64/crt1.o: In function `_start': 
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status

 I think it is a problem may be related to strelka_workflow-1.0.15/strelka/src/lib/starling_common/test/test_main.cpp. Did anyone encounter this problems before and how to solve this problems?
Reply all
Reply to author
Forward
0 new messages