(no subject)



Hi Owen Taylor,

I checkouted GLib from CVS Yesterday (cvs -z3 checkout glib).
However, I can't compile it on Cygwin. (I've installed autoconf 2.13,
automake 1.4a,automake-1.4-p1, and libtool 1.4 on Cygwin).

If I typed

  $autoconf

I got

configure.in.255:warning:AC_TRY_RUN called without default to allow cross
compiling
...
configure.in.1386:warning:AC_TRY_RUN called without default to allow cross
compiling
autoconf:undefined macros:
configure.in:217:AC_LIBTOOL_WIN32_DLL


If I run

  $./autogen

I got

configure.in.255:warning:AC_TRY_RUN called without default to allow cross
compiling
...
configure.in.1386:warning:AC_TRY_RUN called without default to allow cross
compiling
configure.in:218:'AM_PROG_LIBTOOL' is obsolete, use 'AC_PROG_LIBTOOL'
instead
configure.in:218:required file './ltconfig' not found
...
tests/makefile.am:79:invalid unused variable name: 'mainloop_test_LDADD'
...
tests/makefile.am:71:invalid unused variable name: 'module_LDADD'
configure.in.255:warning:AC_TRY_RUN called without default to allow cross
compiling
...
configure.in.1386:warning:AC_TRY_RUN called without default to allow cross
compiling
autoconf:undefined macros:
configure.in:217:AC_LIBTOOL_WIN32_DLL
loading cache ./config.cache
./configure:599:Syntax error:word unexpected(expecting ")")
Now, type 'make' to compile GLib


I also downloaded GLib source from the ftp:ftp://ftp.gtk.org/pub/gtk/v1.3
and I followed the steps:
  $./configure
  $make

./configure sounded good. But when I run make, I got

...
/bin/sh ./libtool --mode=link gcc -g -O2 -Wall -D_REENTRANT -o testglib.exe
testglib.o libglib-1.3.la -lintl
gcc -g -O2 -Wall -D_REENTRANT -o .libs/testglib.exe testglib.o
.libs/libglib-1.3.a -liconv -luser32 -wsock32 -lkernel32 -lintl -lintl
-Wl,--rpath -Wl,/usr/local/lib
testglib.o:In function 'node_build_string':
/home/jeff/glib-1.3.5/testglib.c:79:undefined reference to 'g_strconcat'
/home/jeff/glib-1.3.5/testglib.c:80:undefined reference to 'g_free'
testglib.o:In function 'g_node_test':
/home/jeff/glib-1.3.5/testglib.c:98:undefined reference to 'g_print'
/home/jeff/glib-1.3.5/testglib.c:101:undefined reference to 'g_node_new'
/home/jeff/glib-1.3.5/testglib.c:101:undefined reference to 'g_node_depth'
/home/jeff/glib-1.3.5/testglib.c:101:undefined reference to
'g_node_max_height'
...
/home/jeff/glib-1.3.5/testglib.c:1247:undefined reference to 'g_clear_error'
collect2: ld returned 1 exit status
make[2]:***[testglib.exe]Error 1
make[2]:Leaving directory '/home/jeff/glib-1.3.5'
make[1]:***[all-recursive]Error 1
make[1]:Leaving directory '/home/jeff/glib-1.3.5'
make:***[all-recursive]Error 2

I checked libglib-1.3.a (3K), this file is very small. I think
all of GLib's functions are not included in this file.

Do you have any ideas? Could you tell how can I compile GLib 1.3.5
successfully? Does GLib 1.3.5 can be compile on Cygwin?

Thank a lot,

Jeff

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]