zbyszek
unread,Sep 16, 2019, 10:44:12 AM9/16/19Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dylan...@googlegroups.com
I tried to test gtk-unit-converter from
opendylan-2019.1/sources/app/gtk-unit-converter
dylan-compiler -build gtk-unit-converter.lid
and received error in gobject library.
The diagnostics is as follows:
--------------------------------------------------------------------
...
Computing code models for library gobject
/opt/opendylan-2019.1/sources/gtk/gobject-dylan/gobject.dylan:2092:
Error - Unresolved C-function parameter type, <object>, in the
definition of g-signal-set-va-marshaller.
--------
input parameter va_marshaller_ :: <object> /* <C-XXX-interface>
*/;
--------
/opt/opendylan-2019.1/sources/gtk/gobject-dylan/gobject.dylan:2092:
Error - Unresolved C-function parameter type, <object>, in the
definition of g-signal-set-va-marshaller.
--------
input parameter va_marshaller_ :: <object> /* <C-XXX-interface>
*/;
--------
Checking bindings in library gobject
Performing type analysis of library gobject
...
--------------------------------------------------------------------------
and then compilation follows until poor end
----------------------------------------------------------------------
...
Build of 'gtk-unit-converter' completed
Linking gtk-unit-converter
Internal error: Link failed: Link failed: Command failed: gcc
-o /home/zbyszek/work/dylan/gtk-unit-converter/_build/bin/gtk-unit-converter -w -g -O2 -DOPEN_DYLAN_PLATFORM_UNIX -DOPEN_DYLAN_PLATFORM_LINUX -DOPEN_DYLAN_ARCH_X86_64 -DGC_THREADS -DGC_USE_BOEHM -fPIC -L/opt/opendylan-2019.1/lib/runtime/c-x86_64-linux/ -Wl,-z,origin -Wl,-rpath,\$ORIGIN/../lib/ -I/opt/opendylan-2019.1/include _main.c -L"/home/zbyszek/work/dylan/gtk-unit-converter/_build/lib" -lgtk-unit-converter -lcommon-dylan -ldylan -lgc -lm -lgc -lunwind -lpthread -lrt -lio -lgobject-dylan -lc-ffi -lglib-dylan -lgtk-dylan -lgdk-dylan -lgmodule-dylan -lgio-dylan -lgdkpixbuf-dylan -lcairo-dylan -lpango-dylan -latk-dylan
objcopy /home/zbyszek/work/dylan/gtk-unit-converter/_build/bin/gtk-unit-converter /home/zbyszek/work/dylan/gtk-unit-converter/_build/bin/gtk-unit-converter.dbg
objcopy
--add-gnu-debuglink=/home/zbyszek/work/dylan/gtk-unit-converter/_build/bin/gtk-unit-converter.dbg /home/zbyszek/work/dylan/gtk-unit-converter/_build/bin/gtk-unit-converter
strip
-s /home/zbyszek/work/dylan/gtk-unit-converter/_build/bin/gtk-unit-converter
Exiting with return code -1
------------------------------------------------------------------
The culprit seems to be <object>. it occurs nowhere else in this
library. I tried to replace it with <GObject>, which probably didn't
make sense - diagnostics disappeared, but final stayed the same.
This was tested on Linux Debian from 2017 with gcc 6.3.0 and on
Linux PLD, results were the same.
Is it a known error or am I doing something wrong? (I haven't used Dylan
for some time, this is reactivation).
Regards
Zbyszek Jurkiewicz