[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Still compile problems on Windows
From: |
Holger |
Subject: |
Re: [Bug-gnubg] Still compile problems on Windows |
Date: |
Sat, 16 Nov 2002 14:54:46 +0100 |
At 20:46 15.11.02 +0100, Nardy Pillards wrote:
>> I'm really stuck with the linker problems below. Any help is greatly
>> appreciated.
>> Holger
>
>WinME here.
>I installed MinGW in drive:\mingw, unzipped all Win32 packages to
>drive:\mingw.
Hi Nardy,
Do I really need the entire distribution/package?
I have:
gcc-2.95.2-msvcrt.exe
gdbm-1_8_0-bin.zip
gdbm-1_8_0-lib.zip
gettext-dev-0.10.40-20020904.zip
glib-2.0.6-20020802.zip
glib-dev-2.0.6-20020802.zip
gtk+-1.3.0-20020922.zip
gtk+-dev-1.3.0-20020912.zip
libiconv-1.7-w32.bin.zip
libintl-0.10.40-tml-20020904.zip
libxml2-2_4_12-1-lib.zip
libxml2-2_4_12-bin.zip
Which versions of iconv and xml2 do you use?
I have both tried to put everything in one directory (J:\GNU\gcc) and to
put every library into a separate directory, of course with adding the
respective include and lib folders to Makefile. I also did copy iconv.dll
to libiconv.a so the linker does find it. But to no avail.
I still get these errors:
gnubg.o(.text+0xe516):gnubg.c: undefined reference to `_imp__libiconv_open'
gnubg.o(.text+0xe578):gnubg.c: undefined reference to `_imp__libiconv'
gnubg.o(.text+0xe60e):gnubg.c: undefined reference to `_imp__libiconv_close'
j:/xml2/lib\libxml2.a(nanohttp.o)(.text+0xfd9):nanohttp.c: undefined
reference to `fcntl'
j:/xml2/lib\libxml2.a(nanohttp.o)(.text+0xffc):nanohttp.c: undefined
reference to `fcntl'
>Using the (adapted) Makefile for Win32, no need to adapt any of the files
>coming from CVS or Snapshot.
How does sound.c compile if you don't add #include "mmsystem.h" ? Could you
send me your Makefile in case it differs much from the version on Øystein's
site?
Btw, what is gnubg.res in Makefile and where do I get the file from?
( LDFLAGS = gnubg.res -mwindows )
>Nardy
>
>ps
>With MinGW and MSYS, it should be able to ./configure just as.
I think my config.h suits my system. It's Øystein's config.gui with the
following changes:
/* #define HAVE_GTKEXTRA_GTKSHEET_H 1 */
#define USE_SOUND 1
>But I can't find how to get gtk-config (anyone knows the 'how to' for
>Win32?)
>well... I did have it once, but can't 'regenerate' it.
I have seen the binary package of pkg-config on this site:
GTK+ and GIMP for Windows: http://www.gimp.org/~tml/gimp/win32/downloads.html
Quoting from there:
| pkg-config is a replacement for the glib-config and gtk-config scripts
that previously were | used on Unix. (No such scripts were included in my
Windows port, though.)
pkgconfig-0.13.zip: http://www.gimp.org/~tml/gimp/win32/pkgconfig-0.13.zip
Regards,
Holger
- [Bug-gnubg] Still compile problems on Windows, Holger, 2002/11/15
- Re: [Bug-gnubg] Still compile problems on Windows, Nardy Pillards, 2002/11/15
- Re: [Bug-gnubg] Still compile problems on Windows,
Holger <=
- Re: [Bug-gnubg] Still compile problems on Windows, Nardy Pillards, 2002/11/16
- Re: [Bug-gnubg] Still compile problems on Windows, Holger, 2002/11/16
- Re: [Bug-gnubg] How to compile with Win32, Nardy Pillards, 2002/11/19
- Re: [Bug-gnubg] How to compile with Win32 - Makefile, Nardy Pillards, 2002/11/19
- Message not available
- Re: [Bug-gnubg] How to compile with Win32 - Updated, Nardy Pillards, 2002/11/20
- Re: [Bug-gnubg] How to compile with Win32 - Updated, Holger, 2002/11/20
- Re: [Bug-gnubg] How to compile with Win32 - Updated, Nardy Pillards, 2002/11/20