Problem compiling qt3/win32
Phil Reid
jcn at maxnet.co.nz
Tue May 25 08:41:57 CEST 2004
G'day,
I've had all the same problems
My fix for the config script was to edit it thou.
To fix the library issue I had to add winmm to the list of libs in
src/Makefile
Not sure where I'm really suspose to add it so this gets done when the
makefile is created.
YMMV
phil
>>
>>
>>______________________________________________________________________
>>Correo Yahoo! - 6MB, más protección contra el spam ¡Gratis!
>>http://correo.yahoo.es
>>_______________________________________________
>>kde-cygwin mailing list
>>kde-cygwin at kde.org
>>https://mail.kde.org/mailman/listinfo/kde-cygwin
>>
>>
> I've renamed the Makefile.
> Now the config script finished successfully and created qmake and the
> Makefiles.
> But after the make script has created all objects the linking breaks
> with the following message:
>
> -L/usr/local/lib -L/usr/X11R6/lib -lgdi32 -lpng -lz -lcygwin
> .obj/debug-shared/qsound_win.o(.text+0xbf): In function
> `_ZN10PlayObject4playEv':
> /usr/local/qt/src/kernel/qsound_win.cpp:133: undefined reference to
> `_waveOutGetNumDevs at 0'
> .obj/debug-shared/qsound_win.o(.text+0xcb):/usr/local/qt/src/kernel/qsound_win.cpp:135:
> undefined reference to `_waveOut
> GetNumDevs at 0'
> .obj/debug-shared/qsound_win.o(.text+0x114):/usr/local/qt/src/kernel/qsound_win.cpp:138:
> undefined reference to `_waveOu
> tOpen at 24'
> .obj/debug-shared/qsound_win.o(.text+0x141):/usr/local/qt/src/kernel/qsound_win.cpp:144:
> undefined reference to `_waveOu
> tGetVolume at 8'
> .obj/debug-shared/qsound_win.o(.text+0x20a):/usr/local/qt/src/kernel/qsound_win.cpp:150:
> undefined reference to `_waveOu
> tSetVolume at 8'
> .obj/debug-shared/qsound_win.o(.text+0x22c):/usr/local/qt/src/kernel/qsound_win.cpp:153:
> undefined reference to `_waveOu
> tPrepareHeader at 12'
> .obj/debug-shared/qsound_win.o(.text+0x25b):/usr/local/qt/src/kernel/qsound_win.cpp:155:
> undefined reference to `_waveOu
> tWrite at 12'
> .obj/debug-shared/qsound_win.o(.text+0x28b): In function
> `_ZN10PlayObjectD2Ev':
> /usr/local/qt/src/kernel/qsound_win.cpp:162: undefined reference to
> `_waveOutClose at 4'
> .obj/debug-shared/qsound_win.o(.text+0x2a3): In function
> `_ZN10PlayObjectD1Ev':
> /usr/local/qt/src/kernel/qsound_win.cpp:162: undefined reference to
> `_waveOutClose at 4'
> .obj/debug-shared/qsound_win.o(.text+0x309): In function
> `_Z11WaveOutProcP10HWAVEOUT__jmmm':
> /usr/local/qt/src/kernel/qsound_win.cpp:179: undefined reference to
> `_waveOutWrite at 12'
> .obj/debug-shared/qsound_win.o(.text+0x328):/usr/local/qt/src/kernel/qsound_win.cpp:182:
> undefined reference to `_waveOu
> tUnprepareHeader at 12'
> collect2: ld returned 1 exit status
> make: *** [../lib/../bin/cygqt-3.dll] Error 1
>
> What can I do?
>
>------------------------------------------------------------------------
>
>_______________________________________________
>kde-cygwin mailing list
>kde-cygwin at kde.org
>https://mail.kde.org/mailman/listinfo/kde-cygwin
>
>
More information about the kde-cygwin
mailing list