glib compilation problem--undefined references in glib-genmarshal.c

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

 




No one knows what this problem is and how to fix it?

----- Forwarded by Alan Arehart/US/Raytheon on 11/19/2003 11:05 AM -----
"Alan Arehart" <Alan_Arehart@xxxxxxxxxxxx>
Sent by: gtk-list-admin@xxxxxxxxx

11/17/2003 05:52 PM

       
        To:        gtk-list@xxxxxxxxx
        cc:        
        Subject:        glib compilation problem--undefined references in glib-genmarshal.c




Hi,
I'm having trouble making glib-2.2.3 on Cygwin (Windows 2000). Could someone please help me figure out what I'm doing wrong and tell me how to fix it?

I have /usr/bin/pkg-config version 0.15.0 and /usr/bin/iconv version 1.9.

I'm running GNU /usr/bin/make 3.80 from the directory /cygdrive/c/stuff/downloads/glib-2.3.3 after doing a ./configure from that directory with no options specified.


My environment variables are
HOMEPATH=\

LD_LIBRARY_PATH=/usr/lib:/cygdrive/c/j2sdk1.4.2_02/include:/cygdrive/c/j2sdk1.4.2_02/include/win32:/lib:/usr/local/lib:/usr/lib:

MANPATH=:/usr/X11R6/man:/usr/ssl/man

OS2LIBPATH=C:\WINNT\system32\os2\dll;

PATH=/cygdrive/c/Program\ Files/emacs/emacs-20.7/bin:/cygdrive/c/j2sdk1.4.2_02/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/Program Files/Common Files/Adaptec Shared/System:/cygdrive/c/matlab6p5/bin/win32:/cygdrive/c/j2sdk1.4.2_02/bin:/cygdrive/c/Program Files/emacs/emacs-20.7/bin:/cygdrive/c/apache-ant-1.6beta2/bin:/usr/local/lib:/usr/lib:Z:.:/usr/X11R6/bin:

PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

PKG_CONFIG_PATH=:/usr/X11R6/lib/pkgconfig


The relevant output of the make is ...

make[2]: Entering directory `/cygdrive/c/stuff/downloads/glib-2.2.3/gobject'

/bin/bash ../libtool --mode=link gcc  -g -O2 -Wall  -o glib-genmarshal.exe  glib-genmarshal.o ../glib/libglib-2.0.la -lintl  

gcc -g -O2 -Wall -o .libs/glib-genmarshal.exe glib-genmarshal.o  ../glib/.libs/libglib-2.0.dll.a -L/usr/lib -luser32 -lkernel32 /usr/lib/libintl.dll.a /usr/lib/libiconv.dll.a -Wl,--rpath -Wl,/usr/local/lib

glib-genmarshal.o(.text+0x1807): In function `complete_in_arg':

/cygdrive/c/stuff/downloads/glib-2.2.3/gobject/glib-genmarshal.c:218: undefined reference to `_g_log'

glib-genmarshal.o(.text+0x1c17): In function `complete_out_arg':

/cygdrive/c/stuff/downloads/glib-2.2.3/gobject/glib-genmarshal.c:263: undefined reference to `_g_log'

glib-genmarshal.o(.text+0x1cf5): In function `pad':

/cygdrive/c/stuff/downloads/glib-2.2.3/gobject/glib-genmarshal.c:283: undefined reference to `_g_free'

glib-genmarshal.o(.text+0x1d05):/cygdrive/c/stuff/downloads/glib-2.2.3/gobject/glib-genmarshal.c:284: undefined reference to `_g_strdup_printf'

:

glib-genmarshal.o(.text+0x3edd): In function `print_blurb':

/cygdrive/c/stuff/downloads/glib-2.2.3/gobject/glib-genmarshal.c:868: undefined reference to `_g_fprintf'

collect2: ld returned 1 exit status

make[2]: *** [glib-genmarshal.exe] Error 1

make[2]: Leaving directory `/cygdrive/c/stuff/downloads/glib-2.2.3/gobject'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/cygdrive/c/stuff/downloads/glib-2.2.3'

make: *** [all-recursive-am] Error 2


Thanks for your help!

Alan


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux