Wolfgang,

Per Jessen had created a patch for this as well.  I thought that the patch
was only needed because sizeof(bool) was = 4 on Linux/390 with gcc 2.95.x.
When the compile failed again after upgrading to 3.2, I was confused.

Why don't you send your patches to Per, Kurt, and myself.  We can compare
them with what we already had, and perhaps find other areas that need fixing
on s390.

Did you identify (and fix) all the modules that need s390x assembler code?
We've been putting that off while we fight other problems.

Also, I think you did your work against the 7.3 version of the code.  Do you
have 7.4 version patches also?

Mark Post

-----Original Message-----
From: Wolfgang Rosenauer [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 21, 2002 12:43 PM
To: Post, Mark K
Cc: 'sapdb'; 'Jessen, Per'; 'ZIEGENBEIN, Kurt'
Subject: Re: Linux/390 Compilation Errors for SAPDB_Types.h with gcc 3.2


Hi,

On Fri, 20 Sep 2002, Post, Mark K wrote:

> gen500.h
> ven041.c  fast
> In file included from /tmp/sapdbsrc/sys/wrk/incl/gen04.h:145,
>                  from ven041.c:42:
> /usr/include/ncurses/curses.h:96: conflicting types for `bool'
> /tmp/sapdbsrc/sys/wrk/incl/SAPDB/SAPDBCommon/SAPDB_Types.h:93: previous\
>  declaration of `bool'
> Error while executing "cc -DREL30 -DLINUX -DS390 -DSAG -I/tmp/sapdbsrc/\
> usr/incl -I/tmp/sapdbsrc/sys/wrk/incl -I/tmp/sapdbsrc/sys/wrk/incl/SAPDB\
>  -DSYSV -D_SVID -I/usr/include/ncurses -w -Wall -D_FILE_OFFSET_BITS=64 -\
> DDEVELOPMENT -DKANJI -DSAPDB_FAST -D_REENTRANT -O -I/tmp/sapdbt/incl -c \
> ven041.c"
> message:
> COMMAND error 1
> ven042.c  fast
> In file included from /tmp/sapdbsrc/sys/wrk/incl/gen04.h:145,
>                  from ven042.c:46:
> /usr/include/ncurses/curses.h:96: conflicting types for `bool'
> /tmp/sapdbsrc/sys/wrk/incl/SAPDB/SAPDBCommon/SAPDB_Types.h:93: previous\
>  declaration of `bool'
> Error while executing "cc -DREL30 -DLINUX -DS390 -DSAG -I/tmp/sapdbsrc/\
> usr/incl -I/tmp/sapdbsrc/sys/wrk/incl -I/tmp/sapdbsrc/sys/wrk/incl/SAPDB\
>  -DSYSV -D_SVID -I/usr/include/ncurses -w -Wall -D_FILE_OFFSET_BITS=64 -\
> DDEVELOPMENT -DSAPDB_FAST -D_REENTRANT -O -I/tmp/sapdbt/incl -c ven042.c\
> "
> message:
> COMMAND error 1

that's a known problem. ncurses does define bool on his own interfering
with sapdb sources. We've solved this using an own ncurses.h for s390x and
others defined in sys/src/en/ven00tc

Perhaps I can help you with some patches. But we've only s390x running.


CU,

   Wolfgang

_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to