Problem compiling qt3/win32

Ivica Sarec induktivi at web.de
Mon May 24 23:35:27 CEST 2004


IVAN DE JESUS DERAS TABORA wrote:

>This usually happen when i have an old Makefile in the
>same directory as configure, check this.  The solution
>is to rename the Makefile or delete it, and run
>config.cygwin again!!!
>Note: configure script create the Makefile again,
>because of that, there is no problem on deleting the
>existing Makefile.
>
>Hope this help!!!
>
> --- Ivica Sarec <induktivi at web.de> escribió: > Hello,
>  
>
>>this is the first time I use cygwin and I wanted to
>>test qt under winxp 
>>because I use qt under linux too.
>>So I´ve followed the instructions as described on: 
>>
>>    
>>
>http://kde-cygwin.sourceforge.net/qt3-win32/compiling.php
>  
>
>>to compile 
>>qt3/win32.
>>After preparing the configuration with "make -f
>>Makefile.cvs" the 
>>problem begins.
>>At step 7 I wanted to configure qt with ".
>>config.cygwin" and received 
>>the following error message: "You don't seem to have
>>'make' or 'gmake' 
>>in your PATH. Cannot proceed"
>>
>>In the qt-dir I search for the make-command:
>>$ make -v
>>GNU Make 3.80
>>Copyright (C) 2002  Free Software Foundation, Inc.
>>This is free software; see the source for copying
>>conditions.
>>There is NO warranty; not even for MERCHANTABILITY
>>or FITNESS FOR A
>>PARTICULAR PURPOSE.
>>
>>As the make-command is available I don't know what
>>to do.
>>Can somebody help me please?
>>
>>Thanks.
>>Ivica Sarec
>>
>>_______________________________________________
>>kde-cygwin mailing list
>>kde-cygwin at kde.org
>>https://mail.kde.org/mailman/listinfo/kde-cygwin 
>>    
>>
>
>
>		
>______________________________________________________________________
>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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-cygwin/attachments/20040524/b344f47d/attachment.html


More information about the kde-cygwin mailing list