[Vm-dev] Error when compiling the unix vm for MacOS

Mathieu Suen mathk.sue at gmail.com
Fri Sep 5 12:13:46 UTC 2008


Hi,

 From the latest svn update gcc complain about a missing header:

$ make
make[1]: `vm.a' is up to date.
make[1]: `ADPCMCodecPlugin.a' is up to date.
make[1]: `AsynchFilePlugin.a' is up to date.
make[1]: `BMPReadWriterPlugin.a' is up to date.
make[1]: `B2DPlugin.a' is up to date.
make[1]: `BitBltPlugin.a' is up to date.
make[1]: `CroquetPlugin.a' is up to date.
make[1]: `DSAPrims.a' is up to date.
make[1]: `ZipPlugin.a' is up to date.
make[1]: `DropPlugin.a' is up to date.
make[1]: `FFTPlugin.a' is up to date.
make[1]: `FilePlugin.a' is up to date.
make[1]: `FloatArrayPlugin.a' is up to date.
make[1]: `FloatMathPlugin.a' is up to date.
make[1]: `GeniePlugin.a' is up to date.
make[1]: `JPEGReadWriter2Plugin.a' is up to date.
make[1]: `JPEGReaderPlugin.a' is up to date.
make[1]: `JoystickTabletPlugin.a' is up to date.
make[1]: `Klatt.a' is up to date.
make[1]: `LargeIntegers.a' is up to date.
make[1]: `LocalePlugin.a' is up to date.
make[1]: `Matrix2x3Plugin.a' is up to date.
make[1]: `MiscPrimitivePlugin.a' is up to date.
make[1]: `Mpeg3Plugin.a' is up to date.
make[1]: `RePlugin.a' is up to date.
make[1]: `SecurityPlugin.a' is up to date.
make[1]: `SerialPlugin.a' is up to date.
make[1]: `SocketPlugin.a' is up to date.
make[1]: `SoundCodecPrims.a' is up to date.
make[1]: `SoundGenerationPlugin.a' is up to date.
make[1]: `SoundPlugin.a' is up to date.
make[1]: `StarSqueakPlugin.a' is up to date.
make[1]: `SurfacePlugin.a' is up to date.
make[1]: `vm-display-Quartz.la' is up to date.
make[1]: `vm-display-X11.la' is up to date.
make[1]: `vm-display-null.la' is up to date.
make[1]: `vm-sound-MacOSX.la' is up to date.
make[1]: `vm-sound-null.la' is up to date.
make[1]: `B3DAcceleratorPlugin.la' is up to date.
make[1]: `Squeak3D.la' is up to date.
make[1]: `ClipboardExtendedPlugin.la' is up to date.
make[1]: `DBusPlugin.la' is up to date.
make[1]: `FileCopyPlugin.la' is up to date.
/bin/sh /Users/mathk/Documents/Squeak/SqueakVM/build/libtool -- 
mode=compile gcc -g -O2 -fomit-frame-pointer -DLSB_FIRST=1  - 
DHAVE_CONFIG_H  -I/Users/mathk/Documents/Squeak/SqueakVM/build -I/ 
Users/mathk/Documents/Squeak/SqueakVM/platforms/unix/vm -I/Users/mathk/ 
Documents/Squeak/SqueakVM/platforms/Cross/vm -I/Users/mathk/Documents/ 
Squeak/SqueakVM/platforms/unix/src/vm   -D_REENTRANT -I/opt/local/ 
include/gstreamer-0.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/ 
glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2  -c  
-o GStreamerPlugin.lo /Users/mathk/Documents/Squeak/SqueakVM/platforms/ 
unix/src/plugins/GStreamerPlugin/GStreamerPlugin.c
gcc -g -O2 -fomit-frame-pointer -DLSB_FIRST=1 -DHAVE_CONFIG_H -I/Users/ 
mathk/Documents/Squeak/SqueakVM/build -I/Users/mathk/Documents/Squeak/ 
SqueakVM/platforms/unix/vm -I/Users/mathk/Documents/Squeak/SqueakVM/ 
platforms/Cross/vm -I/Users/mathk/Documents/Squeak/SqueakVM/platforms/ 
unix/src/vm -D_REENTRANT -I/opt/local/include/gstreamer-0.10 -I/opt/ 
local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/ 
include -I/opt/local/include/libxml2 -c /Users/mathk/Documents/Squeak/ 
SqueakVM/platforms/unix/src/plugins/GStreamerPlugin/GStreamerPlugin.c   
-fno-common -DPIC -DPIC -o GStreamerPlugin.o
/Users/mathk/Documents/Squeak/SqueakVM/platforms/unix/src/plugins/ 
GStreamerPlugin/GStreamerPlugin.c:32:53: error:  
squeakAudioVideoPipeLineSignalInterface.h: No such file or directory
/Users/mathk/Documents/Squeak/SqueakVM/platforms/unix/src/plugins/ 
GStreamerPlugin/GStreamerPlugin.c: In function 'cbnewpad':
/Users/mathk/Documents/Squeak/SqueakVM/platforms/unix/src/plugins/ 
GStreamerPlugin/GStreamerPlugin.c:207: warning: passing argument 1 of  
'gst_pad_get_caps' makes pointer from integer without a cast
/Users/mathk/Documents/Squeak/SqueakVM/platforms/unix/src/plugins/ 
GStreamerPlugin/GStreamerPlugin.c:210: warning: passing argument 1 of  
'gst_pad_link' makes pointer from integer without a cast
/Users/mathk/Documents/Squeak/SqueakVM/platforms/unix/src/plugins/ 
GStreamerPlugin/GStreamerPlugin.c: In function  
'primitiveSqueakSinkAllocate':
/Users/mathk/Documents/Squeak/SqueakVM/platforms/unix/src/plugins/ 
GStreamerPlugin/GStreamerPlugin.c:290: error:  
'SqueakAudioVideoSinkPtr' undeclared (first use in this function)
/Users/mathk/Documents/Squeak/SqueakVM/platforms/unix/src/plugins/ 
GStreamerPlugin/GStreamerPlugin.c:290: error: (Each undeclared  
identifier is reported only once
/Users/mathk/Documents/Squeak/SqueakVM/platforms/unix/src/plugins/ 
GStreamerPlugin/GStreamerPlugin.c:290: error: for each function it  
appears in.)
/Users/mathk/Documents/Squeak/SqueakVM/platforms/unix/src/plugins/ 
GStreamerPlugin/GStreamerPlugin.c:290: error: syntax error before  
'squeaker'
...


Any idea?
Thanks

	Mth






More information about the Vm-dev mailing list