ncurses4.2/egcs1.1.1/glibc2.1 compile problem

ncurses4.2/egcs1.1.1/glibc2.1 compile problem

Post by Dirk Latterma » Thu, 25 Feb 1999 04:00:00



Hello,

I don't really know where to post this, but this might be a
right place:

has someone successfully built ncurses-4.2 with glibc2.1
and egcs-1.1.1? Are there known problems?

I had no difficulties with gcc-2.8.1 and glibc-2.0.6 but I
want to upgrade.

The problem seems to be the generation of ncurses/lib_gen.c by the
shell script MKlib_gen.sh, using sed and gawk. The result
looks seriously broken. See the excerpt at the end of this posting.
What could be the reason of this? I'm using Linux 2.2.1, but I don't
think this matters.

Thank you and sorry if this is the wrong newsgroup. What would be a
better choice?

Dirk Lattermann

/*
 * DO NOT EDIT THIS FILE BY HAND!
 * It is generated by MKlib_gen.sh.
 *
 * This is a file of trivial functions generated from macro
 * definitions in curses.h to satisfy the XSI Curses requirement
 * that every macro also exist as a callable function.
 *
 * It will never be linked unless you call one of the entry
 * points with its normal macro definition disabled. In that
 * case, if you have no shared libraries, it will indirectly
 * pull most of the rest of the library into your link image.
 */
#include <curses.priv.h>

#undef pe
 ( pe z)
{
        lx)"), (long)z)); returnCode( pe(z));

Quote:}

#undef chtype
 ( chtype * a1, int z)
{
        pe%p,%d)"), a1, z)); returnCode( chtype(a1, z));

Quote:}

#undef htype
 ( htype * z)
{
        e%p)"), z)); returnCode( htype(z));

Quote:}

#undef ar
 ( ar * a1, int z)
{
        ,%d)"), a1, z)); returnCode( ar(a1, z));
Quote:}

(...)
 
 
 

ncurses4.2/egcs1.1.1/glibc2.1 compile problem

Post by Remco van den Ber » Thu, 25 Feb 1999 04:00:00



> Hello,

> I don't really know where to post this, but this might be a
> right place:

> has someone successfully built ncurses-4.2 with glibc2.1
> and egcs-1.1.1? Are there known problems?

> I had no difficulties with gcc-2.8.1 and glibc-2.0.6 but I
> want to upgrade.

> The problem seems to be the generation of ncurses/lib_gen.c by the
> shell script MKlib_gen.sh, using sed and gawk. The result
> looks seriously broken. See the excerpt at the end of this posting.
> What could be the reason of this? I'm using Linux 2.2.1, but I don't
> think this matters.

> Thank you and sorry if this is the wrong newsgroup. What would be a
> better choice?

> Dirk Lattermann

Hum, very strange. At the moment I'm building my own system and I didn't
have any problems compiling ncurses4.2.
I have exactly the same system as you describe, but also nothing more!
(I started the devellopment in an empty /chroot tree.)

So perhaps you have to upgrade your sed and/or gawk? Or are there
wrong include files included?
I have sed-3.02 and gawk-3.0.3.

Good luck,

-Remco

/***************************************************************************\
|*  UNIX is user friendly. It's just selective about who its friends are.  *|
|*            Please don't sent me any Microsoft attachments               *|
\***************************************************************************/

 
 
 

ncurses4.2/egcs1.1.1/glibc2.1 compile problem

Post by Juergen Hein » Thu, 25 Feb 1999 04:00:00



>Hello,

>I don't really know where to post this, but this might be a
>right place:

>has someone successfully built ncurses-4.2 with glibc2.1

Yes.

Quote:>and egcs-1.1.1? Are there known problems?

No, though I have to admit I patched ncurses up to the
latest release version before anyway. The next one will be
5.x so you might take a look here ...
ftp.clark.net:/pub/dickey/ncurses/patches
... and ncurses-4.2-990220.patch.gz is already the one to
go to 5.0 so take care.
[...]
Quote:>What could be the reason of this? I'm using Linux 2.2.1, but I don't
>think this matters.

I too, no, it does not matter.

Quote:>Thank you and sorry if this is the wrong newsgroup. What would be a
>better choice?

Too late 8)

Cheers,
Juergen

--
\ Real name     : Jrgen Heinzl                 \       no flames      /

  \ Phone Private : +44 181-332 0750              \                  /

 
 
 

ncurses4.2/egcs1.1.1/glibc2.1 compile problem

Post by T.E.Dicke » Fri, 26 Feb 1999 04:00:00



> Hello,
> I don't really know where to post this, but this might be a
> right place:
> has someone successfully built ncurses-4.2 with glibc2.1
> and egcs-1.1.1? Are there known problems?

your problem really looks like the awk/sed programs are getting broken
by confusion between old/new shared libraries.  (I don't know of anything
offhand that would cause the script to drop characters).

Quote:> #undef pe
>  ( pe z)
> {
>    lx)"), (long)z)); returnCode( pe(z));
> }

--
Thomas E.*ey

http://www.veryComputer.com/
 
 
 

ncurses4.2/egcs1.1.1/glibc2.1 compile problem

Post by Dirk Latterma » Mon, 01 Mar 1999 04:00:00




>> Hello,

>> has someone successfully built ncurses-4.2 with glibc2.1
>> and egcs-1.1.1? Are there known problems?

>your problem really looks like the awk/sed programs are getting broken
>by confusion between old/new shared libraries.  (I don't know of anything
>offhand that would cause the script to drop characters).

Thanks to all who replied, I solved my problem by recompiling and using
newest version of sed (3.02).

-- dl

 
 
 

1. glibc2.1 and egcs1.1.1 problem

Hello folks!

I have a problem installing glibc 2.1 with egcs 1.1.1.
I thought it would be time to get my old libc 5 based SuSE 5.0
installation up
to date, so I compiled the most recent binutils and egcs 1.1.1.
After that I downloaded the new glibc 2.1, configured it and compiled
it.
The compilation process took some time but all went well.

The problems occured, when I made 'make install'.
Make reported errors in some important include files ;(

As far as I can tell, everything important was installed by then and the
system
is still working properly, but I can't compile a thing, because I can't
include
libio.h.

Some information about my system:
kernel 2.0.36
compiler egcs 1.1.1
binutils 2.9.1.0.19a
libc 5
kernel includes used for glibc compilation: 2.2.1

Here is the relevant part of the 'make check' output:

make  -C stdlib tests
make[2]: Entering directory `/sda5/glibc-2.1/stdlib'
cd /sda5/glibc-2.1-build/stdlib && gcc   -include ../config.h
/sda5/glibc-2.1/stdlib/isomac.c -o isomac
In file included from /usr/include/stdio.h:57,
                 from /sda5/glibc-2.1/stdlib/isomac.c:74:
/usr/include/libio.h:335: parse error before `_IO_seekoff'
/usr/include/libio.h:335: parse error before `_G_off64_t'
/usr/include/libio.h:335: warning: data definition has no type or
storage class
/usr/include/libio.h:336: parse error before `_IO_seekpos'
/usr/include/libio.h:336: parse error before `_G_fpos64_t'
/usr/include/libio.h:336: warning: data definition has no type or
storage class
In file included from /sda5/glibc-2.1/stdlib/isomac.c:74:
/usr/include/stdio.h:66: parse error before `fpos64_t'
/usr/include/stdio.h:66: warning: data definition has no type or storage
class
In file included from /sda5/glibc-2.1/stdlib/isomac.c:74:
/usr/include/stdio.h:66: parse error before `fpos64_t'
/usr/include/stdio.h:66: warning: data definition has no type or storage
class
In file included from /sda5/glibc-2.1/stdlib/isomac.c:74:
/usr/include/stdio.h:527: parse error before `fpos64_t'
/usr/include/stdio.h:528: parse error before `*'
make[2]: *** [/sda5/glibc-2.1-build/stdlib/isomac] Error 1
make[2]: Leaving directory `/sda5/glibc-2.1/stdlib'
make[1]: *** [stdlib/tests] Error 2
make[1]: Leaving directory `/sda5/glibc-2.1'
make: *** [check] Error 2

Any suggestions?

Bye,
      soulman
--
Ludger Solbach                          Phone: +49 5251 640070


Germany                                 http://home.pages.de/~soulman/

2. Netware<-->Linux<-->Internet connection question

3. math inline bugs with egcs1.1.2 glibc2.1.1

4. High context switches on idle machines

5. Problems when ompiling KDE1.1 on Solaris 2.6 with egcs1.1.1

6. Trouble w/CGI Scripts & Virtual Server Using Apache

7. AIX4.3 w/EGCS1.1.1 compilation problem.

8. partition majic???

9. Looking for egcs1.1.1 / gcc 2.91.60

10. Making shared libs with egcs1.1.1 on AIX4.2 (RS6000)

11. TOC overflow building egcs1.1.1

12. Wield system, X11 glibc2 or egcs1.1.2 broken?

13. On glibc2/egcs1.1b, what encoding is L"Hello" ?