Good Day

As observed by Daniel, I have also come across a build failure for the  
update to the qt4-based qsynth application.

On Jul 9, 2010, at 7:10 PM, Daniel Johnson wrote:

> I'm seeing a build failure with the latest qsynth from the tracker:
>
>  make
> cd src/ && /sw/lib/qt4-mac/bin/qmake /sw/src/fink.build/ 
> qsynth-0.3.5-350/qsynth-0.3.5/src/src.pro -macx -o qsynth.mak
> cd src/ && make -f qsynth.mak
> /sw/lib/qt4-mac/bin/uic qsynthAboutForm.ui -o .ui/ui_qsynthAboutForm.h
> /sw/lib/qt4-mac/bin/uic qsynthChannelsForm.ui -o .ui/ 
> ui_qsynthChannelsForm.h
> /sw/lib/qt4-mac/bin/uic qsynthMainForm.ui -o .ui/ui_qsynthMainForm.h
> /sw/lib/qt4-mac/bin/uic qsynthMessagesForm.ui -o .ui/ 
> ui_qsynthMessagesForm.h
> /sw/lib/qt4-mac/bin/uic qsynthOptionsForm.ui -o .ui/ 
> ui_qsynthOptionsForm.h
> /sw/lib/qt4-mac/bin/uic qsynthPresetForm.ui -o .ui/ 
> ui_qsynthPresetForm.h
> /sw/lib/qt4-mac/bin/uic qsynthSetupForm.ui -o .ui/ui_qsynthSetupForm.h
> g++-4.2 -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version- 
> min=10.5 -Wall -W -DDATADIR="/sw/share" -DPKGDATADIR="" - 
> DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/sw/lib/qt4- 
> mac/mkspecs/macx-g++42 -I. -I/sw/lib/qt4-mac/lib/QtCore.framework/ 
> Versions/4/Headers -I/sw/lib/qt4-mac/include/QtCore -I/sw/lib/qt4- 
> mac/lib/QtGui.framework/Versions/4/Headers -I/sw/lib/qt4-mac/include/ 
> QtGui -I/sw/lib/qt4-mac/include -I. -I/sw/lib/qt4-mac/include -I/sw/ 
> lib/qt4-mac/include/qt -I/usr/local/include -I/usr/include -I.moc - 
> I.ui -F/sw/lib/qt4-mac/lib -o .obj/qsynth.o qsynth.cpp
> In file included from qsynthOptions.h:25,
>                 from qsynth.cpp:23:
> qsynthSetup.h:28:24: error: fluidsynth.h: No such file or directory
> In file included from qsynthOptions.h:25,
>                 from qsynth.cpp:23:
> qsynthSetup.h:48: error: ISO C++ forbids declaration of  
> 'fluid_settings_t' with no type
> qsynthSetup.h:48: error: expected ';' before '*' token
> qsynthSetup.h:107: error: ISO C++ forbids declaration of  
> 'fluid_settings_t' with no type
> qsynthSetup.h:107: error: expected ';' before '*' token
> make[2]: *** [.obj/qsynth.o] Error 1
> make[1]: *** [sub-src-make_default] Error 2
> make: *** [src/qsynth] Error 2
> ### execution of /var/tmp/tmp.1.Sic6XC failed, exit code 2

   make
cd src/ && /sw/lib/qt4-mac/bin/qmake /sw/src/fink.build/ 
qsynth-0.3.5-350/qsynth-0.3.5/src/src.pro -macx -o qsynth.mak
cd src/ && make -f qsynth.mak
/sw/lib/qt4-mac/bin/uic qsynthAboutForm.ui -o .ui/ui_qsynthAboutForm.h
/sw/lib/qt4-mac/bin/uic qsynthChannelsForm.ui -o .ui/ 
ui_qsynthChannelsForm.h
/sw/lib/qt4-mac/bin/uic qsynthMainForm.ui -o .ui/ui_qsynthMainForm.h
/sw/lib/qt4-mac/bin/uic qsynthMessagesForm.ui -o .ui/ 
ui_qsynthMessagesForm.h
/sw/lib/qt4-mac/bin/uic qsynthOptionsForm.ui -o .ui/ 
ui_qsynthOptionsForm.h
/sw/lib/qt4-mac/bin/uic qsynthPresetForm.ui -o .ui/ui_qsynthPresetForm.h
/sw/lib/qt4-mac/bin/uic qsynthSetupForm.ui -o .ui/ui_qsynthSetupForm.h
g++-4.2 -c -pipe -O2 -arch ppc -Wall -W -DDATADIR="/sw/share" - 
DPKGDATADIR="" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/ 
sw/lib/qt4-mac/mkspecs/macx-g++42 -I. -I/sw/lib/qt4-mac/lib/ 
QtCore.framework/Versions/4/Headers -I/sw/lib/qt4-mac/include/QtCore - 
I/sw/lib/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/sw/lib/qt4- 
mac/include/QtGui -I/sw/lib/qt4-mac/include -I. -I/sw/lib/qt4-mac/ 
include -I/sw/lib/qt4-mac/include/qt -I/usr/include -I.moc -I.ui -F/sw/ 
lib/qt4-mac/lib -o .obj/qsynth.o qsynth.cpp
In file included from qsynthOptions.h:25,
                  from qsynth.cpp:23:
qsynthSetup.h:28:24: error: fluidsynth.h: No such file or directory
In file included from qsynthOptions.h:25,
                  from qsynth.cpp:23:
qsynthSetup.h:48: error: ISO C++ forbids declaration of  
'fluid_settings_t' with no type
qsynthSetup.h:48: error: expected ';' before '*' token
qsynthSetup.h:107: error: ISO C++ forbids declaration of  
'fluid_settings_t' with no type
qsynthSetup.h:107: error: expected ';' before '*' token
make[2]: *** [.obj/qsynth.o] Error 1
make[1]: *** [sub-src-make_default] Error 2
make: *** [src/qsynth] Error 2
### execution of /var/tmp/tmp.0.iiCpf0 failed, exit code 2
### execution of /var/tmp/tmp.4.TU6CCD failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-qsynth-0.3.5-350
(Reading database ... 166003 files and directories currently installed.)
Removing fink-buildlock-qsynth-0.3.5-350 ...
Failed: phase compiling: qsynth-0.3.5-350 failed

Even though

ConfigureParams: --with-qt=%p/lib/qt4-mac LDFLAGS="-L%p/lib"  
CPPFLAGS="-I%p/include"

is in the info file, there is no -I/sw/include on the compile line.  
Adding

SetCPPFLAGS: -I%p/include

does not make a difference.

Any ideas why the above error occurs and how I could remedy it.

Thanks in advance.
Ebrahim


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to