[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] libgen.h?
From: |
Joern Thyssen |
Subject: |
Re: [Bug-gnubg] libgen.h? |
Date: |
Thu, 8 Aug 2002 06:57:52 +0000 |
User-agent: |
Mutt/1.2.5.1i |
On Thu, Aug 08, 2002 at 08:53:40AM +0200, Øystein O Johansen wrote
>
> Yes... it's the same problem I get when I compile fibs2html for Windows:
>
> C:\gnubg-gtk13\src\gnubg>make html.o
> gcc -fnative-struct -O2 -Wall -DHAVE_CONFIG_H -DLOCALEDIR
> =\"/mingw/lib/locale\"
> -I. -I./lib -I/mingw/include/glib-2.0/ -c -o html.o html.c
> html.c: In function `CommandExportMatchHtml':
> html.c:3323: warning: implicit declaration of function `basename'
> html.c:3323: warning: assignment makes pointer from integer without a cast
> html.c:3325: warning: pointer/integer type mismatch in conditional
> expression
> html.c:3327: warning: pointer/integer type mismatch in conditional
> expression
> html.c:3328: warning: assignment makes pointer from integer without a cast
>
> Of course I also get 'undefined reference to basename' in the linking.
>
> We need a replacement function for windows -- there is probably already
> a function available somewhere on the net. I guess someone else also
> have had this problem.
It's quite simple to write a the function. Unless you want to do it
yourself, I'll write/steal one tonight.
You can restore the old code in order to complete your build.
Jørn
--
Joern Thyssen, PhD
Vendsysselgade 3, 3., DK-9000 Aalborg, Denmark
+45 9813 2791 (private) / +45 2077 2689 (mobile) / +45 9633 7036 (work)
- Re: [Bug-gnubg] libgen.h?, (continued)
- Re: [Bug-gnubg] libgen.h?, Joern Thyssen, 2002/08/07
- Re: [Bug-gnubg] libgen.h?, Joseph Heled, 2002/08/09
- Re: [Bug-gnubg] libgen.h?, Joern Thyssen, 2002/08/10
- Re: [Bug-gnubg] libgen.h?, Joseph Heled, 2002/08/10
- Re: [Bug-gnubg] libgen.h?, Joern Thyssen, 2002/08/11
- Re: [Bug-gnubg] libgen.h?, Joseph Heled, 2002/08/11
- Re: [Bug-gnubg] libgen.h?, Joern Thyssen, 2002/08/11
- Re: [Bug-gnubg] libgen.h?, Joseph Heled, 2002/08/11
- Re: [Bug-gnubg] libgen.h?, Joseph Heled, 2002/08/12
- Re: [Bug-gnubg] libgen.h?, Joern Thyssen, 2002/08/12
Re: [Bug-gnubg] libgen.h?,
Joern Thyssen <=