GNucash for cygwin: possible...

Frédéric Bazin fbazin@ifrance.com
Sun, 15 Dec 2002 02:24:22 +0100


everything is fine about the glib config
even i tryed to link manually all of the libraries libglib.....
the linker can't resolve the 3 symbols

`__imp__glib_major_version'
/cygdrive/d/DOCUME~1/fbazin/LOCALS~1/Temp/ccVwbn6A.o(.text+0x23):/home/fbazin/gnucash-1.6.8/configure:6234: 
undefined reference to `__imp__glib_minor_version'
/cygdrive/d/DOCUME~1/fbazin/LOCALS~1/Temp/ccVwbn6A.o(.text+0x2e):/home/fbazin/gnucash-1.6.8/configure:6234: 
undefined reference to `__imp__glib_micro_version'



The cause might be:
- unadequate configure script for cygwin
-wrong set up/building  of glib. I donwload a version from cygwin gnome 
project which is new from december
- wrong shell enviroment.
- i definetely have no skill about these automake/autoconf  and the 
configure script


i need help about
- configure script: how to correct diagnose the script in such 
circumstances ?
- cygwin/glib/gnome skilled people: is there some special postinstall 
trick ?
- linker /library skilled people: : how to find the library /object 
where these symbols were defined ?

Fred

Matthew Vanecek wrote:

>On Sat, 2002-12-14 at 09:23, Frédéric Bazin wrote:
>  
>
>>I'm having trouble about the configure script.
>>I  can't set up the right options/enviroment vars to make it work with Glib.
>>It has some linking problems on a test
>>It seems he try to use glib library  but actually the only files I have 
>>are libglib.a and libglib.la
>>I hope someone can understand this.
>>Thanks
>>Fred
>>
>>    
>>
>
>This probably means you have glib incorrectly installed. ;)  Are you
>building this on a Windows machine with cygwin?  You don't say, but I'm
>assuming since it's in this thread...Shouldn't there be a libglib.dll or
>whatever they call the on Windows?  The libglib.*a files are generally
>used for statically linking programs with glib.  Double-check your glib
>install.  Also, check the glib-config script to make sure it is
>returning the correct paths for what you have installed.  Simply running
>"glib-config" provides a usage statement, and "glib-config --libs"
>prints out the "-L/... -lglib" stuff from below.  Make sure those paths
>are correct.
>
>  
>
>>first i get this:
>>---------------
>>checking for GLIB - version >= 0.99.7... no
>>*** Could not run GLIB test program, checking why...
>>*** The test program failed to compile or link. See the file config.log 
>>for the
>>*** exact error that occured. This usually means GLIB was incorrectly 
>>installed
>>*** or that you have moved GLIB since it was installed. In the latter 
>>case, you
>>*** may want to edit the glib-config script: /opt/gnome/bin/glib-config
>>configure: error: Cannot find glib. Check config.log
>>
>>the config:.log contains
>>configure:6238: gcc -o conftest.exe -g -O2 -I/opt/gnome/include/glib-1.2 
>>-I/opt/gnome/lib/glib/include   conftest.c  -L/opt/gnome/lib -lglib 1>&5
>>/cygdrive/d/DOCUME~1/fbazin/LOCALS~1/Temp/ccVwbn6A.o(.text+0x16): In 
>>function `main':
>>/home/fbazin/gnucash-1.6.8/configure:6234: undefined reference to 
>>`__imp__glib_major_version'
>>/cygdrive/d/DOCUME~1/fbazin/LOCALS~1/Temp/ccVwbn6A.o(.text+0x23):/home/fbazin/gnucash-1.6.8/configure:6234: 
>>undefined reference to `__imp__glib_minor_version'
>>/cygdrive/d/DOCUME~1/fbazin/LOCALS~1/Temp/ccVwbn6A.o(.text+0x2e):/home/fbazin/gnucash-1.6.8/configure:6234: 
>>undefined reference to `__imp__glib_micro_version'
>>collect2: ld returned 1 exit status
>>configure: failed program was:
>>#line 6228 "configure"
>>#include "confdefs.h"
>>
>>#include <glib.h>
>>#include <stdio.h>
>>
>>int main() {
>> return ((glib_major_version) || (glib_minor_version) || 
>>(glib_micro_version));
>>; return 0; }
>>
>>
>>
>>_____________________________________________________________________
>>Envie de discuter en "live" avec vos amis ? Telecharger MSN Messenger
>>http://www.ifrance.com/_reloc/m la 1?re messagerie instantanee de France
>>
>>_______________________________________________
>>gnucash-devel mailing list
>>gnucash-devel@lists.gnucash.org
>>https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>>    
>>



_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France