[Clam-devel] Windows MinGW cross compile/Crosscompiling portaudio errors

Pol Pros polpros at hotmail.com
Mon Dec 10 11:48:31 PST 2007


Hi David, Pau,

- I create SConstruct.crossmingw

- I verify that in the file portaudio/src/hostapi/dsound/pa_win_ds_dynlink.h appears this line:
#include 

- And when I execute scons -f SConstruct.crossmingw I obtain the following erors:

$ scons -f SConstruct.crossmingw
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
i586-mingw32msvc-gcc -o src/os/win/pa_win_wdmks_utils.o -c -DBUILDING_DLL=1 -I/home/pol/pfc/testfarm/asiosdk2 -I/home/pol/pfc/testfarm/asiosdk2/common -I/home/pol/pfc/testfarm/asiosdk2/host -I/home/pol/pfc/testfarm/asiosdk2/host/pc -I/home/pol/pfc/testfarm/directx/include -Isrc/common -Isrc/os/win -Iinclude src/os/win/pa_win_wdmks_utils.c
...
       (some warnings)
...
src/os/win/pa_win_wdmks_utils.c: In function `WdmGetPinPropertySimple':
src/os/win/pa_win_wdmks_utils.c:64: error: `FILE_DEVICE_KS' undeclared (first use in this function)
src/os/win/pa_win_wdmks_utils.c:64: error: (Each undeclared identifier is reported only once
src/os/win/pa_win_wdmks_utils.c:64: error: for each function it appears in.)
src/os/win/pa_win_wdmks_utils.c:64: error: `METHOD_NEITHER' undeclared (first use in this function)
src/os/win/pa_win_wdmks_utils.c:64: error: `FILE_ANY_ACCESS' undeclared (first use in this function)
src/os/win/pa_win_wdmks_utils.c: In function `WdmGetPinPropertyMulti':
src/os/win/pa_win_wdmks_utils.c:94: error: `FILE_DEVICE_KS' undeclared (first use in this function)
src/os/win/pa_win_wdmks_utils.c:94: error: `METHOD_NEITHER' undeclared (first use in this function)
src/os/win/pa_win_wdmks_utils.c:94: error: `FILE_ANY_ACCESS' undeclared (first use in this function)
src/os/win/pa_win_wdmks_utils.c: In function `PaWin_WDMKS_QueryFilterMaximumChannelCount':
src/os/win/pa_win_wdmks_utils.c:223: error: `KSDATAFORMAT_SUBTYPE_IEEE_FLOAT' undeclared (first use in this function)
scons: *** [src/os/win/pa_win_wdmks_utils.o] Error 1
scons: building terminated because of errors.

Any idea?
_________________________________________________________________
Tecnología, moda, motor, viajes,…suscríbete a nuestros boletines para estar a la última
http://newsletters.msn.com/hm/maintenanceeses.asp?L=ES&C=ES&P=WCMaintenance&Brand=WL&RU=http%3a%2f%2fmail.live.com



More information about the clam-devel mailing list