[resolved]Build error InstrumentResourceManager.lo on Ubuntu

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
bpier
Newbie
Posts: 5
Joined: Mon Sep 05, 2011 11:02 pm

[resolved]Build error InstrumentResourceManager.lo on Ubuntu

Post by bpier » Wed Oct 26, 2011 9:37 am

Hi. I try to compile LS on Ubuntu 10.04, but I obtain several errors. Here is the end of the log on console :
InstrumentResourceManager.cpp:79: warning: spurious trailing ‘%’ in format
InstrumentResourceManager.cpp: In member function ‘virtual void LinuxSampler::gig::InstrumentResourceManager::CacheInitialSamples(gig::Sample*, LinuxSampler::AbstractEngine*)’:
InstrumentResourceManager.cpp:705: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
InstrumentResourceManager.cpp:707: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’
InstrumentResourceManager.cpp:707: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
InstrumentResourceManager.cpp: In member function ‘void LinuxSampler::gig::InstrumentResourceManager::UncacheInitialSamples(gig::Sample*)’:
InstrumentResourceManager.cpp:718: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘gig::Sample*’
InstrumentResourceManager.cpp: In member function ‘virtual void LinuxSampler::gig::InstrumentResourceManager::GigResourceManager::Destroy(gig::File*, void*)’:
InstrumentResourceManager.cpp:929: error: ‘class gig::File’ has no member named ‘GetFileName’
In file included from ../common/AbstractVoice.h:33,
from ../common/VoiceBase.h:28,
from Voice.h:40,
from EngineChannel.h:31,
from InstrumentResourceManager.cpp:27:
../common/../EngineBase.h: In member function ‘void LinuxSampler::EngineBase<TV, TRR, TR, TD, TIM, TI>::Suspend(RR*) [with V = LinuxSampler::gig::Voice, RR = gig::Region, R = gig::DimensionRegion, D = LinuxSampler::gig::DiskThread, IM = LinuxSampler::gig::InstrumentResourceManager, I = gig::Instrument]’:
InstrumentResourceManager.cpp:425: instantiated from here
../common/../EngineBase.h:416: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘gig::Region*’
../common/../EngineBase.h:422: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘gig::Region*’
../common/../EngineBase.h: In member function ‘void LinuxSampler::EngineBase<TV, TRR, TR, TD, TIM, TI>::Resume(RR*) [with V = LinuxSampler::gig::Voice, RR = gig::Region, R = gig::DimensionRegion, D = LinuxSampler::gig::DiskThread, IM = LinuxSampler::gig::InstrumentResourceManager, I = gig::Instrument]’:
InstrumentResourceManager.cpp:494: instantiated from here
../common/../EngineBase.h:432: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘gig::Region*’
../common/../EngineBase.h:438: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘gig::Region*’
make[4]: *** [InstrumentResourceManager.lo] Erreur 1
make[4]: quittant le répertoire « /home/famille/Telechargements/linuxsampler/linuxsampler/src/engines/gig »
make[3]: *** [all-recursive] Erreur 1
make[3]: quittant le répertoire « /home/famille/Telechargements/linuxsampler/linuxsampler/src/engines »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/famille/Telechargements/linuxsampler/linuxsampler/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/famille/Telechargements/linuxsampler/linuxsampler »
make: *** [all] Erreur 2
famille@famille:~/Telechargements/linuxsampler/linuxsampler$
I use the last LS sources up to date, from the Subversion repository et I followed the procedure explained by Christian Schoenebeck on his HowTo for Debian (Iused these commands in order : svn for downloading sources package, svn update in the new LS sources folder, autoreconf --install and, after, CXXFLAGS="-O2 -g3" ./configure, and dpkg-buildpackage -rfakeroot -b). I compile LS with alsa and jack support and I use Jack-1.9.7 (jack2). Libgig, libgig-dev and gigtools, compiled with success from Subversion repository, updated to svn2279, are installed on my Ubuntu, before launching the compilation of LS. My kernel is the 2.6.33.19 rt. I've so compiled gigedit updated to svn2279 with success. Pierre

EDIT : For the moment, I decided to return to the version linuxsampler 1.0.0cvs10, compiled via dpkg-buildpackage -rfakeroot -b that runs well on my computer...

EDIT2 28 october : I obtain the same error with the LS svn rev 2280 :
checking if i486-linux-gnu-g++ static flag -static works... yes
checking if i486-linux-gnu-g++ supports -c -o file.o... yes
checking if i486-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the i486-linux-gnu-g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether byte ordering is bigendian... no
checking for i486-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether x86 architecture... yes
checking for mmsystem.h... no
checking whether UNIX98 compatible... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for NPTL bug... no
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 alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
checking for main in -lasound... yes
checking Alsa version... 1.0.22
checking for JACK... yes
checking for jack_client_name_size... yes
checking for jack_client_open... yes
checking jack/midiport.h usability... yes
checking jack/midiport.h presence... yes
checking for jack/midiport.h... yes
checking for jack_midi_get_event_count... yes
checking for i486-linux-gnu-artsc-config... no
checking for artsc-config... no
checking for ARTS artsc - version >= 0.9.5... no
*** The artsc-config script installed by ARTS could not be found
*** If ARTS was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the ARTS_CONFIG environment variable to the
*** full path to artsc-config.
checking for ASIO headerfile: ./ASIOSDK2/common/asio.h ....no
checking MidiShare.h usability... no
checking MidiShare.h presence... no
checking for MidiShare.h... no
checking CoreMIDI/CoreMIDI.h usability... no
checking CoreMIDI/CoreMIDI.h presence... no
checking for CoreMIDI/CoreMIDI.h... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking for mmsystem.h... (cached) no
checking dssi.h usability... no
checking dssi.h presence... no
checking for dssi.h... no
checking for LV2... no
checking lv2.h usability... no
checking lv2.h presence... no
checking for lv2.h... no
checking AudioUnit/AudioUnit.h usability... no
checking AudioUnit/AudioUnit.h presence... no
checking for AudioUnit/AudioUnit.h... no
checking for GIG... yes
yes, found libgig 3.3.0
checking for SNDFILE... yes
yes, found libsndfile 1.0
checking whether SF_FORMAT_VORBIS is declared... yes
checking for SF_INSTRUMENT.loops... yes
checking for SQLITE3... yes
benchmarking for the best (signed) triangular oscillator algorithm... integer math using abs()
benchmarking for the best (unsigned) triangular oscillator algorithm... integer math using abs()
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 for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of i486-linux-gnu-gcc... gcc3
checking dependency style of i486-linux-gnu-g++... gcc3
checking for stdlib.h... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating man/Makefile
config.status: creating man/linuxsampler.1
config.status: creating src/Makefile
config.status: creating src/db/Makefile
config.status: creating src/network/Makefile
config.status: creating src/engines/Makefile
config.status: creating src/engines/gig/Makefile
config.status: creating src/engines/sf2/Makefile
config.status: creating src/engines/sfz/Makefile
config.status: creating src/engines/common/Makefile
config.status: creating src/effects/Makefile
config.status: creating src/common/Makefile
config.status: creating src/testcases/Makefile
config.status: creating src/drivers/Makefile
config.status: creating src/drivers/audio/Makefile
config.status: creating src/drivers/midi/Makefile
config.status: creating src/plugins/Makefile
config.status: creating src/hostplugins/Makefile
config.status: creating src/hostplugins/dssi/Makefile
config.status: creating src/hostplugins/lv2/Makefile
config.status: creating src/hostplugins/vst/Makefile
config.status: creating src/hostplugins/au/Makefile
config.status: creating linuxsampler.spec
config.status: creating debian/Makefile
config.status: creating Artwork/Makefile
config.status: creating scripts/Makefile
config.status: creating osx/Makefile
config.status: creating osx/linuxsampler.xcodeproj/Makefile
config.status: creating Documentation/Makefile
config.status: creating Documentation/Engines/Makefile
config.status: creating Documentation/Engines/gig/Makefile
config.status: creating linuxsampler.pc
config.status: creating Doxyfile
config.status: creating config.h
config.status: executing libtool commands
config.status: executing depfiles commands

#####################################################################
# LinuxSampler Configuration #
#-------------------------------------------------------------------#
# Release Version: 1.0.0.svn15
# LSCP Version: 1.5
#-------------------------------------------------------------------
# Assembly Optimizations: yes
# Development Mode: no
# Debug Level: 1
# Use Exceptions in RT Context: no
# Preload Samples: 32768
# Maximum Pitch: 4 (octaves)
# Maximum Events: 1024
# Envelope Bottom Level: 0.001 (linear)
# Envelope Minimum Release Time: 0.0025 s
# Streams to be refilled per Disk Thread Cycle: 4
# Minimum Stream Refill Size: 1024
# Maximum Stream Refill Size: 65536
# Stream Size: 262144
# Default Maximum Disk Streams: 90
# Default Maximum Voices: 64
# Default Subfragment Size: 32
# Default Global Volume Attenuation: 0.35
# Voice Stealing Algorithm: oldestvoiceonkey
# Signed Triangular Oscillator Algorithm: intmathabs
# Unsigned Triangular Oscillator Algorithm: intmathabs
# SysEx Buffer Size: 2048 Byte
# Min. Portamento Time: 0.1 s
# Max. Portamento Time: 32 s
# Default Portamento Time: 1 s
# Force Filter Usage: no
# Filter Cutoff Minimum: 100.0 Hz
# Filter Cutoff Maximum: 10000.0 Hz
# Override Filter Cutoff Controller: no
# Override Filter Resonance Controller: no
# Override Filter Type: no
# Assert GS SysEx Checksum: no
# Process Muted Channels: no
# Process All-Notes-Off MIDI message: yes
# Apply global volume SysEx by MIDI port: no
# Interpolate Volume: yes
# Instruments database support: yes
# Instruments DB default location: /var/lib/linuxsampler/instruments.db
# Plugin Path: /usr/lib/linuxsampler/plugins
#-------------------------------------------------------------------
# MIDI Input Drivers:
# ALSA: yes, JACK: yes, CoreMIDI: no, MME: no, MidiShare: no
#-------------------------------------------------------------------
# Audio Output Drivers:
# ALSA: yes, JACK: yes, ARTS: no, CoreAudio: no, ASIO: no
#-------------------------------------------------------------------
# Sampler Engines:
# GIG: yes, SF2: yes, SFZ: yes
#-------------------------------------------------------------------
# Effect plugin systems for internal effects:
# LADSPA: yes
#-------------------------------------------------------------------
# Building sampler as plugin for following host standards:
# DSSI: no, LV2: no, VST: no, AU: no
#-------------------------------------------------------------------#
# Read './configure --help' or file 'configure.in' for details. #
#####################################################################

Good. Now type 'make' to compile, followed by 'make install' as root.

touch configure-stamp
dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: entrant dans le répertoire « /home/famille/Bureau/linuxsampler/linuxsampler »
/usr/bin/make all-recursive
make[2]: entrant dans le répertoire « /home/famille/Bureau/linuxsampler/linuxsampler »
Making all in man
make[3]: entrant dans le répertoire « /home/famille/Bureau/linuxsampler/linuxsampler/man »
make[3]: Rien à faire pour « all ».
make[3]: quittant le répertoire « /home/famille/Bureau/linuxsampler/linuxsampler/man »
Making all in src
make[3]: entrant dans le répertoire « /home/famille/Bureau/linuxsampler/linuxsampler/src »
Making all in db
make[4]: entrant dans le répertoire « /home/famille/Bureau/linuxsampler/linuxsampler/src/db »
/bin/bash ../../libtool --tag=CXX --mode=compile i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT liblinuxsamplerdb_la-InstrumentsDb.lo -MD -MP -MF .deps/liblinuxsamplerdb_la-InstrumentsDb.Tpo -c -o liblinuxsamplerdb_la-InstrumentsDb.lo `test -f 'InstrumentsDb.cpp' || echo './'`InstrumentsDb.cpp
libtool: compile: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT liblinuxsamplerdb_la-InstrumentsDb.lo -MD -MP -MF .deps/liblinuxsamplerdb_la-InstrumentsDb.Tpo -c InstrumentsDb.cpp -fPIC -DPIC -o .libs/liblinuxsamplerdb_la-InstrumentsDb.o
libtool: compile: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT liblinuxsamplerdb_la-InstrumentsDb.lo -MD -MP -MF .deps/liblinuxsamplerdb_la-InstrumentsDb.Tpo -c InstrumentsDb.cpp -o liblinuxsamplerdb_la-InstrumentsDb.o >/dev/null 2>&1
mv -f .deps/liblinuxsamplerdb_la-InstrumentsDb.Tpo .deps/liblinuxsamplerdb_la-InstrumentsDb.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT liblinuxsamplerdb_la-InstrumentsDbUtilities.lo -MD -MP -MF .deps/liblinuxsamplerdb_la-InstrumentsDbUtilities.Tpo -c -o liblinuxsamplerdb_la-InstrumentsDbUtilities.lo `test -f 'InstrumentsDbUtilities.cpp' || echo './'`InstrumentsDbUtilities.cpp
libtool: compile: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT liblinuxsamplerdb_la-InstrumentsDbUtilities.lo -MD -MP -MF .deps/liblinuxsamplerdb_la-InstrumentsDbUtilities.Tpo -c InstrumentsDbUtilities.cpp -fPIC -DPIC -o .libs/liblinuxsamplerdb_la-InstrumentsDbUtilities.o
libtool: compile: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT liblinuxsamplerdb_la-InstrumentsDbUtilities.lo -MD -MP -MF .deps/liblinuxsamplerdb_la-InstrumentsDbUtilities.Tpo -c InstrumentsDbUtilities.cpp -o liblinuxsamplerdb_la-InstrumentsDbUtilities.o >/dev/null 2>&1
mv -f .deps/liblinuxsamplerdb_la-InstrumentsDbUtilities.Tpo .deps/liblinuxsamplerdb_la-InstrumentsDbUtilities.Plo
/bin/bash ../../libtool --tag=CXX --mode=link i486-linux-gnu-g++ -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -Wl,-Bsymbolic-functions -o liblinuxsamplerdb.la liblinuxsamplerdb_la-InstrumentsDb.lo liblinuxsamplerdb_la-InstrumentsDbUtilities.lo -lsqlite3 -luuid
libtool: link: ar cru .libs/liblinuxsamplerdb.a .libs/liblinuxsamplerdb_la-InstrumentsDb.o .libs/liblinuxsamplerdb_la-InstrumentsDbUtilities.o
libtool: link: ranlib .libs/liblinuxsamplerdb.a
libtool: link: ( cd ".libs" && rm -f "liblinuxsamplerdb.la" && ln -s "../liblinuxsamplerdb.la" "liblinuxsamplerdb.la" )
make[4]: quittant le répertoire « /home/famille/Bureau/linuxsampler/linuxsampler/src/db »
Making all in network
make[4]: entrant dans le répertoire « /home/famille/Bureau/linuxsampler/linuxsampler/src/network »
../../scripts/generate_parser.sh
Searching for a parser generator...OK (/usr/bin/bison -y)
Generating LSCP parser...
conflits: 1801 décalage/réduction, 1045 réduction/réduction
conflits: 1801 décalage/réduction, 1045 réduction/réduction
Done
Updating Documentation/lscp.xml...Done
/bin/bash ../../libtool --tag=CXX --mode=compile i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT lscpparser.lo -MD -MP -MF .deps/lscpparser.Tpo -c -o lscpparser.lo lscpparser.cpp
libtool: compile: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT lscpparser.lo -MD -MP -MF .deps/lscpparser.Tpo -c lscpparser.cpp -fPIC -DPIC -o .libs/lscpparser.o
libtool: compile: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT lscpparser.lo -MD -MP -MF .deps/lscpparser.Tpo -c lscpparser.cpp -o lscpparser.o >/dev/null 2>&1
mv -f .deps/lscpparser.Tpo .deps/lscpparser.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT lscpserver.lo -MD -MP -MF .deps/lscpserver.Tpo -c -o lscpserver.lo lscpserver.cpp
libtool: compile: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT lscpserver.lo -MD -MP -MF .deps/lscpserver.Tpo -c lscpserver.cpp -fPIC -DPIC -o .libs/lscpserver.o
libtool: compile: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT lscpserver.lo -MD -MP -MF .deps/lscpserver.Tpo -c lscpserver.cpp -o lscpserver.o >/dev/null 2>&1
mv -f .deps/lscpserver.Tpo .deps/lscpserver.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT lscpresultset.lo -MD -MP -MF .deps/lscpresultset.Tpo -c -o lscpresultset.lo lscpresultset.cpp
libtool: compile: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT lscpresultset.lo -MD -MP -MF .deps/lscpresultset.Tpo -c lscpresultset.cpp -fPIC -DPIC -o .libs/lscpresultset.o
libtool: compile: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT lscpresultset.lo -MD -MP -MF .deps/lscpresultset.Tpo -c lscpresultset.cpp -o lscpresultset.o >/dev/null 2>&1
mv -f .deps/lscpresultset.Tpo .deps/lscpresultset.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT lscpevent.lo -MD -MP -MF .deps/lscpevent.Tpo -c -o lscpevent.lo lscpevent.cpp
libtool: compile: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT lscpevent.lo -MD -MP -MF .deps/lscpevent.Tpo -c lscpevent.cpp -fPIC -DPIC -o .libs/lscpevent.o
libtool: compile: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT lscpevent.lo -MD -MP -MF .deps/lscpevent.Tpo -c lscpevent.cpp -o lscpevent.o >/dev/null 2>&1
mv -f .deps/lscpevent.Tpo .deps/lscpevent.Plo
/bin/bash ../../libtool --tag=CXX --mode=link i486-linux-gnu-g++ -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -Wl,-Bsymbolic-functions -o liblinuxsamplernetwork.la lscpparser.lo lscpserver.lo lscpresultset.lo lscpevent.lo -luuid
libtool: link: ar cru .libs/liblinuxsamplernetwork.a .libs/lscpparser.o .libs/lscpserver.o .libs/lscpresultset.o .libs/lscpevent.o
libtool: link: ranlib .libs/liblinuxsamplernetwork.a
libtool: link: ( cd ".libs" && rm -f "liblinuxsamplernetwork.la" && ln -s "../liblinuxsamplernetwork.la" "liblinuxsamplernetwork.la" )
make[4]: quittant le répertoire « /home/famille/Bureau/linuxsampler/linuxsampler/src/network »
Making all in engines
make[4]: entrant dans le répertoire « /home/famille/Bureau/linuxsampler/linuxsampler/src/engines »
Making all in gig
make[5]: entrant dans le répertoire « /home/famille/Bureau/linuxsampler/linuxsampler/src/engines/gig »
/bin/bash ../../../libtool --tag=CXX --mode=compile i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT DiskThread.lo -MD -MP -MF .deps/DiskThread.Tpo -c -o DiskThread.lo DiskThread.cpp
libtool: compile: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT DiskThread.lo -MD -MP -MF .deps/DiskThread.Tpo -c DiskThread.cpp -fPIC -DPIC -o .libs/DiskThread.o
libtool: compile: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT DiskThread.lo -MD -MP -MF .deps/DiskThread.Tpo -c DiskThread.cpp -o DiskThread.o >/dev/null 2>&1
mv -f .deps/DiskThread.Tpo .deps/DiskThread.Plo
/bin/bash ../../../libtool --tag=CXX --mode=compile i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT EGADSR.lo -MD -MP -MF .deps/EGADSR.Tpo -c -o EGADSR.lo EGADSR.cpp
libtool: compile: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT EGADSR.lo -MD -MP -MF .deps/EGADSR.Tpo -c EGADSR.cpp -fPIC -DPIC -o .libs/EGADSR.o
libtool: compile: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT EGADSR.lo -MD -MP -MF .deps/EGADSR.Tpo -c EGADSR.cpp -o EGADSR.o >/dev/null 2>&1
mv -f .deps/EGADSR.Tpo .deps/EGADSR.Plo
/bin/bash ../../../libtool --tag=CXX --mode=compile i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT EGDecay.lo -MD -MP -MF .deps/EGDecay.Tpo -c -o EGDecay.lo EGDecay.cpp
libtool: compile: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT EGDecay.lo -MD -MP -MF .deps/EGDecay.Tpo -c EGDecay.cpp -fPIC -DPIC -o .libs/EGDecay.o
EGDecay.cpp: In member function ‘void LinuxSampler::gig::EGDecay::trigger(float, float, unsigned int)’:
EGDecay.cpp:40: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘double’
libtool: compile: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT EGDecay.lo -MD -MP -MF .deps/EGDecay.Tpo -c EGDecay.cpp -o EGDecay.o >/dev/null 2>&1
mv -f .deps/EGDecay.Tpo .deps/EGDecay.Plo
/bin/bash ../../../libtool --tag=CXX --mode=compile i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT Engine.lo -MD -MP -MF .deps/Engine.Tpo -c -o Engine.lo Engine.cpp
libtool: compile: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT Engine.lo -MD -MP -MF .deps/Engine.Tpo -c Engine.cpp -fPIC -DPIC -o .libs/Engine.o
In file included from Engine.h:29,
from Engine.cpp:25:
../EngineBase.h: In member function ‘void LinuxSampler::EngineBase<TV, TRR, TR, TD, TIM, TI>::ProcessHardcodedControllers(LinuxSampler::EngineChannel*, RTListBase<LinuxSampler::Event>::_Iterator<LinuxSampler::Event>&) [with V = LinuxSampler::gig::Voice, RR = gig::Region, R = gig::DimensionRegion, D = LinuxSampler::gig::DiskThread, IM = LinuxSampler::gig::InstrumentResourceManager, I = gig::Instrument]’:
Engine.cpp:106: instantiated from here
../EngineBase.h:936: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘double’
Engine.cpp:106: instantiated from here
../EngineBase.h:944: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘double’
../EngineBase.h: In member function ‘void LinuxSampler::EngineBase<TV, TRR, TR, TD, TIM, TI>::Suspend(RR*) [with V = LinuxSampler::gig::Voice, RR = gig::Region, R = gig::DimensionRegion, D = LinuxSampler::gig::DiskThread, IM = LinuxSampler::gig::InstrumentResourceManager, I = gig::Instrument]’:
Engine.cpp:325: instantiated from here
../EngineBase.h:416: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘gig::Region*’
../EngineBase.h:422: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘gig::Region*’
../EngineBase.h: In member function ‘void LinuxSampler::EngineBase<TV, TRR, TR, TD, TIM, TI>::Resume(RR*) [with V = LinuxSampler::gig::Voice, RR = gig::Region, R = gig::DimensionRegion, D = LinuxSampler::gig::DiskThread, IM = LinuxSampler::gig::InstrumentResourceManager, I = gig::Instrument]’:
Engine.cpp:325: instantiated from here
../EngineBase.h:432: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘gig::Region*’
../EngineBase.h:438: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘gig::Region*’
libtool: compile: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT Engine.lo -MD -MP -MF .deps/Engine.Tpo -c Engine.cpp -o Engine.o >/dev/null 2>&1
mv -f .deps/Engine.Tpo .deps/Engine.Plo
/bin/bash ../../../libtool --tag=CXX --mode=compile i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT Filter.lo -MD -MP -MF .deps/Filter.Tpo -c -o Filter.lo Filter.cpp
libtool: compile: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT Filter.lo -MD -MP -MF .deps/Filter.Tpo -c Filter.cpp -fPIC -DPIC -o .libs/Filter.o
libtool: compile: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT Filter.lo -MD -MP -MF .deps/Filter.Tpo -c Filter.cpp -o Filter.o >/dev/null 2>&1
mv -f .deps/Filter.Tpo .deps/Filter.Plo
/bin/bash ../../../libtool --tag=CXX --mode=compile i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT InstrumentResourceManager.lo -MD -MP -MF .deps/InstrumentResourceManager.Tpo -c -o InstrumentResourceManager.lo InstrumentResourceManager.cpp
libtool: compile: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I/usr/local/include -Wreturn-type -ffast-math -march=core2 -O2 -pipe -fomit-frame-pointer -pthread -MT InstrumentResourceManager.lo -MD -MP -MF .deps/InstrumentResourceManager.Tpo -c InstrumentResourceManager.cpp -fPIC -DPIC -o .libs/InstrumentResourceManager.o
InstrumentResourceManager.cpp: In static member function ‘static void LinuxSampler::gig::InstrumentResourceManager::OnInstrumentLoadingProgress(gig::progress_t*)’:
InstrumentResourceManager.cpp:79: warning: spurious trailing ‘%’ in format
InstrumentResourceManager.cpp: In member function ‘virtual void LinuxSampler::gig::InstrumentResourceManager::CacheInitialSamples(gig::Sample*, LinuxSampler::AbstractEngine*)’:
InstrumentResourceManager.cpp:705: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
InstrumentResourceManager.cpp:707: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’
InstrumentResourceManager.cpp:707: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
InstrumentResourceManager.cpp: In member function ‘void LinuxSampler::gig::InstrumentResourceManager::UncacheInitialSamples(gig::Sample*)’:
InstrumentResourceManager.cpp:718: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘gig::Sample*’
InstrumentResourceManager.cpp: In member function ‘virtual void LinuxSampler::gig::InstrumentResourceManager::GigResourceManager::Destroy(gig::File*, void*)’:
InstrumentResourceManager.cpp:929: error: ‘class gig::File’ has no member named ‘GetFileName’
In file included from ../common/AbstractVoice.h:33,
from ../common/VoiceBase.h:28,
from Voice.h:40,
from EngineChannel.h:31,
from InstrumentResourceManager.cpp:27:
../common/../EngineBase.h: In member function ‘void LinuxSampler::EngineBase<TV, TRR, TR, TD, TIM, TI>::Suspend(RR*) [with V = LinuxSampler::gig::Voice, RR = gig::Region, R = gig::DimensionRegion, D = LinuxSampler::gig::DiskThread, IM = LinuxSampler::gig::InstrumentResourceManager, I = gig::Instrument]’:
InstrumentResourceManager.cpp:425: instantiated from here
../common/../EngineBase.h:416: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘gig::Region*’
../common/../EngineBase.h:422: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘gig::Region*’
../common/../EngineBase.h: In member function ‘void LinuxSampler::EngineBase<TV, TRR, TR, TD, TIM, TI>::Resume(RR*) [with V = LinuxSampler::gig::Voice, RR = gig::Region, R = gig::DimensionRegion, D = LinuxSampler::gig::DiskThread, IM = LinuxSampler::gig::InstrumentResourceManager, I = gig::Instrument]’:
InstrumentResourceManager.cpp:494: instantiated from here
../common/../EngineBase.h:432: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘gig::Region*’
../common/../EngineBase.h:438: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘gig::Region*’
make[5]: *** [InstrumentResourceManager.lo] Erreur 1
make[5]: quittant le répertoire « /home/famille/Bureau/linuxsampler/linuxsampler/src/engines/gig »
make[4]: *** [all-recursive] Erreur 1
make[4]: quittant le répertoire « /home/famille/Bureau/linuxsampler/linuxsampler/src/engines »
make[3]: *** [all-recursive] Erreur 1
make[3]: quittant le répertoire « /home/famille/Bureau/linuxsampler/linuxsampler/src »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/famille/Bureau/linuxsampler/linuxsampler »
make[1]: *** [all] Erreur 2
make[1]: quittant le répertoire « /home/famille/Bureau/linuxsampler/linuxsampler »
make: *** [build-stamp] Erreur 2
dpkg-buildpackage: erreur: debian/rules build a produit une erreur de sortie de type 2
famille@famille:~/Bureau/linuxsampler/linuxsampler$
I compiled with (in debian/rules) CHOST=i686-pc-linux-gnu CFLAGS= -march=core2 -O2 -pipe -fomit-frame-pointer, CXXFLAGS=${CFLAGS}

EDIT october 31 : same problem and error with the v2281...

EDIT 16 february 2012 : compiled with success the last revision until Revision 2314. I close this post.
Core 2 duo E4300, 2Go RAM, motherboard Gigabyte, Nvidia 7950GT, distribution Tango Studio 1.1 (based on Ubuntu 10.04 LTS, but optimized for audio applications). My site : http://www.bruynooghe.fr

Post Reply