Page 1 of 1

Building LinuxSampler CVS in 64-bit Ubuntu

Posted: Wed Jul 22, 2009 1:45 pm
by ggoodesa
Hi Guys,
I recently loaded up Ubuntu Studio 8.04.1 (64-bit) and have attempted to build linuxsampler from CVS. I run into a problem with libgig, error message as below:

CXXFLAGS="-O2 -msse -march=pentium4 -mfpmath=sse -ffast-math -fomit-frame-pointer -funroll-loops" ./configure --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info
checking for g++... g++
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
make: *** [config.status] Error 77
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
graham@GGUbStu:~/Build/libgig$

Any ideas as to how to solve this? Is it a 32-bit vs 64-bit issue or just something that I'm missing?

EDIT:

I changed the architecture argument to -march=nocona (did a google for 64-bit CXXFLAGS) and it seems to be building now...

Thanks,
GrahamG
Johannesburg, South Africa