Error compiling on Windows mingw

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Error compiling on Windows mingw

Mathieu Suen-2
Hi

With the latest Paolo's master branch on windows I have a compile issue.
The error is:

make[1]: Entering directory `/d/smalltalk/+buildmaster/packages/glib'
/bin/sh ../../libtool --tag=CC   --mode=link gcc -mms-bitfields
-IC:/MinGW/msys/1.0/include/glib-2.0 -IC:/MinGW/msys/1.0/lib/glib-2.0/include  
-mm
nclude/glib-2.0 -IC:/MinGW/msys/1.0/lib/glib-2.0/include   -O2 -g -march=i486
-I/usr/local/lib/libffi-3.0.9/include -Wall -Wdeclaration-after-state
-Wno-pointer-sign -Wwrite-strings -Wno-strict-aliasing -Wno-switch -fno-gcse
-fstrict-aliasing  -version-info 1:0:0 -no-undefined -L/usr/local/bin
local/lib gst-gobject.lo -LC:/MinGW/msys/1.0/lib -lgobject-2.0 -lgthread-2.0
-lglib-2.0 -lintl   -LC:/MinGW/msys/1.0/lib -lgthread-2.0 -lglib-2.0 -
m

*** Warning: This system can not link to static lib archive
../../libgst/libgst.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
libtool: link: rm -fr  .libs/libgst-gobject.dll.a
libtool: link: gcc -shared  .libs/gst-gobject.o   -L/usr/local/bin
-LC:/MinGW/msys/1.0/lib -lgobject-2.0 -L/usr/lib -lgthread-2.0 -lglib-2.0 /usr/l
v.dll.a -L/usr/local/lib -lws2_32 -lffi /usr/lib/libltdl.dll.a -lpthread
 -mms-bitfields -mms-bitfields -O2 -march=i486   -o .libs/libgst-gobject-1
 -Xlinker --out-implib -Xlinker .libs/libgst-gobject.dll.a
Creating library file: .libs/libgst-gobject.dll.a
.libs/gst-gobject.o: In function `g_type_oop_value_copy':
d:\smalltalk\+buildmaster\packages\glib/../../../packages/glib/gst-gobject.c:89:
undefined reference to `gst_register_oop'
.libs/gst-gobject.o: In function `finalize_smalltalk_closure':
d:\smalltalk\+buildmaster\packages\glib/../../../packages/glib/gst-gobject.c:386:
 undefined reference to `gst_unregister_oop'
d:\smalltalk\+buildmaster\packages\glib/../../../packages/glib/gst-gobject.c:387:
 undefined reference to `gst_unregister_oop'
.libs/gst-gobject.o: In function `g_object_attach_oop':
d:\smalltalk\+buildmaster\packages\glib/../../../packages/glib/gst-gobject.c:132:
 undefined reference to `gst_str_msg_send'
.libs/gst-gobject.o: In function `g_boxed_get_oop':
d:\smalltalk\+buildmaster\packages\glib/../../../packages/glib/gst-gobject.c:151:
 undefined reference to `gst_c_object_to_oop'
.libs/gst-gobject.o: In function `g_object_get_oop':
d:\smalltalk\+buildmaster\packages\glib/../../../packages/glib/gst-gobject.c:168:
 undefined reference to `gst_c_object_to_oop'
.libs/gst-gobject.o: In function `g_value_convert_to_oop':
d:\smalltalk\+buildmaster\packages\glib/../../../packages/glib/gst-gobject.c:238:
 undefined reference to `gst_float_to_oop'
d:\smalltalk\+buildmaster\packages\glib/../../../packages/glib/gst-gobject.c:242:
 undefined reference to `gst_float_to_oop'
.libs/gst-gobject.o: In function `g_value_fill_from_oop':
d:\smalltalk\+buildmaster\packages\glib/../../../packages/glib/gst-gobject.c:349:
 undefined reference to `gst_oop_to_float'
d:\smalltalk\+buildmaster\packages\glib/../../../packages/glib/gst-gobject.c:364:
 undefined reference to `gst_oop_to_c_object'
...
collect2: ld returned 1 exit status
make[1]: *** [libgst-gobject.la] Error 1
make[1]: Leaving directory `/d/smalltalk/+buildmaster/packages/glib'
make: *** [all] Error 2

With many other undefined reference.

Thanks for the help

--
Mathieu

_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk