[parsec-users] Compilation errros of freqmine

kishore kumar kishoreguptaos at gmail.com
Tue Feb 19 12:44:00 EST 2013


Hi,
Although I am able to successfully compile freqmine (parsec-3.0) with
gcc.4.5 on SPARC, getting the following errors on x86 running Solaris11.
Could someone help me to fix this. Thanks.

# ./bin/parsecmgmt -a build -c gcc-openmp -p freqmine
[PARSEC] Packages to build:  parsec.freqmine

[PARSEC] [========== Building package parsec.freqmine [1] ==========]
[PARSEC] [---------- Analyzing package parsec.freqmine ----------]
[PARSEC] parsec.freqmine does not depend on any other packages.
[PARSEC] [---------- Building package parsec.freqmine ----------]
[PARSEC] Removing old build directory.
[PARSEC] Copying source code of package parsec.freqmine.
[PARSEC] Running 'env CXXFLAGS=-O3 -g -funroll-loops -fprefetch-loop-arrays
-fpermissive -fno-exceptions -static-libgcc
-Wl,--hash-style=both,--as-needed -I/usr/sfw/include
-DPARSEC_VERSION=3.0-beta-20120904 -fopenmp -fopenmp /usr/bin/gmake':
/usr/gcc/4.5/bin/g++ -O3 -g -funroll-loops -fprefetch-loop-arrays
-fpermissive -fno-exceptions -static-libgcc
-Wl,--hash-style=both,--as-needed -I/usr/sfw/include
-DPARSEC_VERSION=3.0-beta-20120904 -fopenmp -fopenmp -Wno-deprecated
-L/usr/gcc/4.5/lib64 -L/usr/gcc/4.5/lib -L/usr/sfw/lib fpgrowth.o data.o
fp_tree.o buffer.o fsout.o fp_node.o wtime.o /usr/lib/libmtmalloc.so -o
freqmine
fpgrowth.o: In function `main':
fpmax.cpp:(.text+0x169): undefined reference to `__1cDstdEcout_'
fpmax.cpp:(.text+0x16e): undefined reference to
`__1cDstd2l6Frn0ANbasic_ostream4Ccn0ALchar_traits4Cc____pkc_2_'
fpmax.cpp:(.text+0x180): undefined reference to
`__1cDstd2l6Frn0ANbasic_ostream4Ccn0ALchar_traits4Cc____pkc_2_'
fpmax.cpp:(.text+0x18e): undefined reference to
`__1cDstd2l6Frn0ANbasic_ostream4Ccn0ALchar_traits4Cc____pkc_2_'
fpmax.cpp:(.text+0x1bc): undefined reference to `c::c(n6,  (int0_t))'
fpmax.cpp:(.text+0x1fa): undefined reference to `__1cDstdEcerr_'
fpmax.cpp:(.text+0x1ff): undefined reference to
`__1cDstd2l6Frn0ANbasic_ostream4Ccn0ALchar_traits4Cc____pkc_2_'
fpmax.cpp:(.text+0x20d): undefined reference to
`__1cDstd2l6Frn0ANbasic_ostream4Ccn0ALchar_traits4Cc____pkc_2_'
fpmax.cpp:(.text+0x21b): undefined reference to
`__1cDstdNbasic_ostream4Ccn0ALchar_traits4Cc___2l6MpFr1_2_2_'
fpmax.cpp:(.text+0x24a): undefined reference to `c::c(N6,  (int0_t))'
fpmax.cpp:(.text+0x26a): undefined reference to `c::c(N6,  (int0_t))'
fpmax.cpp:(.text+0x294): undefined reference to `c::c(n6,  (int0_t))'
fpmax.cpp:(.text+0x2cd): undefined reference to `c::c(n6,  (int0_t))'
fpmax.cpp:(.text+0x315): undefined reference to `c::c(n6,  (int0_t))'
fpmax.cpp:(.text+0x3e5): undefined reference to `c::c(n6,  (int0_t))'
fpmax.cpp:(.text+0x51d): undefined reference to `__1c2k6Fpv_v_'
fpmax.cpp:(.text+0x551): undefined reference to `__1c2k6Fpv_v_'
fpmax.cpp:(.text+0x56d): undefined reference to `__1c2K6Fpv_v_'
fpmax.cpp:(.text+0x57d): undefined reference to `__1c2K6Fpv_v_'
fpmax.cpp:(.text+0x58d): undefined reference to `__1c2K6Fpv_v_'
fpmax.cpp:(.text+0x59d): undefined reference to `__1c2K6Fpv_v_'
fpmax.cpp:(.text+0x5ea): undefined reference to `__1c2k6Fpv_v_'
fpmax.cpp:(.text+0x5f2): undefined reference to
`__1cG__CrunMex_rethrow_q6F_v_'
fpmax.cpp:(.text+0x600): undefined reference to `__1c2k6Fpv_v_'
fpmax.cpp:(.text+0x608): undefined reference to
`__1cG__CrunMex_rethrow_q6F_v_'
fpmax.cpp:(.text+0x616): undefined reference to `__1c2k6Fpv_v_'
fpmax.cpp:(.text+0x61e): undefined reference to
`__1cG__CrunMex_rethrow_q6F_v_'
fpmax.cpp:(.text+0x62c): undefined reference to `__1c2k6Fpv_v_'
fpmax.cpp:(.text+0x634): undefined reference to
`__1cG__CrunMex_rethrow_q6F_v_'
fpmax.cpp:(.text+0x642): undefined reference to `__1c2k6Fpv_v_'
fpmax.cpp:(.text+0x64a): undefined reference to
`__1cG__CrunMex_rethrow_q6F_v_'
fpgrowth.o: In function
`__1cDstdEendl4Ccn0ALchar_traits4Cc___6Frn0ANbasic_ostream3CTACTB___4_':
fpmax.cpp:(.text%__1cDstdEendl4Ccn0ALchar_traits4Cc___6Frn0ANbasic_ostream3CTACTB___4_[__1cDstdEendl4Ccn0ALchar_traits4Cc___6Frn0ANbasic_ostream3CTACTB___4_]+0x24):
undefined reference to
`__1cDstdNbasic_ostream4Ccn0ALchar_traits4Cc___Dput6Mc_r1_'
fpmax.cpp:(.text%__1cDstdEendl4Ccn0ALchar_traits4Cc___6Frn0ANbasic_ostream3CTACTB___4_[__1cDstdEendl4Ccn0ALchar_traits4Cc___6Frn0ANbasic_ostream3CTACTB___4_]+0x32):
undefined reference to
`__1cDstdNbasic_ostream4Ccn0ALchar_traits4Cc___Fflush6M_r1_'
data.o: In function `__1cEDataNparseDataFile6MpnHMapFile__pi_':
data.cpp:(.text+0x143): undefined reference to `c::c(N6,  (int0_t))'
data.cpp:(.text+0x39d): undefined reference to `c::c(N6,  (int0_t))'
data.cpp:(.text+0x40f): undefined reference to `__1c2K6Fpv_v_'
data.o: In function `__1cLMapFileNodeEinit6Mii_v_':
data.cpp:(.text+0x590): undefined reference to `c::c(N6,  (int0_t))'
data.o: In function `__1cLMapFileNodeIfinalize6M_v_':
data.cpp:(.text+0x5dd): undefined reference to `__1c2K6Fpv_v_'
data.o: In function `__1cHMapFilebAalloc_work_between_threads6Mi_v_':
data.cpp:(.text+0x6b7): undefined reference to `c::c(N6,  (int0_t))'
data.cpp:(.text+0x9c7): undefined reference to `__1c2K6Fpv_v_'
fp_tree.o: In function `__1cFstack2t5B6Mi_v_':
fp_tree.cpp:(.text+0x35e): undefined reference to `c::c(N6,  (int0_t))'
fp_tree.o: In function `__1cFstack2T5B6M_v_':
fp_tree.cpp:(.text+0x39d): undefined reference to `__1c2K6Fpv_v_'
fp_tree.o: In function `__1cHFP_treePdatabase_tiling6Mi_v_':
fp_tree.cpp:(.text+0x523): undefined reference to `c::c(N6,  (int0_t))'
fp_tree.cpp:(.text+0xc3c): undefined reference to `c::c(N6,  (int0_t))'
fp_tree.cpp:(.text+0xc56): undefined reference to `c::c(N6,  (int0_t))'
fp_tree.cpp:(.text+0xc70): undefined reference to `c::c(N6,  (int0_t))'
fp_tree.cpp:(.text+0xd85): undefined reference to `c::c(N6,  (int0_t))'
fp_tree.o:fp_tree.cpp:(.text+0xda5): more undefined references to `c::c(N6,
 (int0_t))' follow
fp_tree.o: In function `__1cHFP_treePdatabase_tiling6Mi_v_':
fp_tree.cpp:(.text+0x12cb): undefined reference to `__1c2K6Fpv_v_'
fp_tree.cpp:(.text+0x12d9): undefined reference to `__1c2K6Fpv_v_'
fp_tree.o: In function `__1cHFP_treeIscan1_DB6MpnEData__v_':
fp_tree.cpp:(.text+0x14bd): undefined reference to `c::c(N6,  (int0_t))'
fp_tree.cpp:(.text+0x14df): undefined reference to `c::c(N6,  (int0_t))'
fp_tree.cpp:(.text+0x15aa): undefined reference to `__1c2K6Fpv_v_'
fp_tree.cpp:(.text+0x19d0): undefined reference to `c::c(n6,  (int0_t))'
fp_tree.cpp:(.text+0x202a): undefined reference to `__1c2k6Fpv_v_'
fp_tree.cpp:(.text+0x2032): undefined reference to
`__1cG__CrunMex_rethrow_q6F_v_'
fp_tree.o: In function `__1cHFP_treeIscan2_DB6Mi_v_':
fp_tree.cpp:(.text+0x2ac9): undefined reference to `__1c2k6Fpv_v_'
fp_tree.o: In function `__1cHFP_treePFP_growth_first6MpnFFSout__i_':
fp_tree.cpp:(.text+0x31cc): undefined reference to `c::c(n6,  (int0_t))'
fp_tree.cpp:(.text+0x39b9): undefined reference to `__1c2k6Fpv_v_'
fp_tree.cpp:(.text+0x39c1): undefined reference to
`__1cG__CrunMex_rethrow_q6F_v_'
fp_tree.o: In function
`__1cbJfirst_transform_FPTree_into_FPArray4CC_6FpnHFP_tree_TA_v_':
fp_tree.cpp:(.text%__1cbJfirst_transform_FPTree_into_FPArray4CC_6FpnHFP_tree_TA_v_[__1cbJfirst_transform_FPTree_into_FPArray4CC_6FpnHFP_tree_TA_v_]+0x9b):
undefined reference to `c::c(N6,  (int0_t))'
fp_tree.cpp:(.text%__1cbJfirst_transform_FPTree_into_FPArray4CC_6FpnHFP_tree_TA_v_[__1cbJfirst_transform_FPTree_into_FPArray4CC_6FpnHFP_tree_TA_v_]+0x113):
undefined reference to `c::c(N6,  (int0_t))'
fp_tree.cpp:(.text%__1cbJfirst_transform_FPTree_into_FPArray4CC_6FpnHFP_tree_TA_v_[__1cbJfirst_transform_FPTree_into_FPArray4CC_6FpnHFP_tree_TA_v_]+0x139):
undefined reference to `c::c(N6,  (int0_t))'
fp_tree.o: In function
`__1cbJfirst_transform_FPTree_into_FPArray4CH_6FpnHFP_tree_TA_v_':
fp_tree.cpp:(.text%__1cbJfirst_transform_FPTree_into_FPArray4CH_6FpnHFP_tree_TA_v_[__1cbJfirst_transform_FPTree_into_FPArray4CH_6FpnHFP_tree_TA_v_]+0x9b):
undefined reference to `c::c(N6,  (int0_t))'
fp_tree.cpp:(.text%__1cbJfirst_transform_FPTree_into_FPArray4CH_6FpnHFP_tree_TA_v_[__1cbJfirst_transform_FPTree_into_FPArray4CH_6FpnHFP_tree_TA_v_]+0x113):
undefined reference to `c::c(N6,  (int0_t))'
fp_tree.o:fp_tree.cpp:(.text%__1cbJfirst_transform_FPTree_into_FPArray4CH_6FpnHFP_tree_TA_v_[__1cbJfirst_transform_FPTree_into_FPArray4CH_6FpnHFP_tree_TA_v_]+0x139):
more undefined references to `c::c(N6,  (int0_t))' follow
buffer.o: In function `__1cGmemory2T5B6M_v_':
buffer.cpp:(.text+0x218): undefined reference to `__1c2K6Fpv_v_'
buffer.cpp:(.text+0x232): undefined reference to `__1c2K6Fpv_v_'
buffer.cpp:(.text+0x243): undefined reference to `__1c2K6Fpv_v_'
buffer.cpp:(.text+0x254): undefined reference to `__1c2K6Fpv_v_'
buffer.cpp:(.text+0x265): undefined reference to `__1c2K6Fpv_v_'
buffer.o: In function `__1cGmemoryJswitchbuf6MI_i_':
buffer.cpp:(.text+0x3e9): undefined reference to `__1c2k6Fpv_v_'
buffer.cpp:(.text+0x4db): undefined reference to `c::c(N6,  (int0_t))'
buffer.cpp:(.text+0x54d): undefined reference to `__1c2k6Fpv_v_'
buffer.o: In function `__1cGmemoryHfreebuf6MIipc_v_':
buffer.cpp:(.text+0x636): undefined reference to `__1c2K6Fpv_v_'
fp_node.o: In function `__1cFFnode2T5B6M_v_':
fp_node.cpp:(.text+0xed): undefined reference to `__1c2k6Fpv_v_'
fp_node.cpp:(.text+0x125): undefined reference to `__1c2k6Fpv_v_'
collect2: ld returned 1 exit status
gmake: *** [freqmine] Error 1
[PARSEC] Error: 'env CXXFLAGS=-O3 -g -funroll-loops -fprefetch-loop-arrays
-fpermissive -fno-exceptions -static-libgcc
-Wl,--hash-style=both,--as-needed -I/usr/sfw/include
-DPARSEC_VERSION=3.0-beta-20120904 -fopenmp -fopenmp /usr/bin/gmake' failed.


Best,
Kishore Kumar Pusukuri
http://www.cs.ucr.edu/~kishore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20130219/263ef962/attachment.htm>


More information about the parsec-users mailing list