[SOLVED]Compiling Issues - libgig

You're new to the LinuxSampler world? You don't know where to start and nothing works? Here's the place to ask for help.
Post Reply
nayru257
Newbie
Posts: 6
Joined: Mon Mar 05, 2012 8:27 am

[SOLVED]Compiling Issues - libgig

Post by nayru257 » Mon Mar 05, 2012 8:41 am

I am having trouble compling libgig source. I have tried both the tar.gz2 source provided on the site, and CVS (revision 2325), both come up with the same error. I am using Ubuntu 11.10 (Oneric) and have both libaudiofile and libsndfile at their latest. configure completes without any errors.

Error As Follows:

Code: Select all

make  all-recursive
make[1]: Entering directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig'
Making all in doc
make[2]: Entering directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig/doc'
Making all in man
make[2]: Entering directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig/man'
Making all in src
make[2]: Entering directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig/src'
Making all in testcases
make[3]: Entering directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig/src/testcases'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig/src/testcases'
make[3]: Entering directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig/src'
/bin/bash ../libtool --tag=CXX   --mode=link g++ -pedantic -Wreturn-type -g -O2 -no-undefined -version-info 10:0:4   -o libgig.la -rpath /usr/local/lib RIFF.lo DLS.lo SF.lo gig.lo  -luuid 
../libtool: eval: line 6449: unexpected EOF while looking for matching `''
../libtool: eval: line 6450: syntax error: unexpected end of file
make[3]: *** [libgig.la] Error 2
make[3]: Leaving directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig'
make: *** [all] Error 2
I hope I havent missed anything blatantly obvious.

If you want the make -d output or the config info, please tell me.
Thanks for your help.
Last edited by nayru257 on Mon Apr 09, 2012 3:28 pm, edited 1 time in total.

varpa
User
Posts: 63
Joined: Thu Dec 09, 2010 8:15 pm

Re: Compiling Issues - libgig

Post by varpa » Tue Mar 06, 2012 8:48 pm

I just built libgig SVN 2325 with no problems on a Debian Squeeze (AVlinux 5.0.2) system so I do not think there is a problem with this release. Somehow your configure command is not making a valid build script (missing a ", according to the message). Maybe trying deleting the "configure" script and re-generating it with make -f Makefile.cvs.

nayru257
Newbie
Posts: 6
Joined: Mon Mar 05, 2012 8:27 am

Re: Compiling Issues - libgig

Post by nayru257 » Wed Mar 07, 2012 10:29 am

Hmmm.... I remade the configure file, but it still won't compile. On the brighter side, the make output changed, so your help obviously did something. Thanks ^.^

Heres the ./configure output:

Code: Select all

checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether byte ordering is bigendian... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for SNDFILE... yes
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for library containing uuid_generate... -luuid
checking for uuid_generate... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of g++... gcc3
configure: creating ./config.status
config.status: creating Doxyfile
config.status: creating gig.pc
config.status: creating libgig.spec
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/testcases/Makefile
config.status: creating doc/Makefile
config.status: creating man/Makefile
config.status: creating man/dlsdump.1
config.status: creating man/gigdump.1
config.status: creating man/gigextract.1
config.status: creating man/rifftree.1
config.status: creating debian/Makefile
config.status: creating osx/Makefile
config.status: creating osx/libgig.xcodeproj/Makefile
config.status: creating win32/Makefile
config.status: creating win32/libgig.dev
config.status: creating config.h
config.status: executing libtool commands
config.status: executing depfiles commands
And the make output:

Code: Select all

make  all-recursive
make[1]: Entering directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig'
Making all in doc
make[2]: Entering directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig/doc'
Making all in man
make[2]: Entering directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig/man'
Making all in src
make[2]: Entering directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig/src'
Making all in testcases
make[3]: Entering directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig/src/testcases'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig/src/testcases'
make[3]: Entering directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig/src'
/bin/bash ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pedantic -Wreturn-type -g -O2 -MT RIFF.lo -MD -MP -MF .deps/RIFF.Tpo -c -o RIFF.lo RIFF.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pedantic -Wreturn-type -g -O2 -MT RIFF.lo -MD -MP -MF .deps/RIFF.Tpo -c RIFF.cpp  -fPIC -DPIC -o .libs/RIFF.o
RIFF.cpp: In member function 'void RIFF::List::WriteHeader(long unsigned int)':
RIFF.cpp:1275:47: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
RIFF.cpp: In member function 'void RIFF::List::ReadHeader(long unsigned int)':
RIFF.cpp:1251:45: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
RIFF.cpp: In member function 'virtual long unsigned int RIFF::Chunk::WriteChunk(long unsigned int, long unsigned int)':
RIFF.cpp:900:51: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
RIFF.cpp: In member function 'void RIFF::Chunk::WriteHeader(long unsigned int)':
RIFF.cpp:162:55: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
RIFF.cpp:163:57: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
RIFF.cpp: In member function 'void RIFF::Chunk::ReadHeader(long unsigned int)':
RIFF.cpp:110:48: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
RIFF.cpp:111:57: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pedantic -Wreturn-type -g -O2 -MT RIFF.lo -MD -MP -MF .deps/RIFF.Tpo -c RIFF.cpp -o RIFF.o >/dev/null 2>&1
mv -f .deps/RIFF.Tpo .deps/RIFF.Plo
/bin/bash ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pedantic -Wreturn-type -g -O2 -MT DLS.lo -MD -MP -MF .deps/DLS.Tpo -c -o DLS.lo DLS.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pedantic -Wreturn-type -g -O2 -MT DLS.lo -MD -MP -MF .deps/DLS.Tpo -c DLS.cpp  -fPIC -DPIC -o .libs/DLS.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pedantic -Wreturn-type -g -O2 -MT DLS.lo -MD -MP -MF .deps/DLS.Tpo -c DLS.cpp -o DLS.o >/dev/null 2>&1
mv -f .deps/DLS.Tpo .deps/DLS.Plo
/bin/bash ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pedantic -Wreturn-type -g -O2 -MT SF.lo -MD -MP -MF .deps/SF.Tpo -c -o SF.lo SF.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pedantic -Wreturn-type -g -O2 -MT SF.lo -MD -MP -MF .deps/SF.Tpo -c SF.cpp  -fPIC -DPIC -o .libs/SF.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pedantic -Wreturn-type -g -O2 -MT SF.lo -MD -MP -MF .deps/SF.Tpo -c SF.cpp -o SF.o >/dev/null 2>&1
mv -f .deps/SF.Tpo .deps/SF.Plo
/bin/bash ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pedantic -Wreturn-type -g -O2 -MT gig.lo -MD -MP -MF .deps/gig.Tpo -c -o gig.lo gig.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pedantic -Wreturn-type -g -O2 -MT gig.lo -MD -MP -MF .deps/gig.Tpo -c gig.cpp  -fPIC -DPIC -o .libs/gig.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pedantic -Wreturn-type -g -O2 -MT gig.lo -MD -MP -MF .deps/gig.Tpo -c gig.cpp -o gig.o >/dev/null 2>&1
mv -f .deps/gig.Tpo .deps/gig.Plo
/bin/bash ../libtool --tag=CXX   --mode=link g++ -pedantic -Wreturn-type -g -O2 -no-undefined -version-info 10:0:4   -o libgig.la -rpath /usr/local/lib RIFF.lo DLS.lo SF.lo gig.lo  -luuid 
../libtool: eval: line 6449: unexpected EOF while looking for matching `''
../libtool: eval: line 6450: syntax error: unexpected end of file
make[3]: *** [libgig.la] Error 2
make[3]: Leaving directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nayru257/Downloads/Installers/LinuxSampler/libgig/libgig'
make: *** [all] Error 2

nayru257
Newbie
Posts: 6
Joined: Mon Mar 05, 2012 8:27 am

Re: Compiling Issues - libgig

Post by nayru257 » Sun Apr 08, 2012 11:03 am

I just installed Linux Mint Debian, and now it compiles beautifully.

Thanks for all your help.

Post Reply