vlfeat/vlfeat — Issue #4: build error in ubuntu 11.10
Author: kyamagu
Created: 2011-11-12 19:24:27+00:00
State: open

Hi, I just tried to compile the package and got this weird linker error. Any thought?

$ make
MK toolbox/mex/mexa64/
CC toolbox/mex/mexa64/vl_mser.d
CC toolbox/mex/mexa64/vl_erfill.d
CC toolbox/mex/mexa64/vl_localmax.d
CC toolbox/mex/mexa64/vl_pegasos.d
CC toolbox/mex/mexa64/vl_ihashfind.d
CC toolbox/mex/mexa64/vl_homkermap.d
CC toolbox/mex/mexa64/vl_alldist.d
CC toolbox/mex/mexa64/vl_alldist2.d
CC toolbox/mex/mexa64/vl_binsearch.d
CC toolbox/mex/mexa64/vl_simdctrl.d
CC toolbox/mex/mexa64/vl_binsum.d
CC toolbox/mex/mexa64/vl_ihashsum.d
CC toolbox/mex/mexa64/vl_kdtreebuild.d
CC toolbox/mex/mexa64/vl_samplinthist.d
CC toolbox/mex/mexa64/vl_getpid.d
CC toolbox/mex/mexa64/vl_twister.d
CC toolbox/mex/mexa64/vl_kdtreequery.d
CC toolbox/mex/mexa64/vl_inthist.d
CC toolbox/mex/mexa64/vl_lbp.d
CC toolbox/mex/mexa64/vl_version.d
CC toolbox/mex/mexa64/vl_rodr.d
CC toolbox/mex/mexa64/vl_irodr.d
CC toolbox/mex/mexa64/vl_quickshift.d
CC toolbox/mex/mexa64/vl_imwbackwardmx.d
CC toolbox/mex/mexa64/vl_tpsumx.d
CC toolbox/mex/mexa64/vl_imdisttf.d
CC toolbox/mex/mexa64/vl_imintegral.d
CC toolbox/mex/mexa64/vl_imsmooth.d
CC toolbox/mex/mexa64/vl_dsift.d
CC toolbox/mex/mexa64/vl_ubcmatch.d
CC toolbox/mex/mexa64/vl_siftdescriptor.d
CC toolbox/mex/mexa64/vl_sift.d
CC toolbox/mex/mexa64/vl_aibhist.d
CC toolbox/mex/mexa64/vl_aib.d
CC toolbox/mex/mexa64/vl_ikmeanspush.d
CC toolbox/mex/mexa64/vl_ikmeans.d
CC toolbox/mex/mexa64/vl_hikmeans.d
CC toolbox/mex/mexa64/vl_kmeans.d
CC toolbox/mex/mexa64/vl_hikmeanspush.d
MK bin/glnxa64/
MK bin/glnxa64/objs/
CC bin/glnxa64/test_vec_comp.d
CC bin/glnxa64/test_threads.d
CC bin/glnxa64/test_stringop.d
CC bin/glnxa64/test_rand.d
CC bin/glnxa64/test_qsort-def.d
CC bin/glnxa64/test_nan.d
CC bin/glnxa64/test_mathop.d
CC bin/glnxa64/test_mathop_abs.d
CC bin/glnxa64/test_imopv.d
CC bin/glnxa64/test_host.d
CC bin/glnxa64/test_heap-def.d
CC bin/glnxa64/test_getopt_long.d
CC bin/glnxa64/sift.d
CC bin/glnxa64/mser.d
CC bin/glnxa64/aib.d
CC bin/glnxa64/objs/stringop.d
CC bin/glnxa64/objs/sift.d
CC bin/glnxa64/objs/rodrigues.d
CC bin/glnxa64/objs/random.d
CC bin/glnxa64/objs/quickshift.d
CC bin/glnxa64/objs/pgm.d
CC bin/glnxa64/objs/pegasos.d
CC bin/glnxa64/objs/mser.d
CC bin/glnxa64/objs/mathop_sse2.d
CC bin/glnxa64/objs/mathop.d
CC bin/glnxa64/objs/lbp.d
CC bin/glnxa64/objs/kmeans.d
CC bin/glnxa64/objs/kdtree.d
CC bin/glnxa64/objs/imopv_sse2.d
CC bin/glnxa64/objs/imopv.d
CC bin/glnxa64/objs/ikmeans.d
CC bin/glnxa64/objs/host.d
CC bin/glnxa64/objs/homkermap.d
CC bin/glnxa64/objs/hikmeans.d
CC bin/glnxa64/objs/getopt_long.d
CC bin/glnxa64/objs/generic.d
CC bin/glnxa64/objs/dsift.d
CC bin/glnxa64/objs/array.d
CC bin/glnxa64/objs/aib.d
CC bin/glnxa64/objs/aib.o
CC bin/glnxa64/objs/array.o
CC bin/glnxa64/objs/dsift.o
CC bin/glnxa64/objs/generic.o
CC bin/glnxa64/objs/getopt_long.o
CC bin/glnxa64/objs/hikmeans.o
CC bin/glnxa64/objs/homkermap.o
CC bin/glnxa64/objs/host.o
CC bin/glnxa64/objs/ikmeans.o
CC bin/glnxa64/objs/imopv.o
CC bin/glnxa64/objs/imopv_sse2.o
CC bin/glnxa64/objs/kdtree.o
CC bin/glnxa64/objs/kmeans.o
vl/kmeans.c:546:11: warning: variable ‘allDone’ set but not used [-Wunused-but-set-variable]
vl/kmeans.c:546:11: warning: variable ‘allDone’ set but not used [-Wunused-but-set-variable]
CC bin/glnxa64/objs/lbp.o
CC bin/glnxa64/objs/mathop.o
CC bin/glnxa64/objs/mathop_sse2.o
CC bin/glnxa64/objs/mser.o
CC bin/glnxa64/objs/pegasos.o
CC bin/glnxa64/objs/pgm.o
CC bin/glnxa64/objs/quickshift.o
CC bin/glnxa64/objs/random.o
CC bin/glnxa64/objs/rodrigues.o
CC bin/glnxa64/objs/sift.o
CC bin/glnxa64/objs/stringop.o
CC bin/glnxa64/libvl.so
CC bin/glnxa64/aib
******* Offending Command:
cc '-std=c99' '-Wall' '-Wextra' '-Wno-unused-function' '-Wno-long-long' '-Wno-variadic-macros' '-I.' '-DNDEBUG' '-O3' '-lm' '-Wl,--rpath,$ORIGIN/' '-Lbin/glnxa64' '-lvl' 'src/aib.c' '-o' 'bin/glnxa64/aib'
******* Error Code: 1
******* Command Output:
/tmp/cclyk1YX.o: In function `main':
aib.c:(.text.startup+0x43d): undefined reference to `vl_aib_new'
aib.c:(.text.startup+0x448): undefined reference to `vl_aib_process'
aib.c:(.text.startup+0x47d): undefined reference to `vl_aib_delete'
collect2: ld returned 1 exit status
make: *** [bin/glnxa64/aib] Error 1