Skip to content

Instantly share code, notes, and snippets.

@serialhex
Created May 29, 2011 19:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save serialhex/9b28bde8718703fe1b66 to your computer and use it in GitHub Desktop.
Save serialhex/9b28bde8718703fe1b66 to your computer and use it in GitHub Desktop.
shogun linker error
./configure --interfaces=libshogun,ruby_modular --python=python2 && make
./preprocessor/RandomFourierGaussPreproc.cpp.o: In function `shogun::CRandomFourierGaussPreproc::set_randomcoefficients(double*, double*, int, int, double)':
/home/serialhex/src/shogun/shogun/src/libshogun/preprocessor/RandomFourierGaussPreproc.cpp:288: multiple definition of `shogun::CRandomFourierGaussPreproc::set_randomcoefficients(double*, double*, int, int, double)'
./preproc/RandomFourierGaussPreproc.cpp.o:/home/serialhex/src/shogun/shogun/src/libshogun/preproc/RandomFourierGaussPreproc.cpp:288: first defined here
./preprocessor/RandomFourierGaussPreproc.cpp.o: In function `CRandomFourierGaussPreproc':
/home/serialhex/src/shogun/shogun/src/libshogun/preprocessor/RandomFourierGaussPreproc.cpp:62: multiple definition of `shogun::CRandomFourierGaussPreproc::CRandomFourierGaussPreproc()'
./preproc/RandomFourierGaussPreproc.cpp.o:/home/serialhex/src/shogun/shogun/src/libshogun/preproc/RandomFourierGaussPreproc.cpp:62: first defined here
./preprocessor/RandomFourierGaussPreproc.cpp.o: In function `CRandomFourierGaussPreproc':
/home/serialhex/src/shogun/shogun/src/libshogun/preprocessor/RandomFourierGaussPreproc.cpp:93: multiple definition of `shogun::CRandomFourierGaussPreproc::CRandomFourierGaussPreproc(shogun::CRandomFourierGaussPreproc const&)'
./preproc/RandomFourierGaussPreproc.cpp.o:/home/serialhex/src/shogun/shogun/src/libshogun/preproc/RandomFourierGaussPreproc.cpp:93: first defined here
collect2: ld returned 1 exit status
make[1]: *** [libshogun.so.10.0] Error 1
make[1]: Leaving directory `/home/serialhex/src/shogun/shogun/src/libshogun'
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment