bug-gnulib
[Top][All Lists]
Advanced

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

Re: Working os/2 configuratie


From: Elbert Pol
Subject: Re: Working os/2 configuratie
Date: Wed, 09 Apr 2008 22:59:24 +0200
User-agent: Thunderbird 3.0a1pre (OS/2/2008040200)

Hi Eric,

I tried today to get m4-1.4.11 ported, and it stops at the same error as Coreutils stops.....(

fpurge.c: In function `fpurge':
fpurge.c:94: error: structure has no member named `_base'
fpurge.c:96: error: structure has no member named `_cnt'
make.exe[3]: *** [fpurge.o] Error 1
make.exe[3]: Leaving directory `U:/m4-1.4.11/lib'




Eric Blake wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[Please keep bug-gnulib in the loop, since this problem affects multiple
gnulib clients, and since Bruno's code is more impacted than mine by
knowing the innards of FILE]

According to Elbert Pol on 4/8/2008 3:19 PM:
| Hi,
|
| Mayby you mean this file.
| __KLIBC__ is a preprocess macro defined by the system
|
| See line ~119
| and line 150
|
|
| Eric Blake wrote:
| According to Elbert Pol on 4/6/2008 3:12 AM:
| | Hello Eric,
|
| | | fpurge.c: In function `fpurge':
| | | fpurge.c:94: error: structure has no member named `_base'
| | | fpurge.c:96: error: structure has no member named `_cnt'
| | | make.exe[3]: *** [fpurge.o] Error 1
|
| |
| | I don't understand wich file you talking about?
|
| What does struct FILE look like on your system? It might be in
| /usr/include/stdio.h, or in another file it includes. You might also have
| success using:
|
| $ cat foo.c
| #include <stdio.h>
| $ cc -E foo.c
|
| | And would you be precicer what you need to know about the system ?
|
| If you're using gcc, this would also be helpful:
|
| $ gcc -E -dM empty.c | sort
|
| Basically, we're looking for the preprocessor macros that are predefined
| by your compiler/system so that we can identify when to use the
| particular
| hacks to look inside your system's struct FILE.

Thanks for the stdio.h. As to your other questions:

| # gcc -E -dM empty.c | sort
| gcc: empty.c: No such file or directory
| gcc: no input files, try "gcc --help"
| # cat foo.c
| cat: foo.c: No such file or directory
|
| Seems i don't have those files on my machine...?

They are just representative placeholders for dummy files that you create:

$ touch empty.c
$ cat <<\EOF >foo.c
#include <stdio.h>
EOF

- --
Don't work too hard, make some time for fun as well!

Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkf8En8ACgkQ84KuGfSFAYAW2gCgs0fvu/SE1PMNMOEUu9kuekcW
c2QAoNW2QftRLuNB+2dCcBZqiNwHFCDx
=G7wh
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]