You should not build with eglib. Unless, you are
helping Miguel and Gonzalo with eglib.
You should be building with glib 2.0 or higher.
--- Mads Bondo Dydensborg [EMAIL PROTECTED] wrote:
Hi all
Apologies if this appears twice - I sent it from a
wrong address initially.
Hi there
I have a problem with compiling current svn:
bin/sh ../../libtool --tag=CC --mode=link
gcc -O -g -O2 -fno-strict-aliasing
-Wdeclaration-after-statement -g -Wall
-Wunused -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wno-cast-qual
-Wcast-align -Wwrite-strings
-mno-tls-direct-seg-refs -o pedump pedump.o
libmonoruntime.la ../io-layer/libwapi.la
../utils/libmonoutils.la
../../libgc/libmonogc.la -pthread -lgthread-2.0
-lglib-2.0
-Wl,--export-dynamic -lgmodule-2.0 -ldl -lglib-2.0
-lm -lpthread -lm gcc
-O -g -O2 -fno-strict-aliasing
-Wdeclaration-after-statement -g -Wall
-Wunused -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wno-cast-qual
-Wcast-align -Wwrite-strings
-mno-tls-direct-seg-refs -o pedump
pedump.o -Wl,--export-dynamic
./.libs/libmonoruntime.a
../io-layer/.libs/libwapi.a
../utils/.libs/libmonoutils.a
../../libgc/.libs/libmonogc.a -pthread
/usr/lib/libgthread-2.0.so
/usr/lib/libgmodule-2.0.so -ldl
/usr/lib/libglib-2.0.so -lpthread -lm
./.libs/libmonoruntime.a(domain.o): In function
`mono_domain_create':
/home/madsdyd/xIntegra/MONOTRUNK/mono/mono/metadata/domain.c:470:
undefined
reference to `mono_g_hash_table_new_type'
There are _tons_ of undef. references, all to
mono_g_hash_table_*.
Worked friday. Broken after svn update today.
Tried autogen.sh, make clean, make, etc.
Looking around, it seems I should compile with
eglib. However, that I am
unable to do (autogen.sh, make):
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -Wall -Werror
-D_FORTIFY_SOURCE=2 -g -O0
-MT libeglib_la-gmodule.lo -MD -MP -MF
.deps/libeglib_la-gmodule.Tpo -c
gmodule.c -fPIC -DPIC -o
.libs/libeglib_la-gmodule.o
gmodule.c:43: error: parse error before '*' token
gmodule.c:44: error: parse error before
GModuleFlags
gmodule.c:45: warning: return type defaults to `int'
gmodule.c: In function `g_module_open':
gmodule.c:47: error: `GModule' undeclared (first use
in this function)
gmodule.c:47: error: (Each undeclared identifier is
reported only once
gmodule.c:47: error: for each function it appears
in.)
gmodule.c:47: error: `module' undeclared (first use
in this function)
gmodule.c:49: error: `flags' undeclared (first use
in this function)
gmodule.c:49: error: `G_MODULE_BIND_MASK' undeclared
(first use in this
function)
gmodule.c:50: error: `G_MODULE_BIND_LAZY' undeclared
(first use in this
function)
gmodule.c:52: error: `G_MODULE_BIND_LOCAL'
undeclared (first use in this
function)
gmodule.c:59: error: `file' undeclared (first use in
this function)
gmodule.c: At top level:
gmodule.c:64: error: parse error before '*' token
gmodule.c: In function `g_module_symbol':
gmodule.c:66: error: `symbol_name' undeclared (first
use in this function)
gmodule.c:66: error: `symbol' undeclared (first use
in this function)
gmodule.c:69: error: `module' undeclared (first use
in this function)
gmodule.c: At top level:
gmodule.c:83: error: parse error before '*' token
gmodule.c: In function `g_module_close':
gmodule.c:86: error: `module' undeclared (first use
in this function)
make[2]: *** [libeglib_la-gmodule.lo] Error 1
make[2]: Leaving directory
`/home/madsdyd/xIntegra/MONOTRUNK/mono/eglib/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/madsdyd/xIntegra/MONOTRUNK/mono/eglib'
make: *** [all] Error 2
I am a bit at loss with what to do.
Any help appriciated.
Regards,
Mads
--
Mads Bondo Dydensborg [EMAIL PROTECTED]
http://www.madsdydensborg.dk/
Who do you trust? Nobody? Good, let's put Nobody in
charge then...
- The Register on TCPA/Palladium,
20021109
---
--
Med venlig hilsen/Regards
Systemudvikler/Systemsdeveloper cand.scient.dat,
Ph.d., Mads Bondo Dydensborg
Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750
Ballerup, Tlf. +45 44 86 77 34
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list