CVS-1.10 and gcc-2.8.0 again

CVS-1.10 and gcc-2.8.0 again

Post by Koos Schu » Fri, 11 Sep 1998 04:00:00



Hi all,

I tried to compile cvs-1.10 on a different set of machines (see my
previous message). Strange enough, compilation fails on AIX-4.1.5,
4.2.0, and Solaris-5.5.1. It compiles OK on IRIX-5.3, 6.2, 6.3 and
Solaris-5.6.

On the failing systems, I invariably get the error:

      dir.c:66: syntax error before `*'

The line-66 reads:

      register DIR *reading = opendir (dir->name);

DIR is some struct, defined in /usr/include/dirent.h and indeed found
with the configure step.

I did find exactly the same error reported in dejanews, and also a
solution (redhead and juggling with installed kernel-stuff). This
juggling probably created some workaround or change in ENV settings
because after a reinstallation of the identical cvs-sources the person
could compile. Now I can do reinstallations lots of times, so far I
keep getting the same error. I do not think I can do some hacking and
juggling with kernel-material, so that wont solve it. Remains ENV
settings.

Now I have a question first: Has anyone successfully compiled cvs-1.10
with gcc-2.8.0 on AIX-4.1.5, 4.2, or Solaris-5.5?

--
Please remove 'the end' of my email address before replying to it.
--

Mazzel, cheers, bye, tabe, moi, tot ziens, have a nice day,
Koos
__________________________________________________________________________

Institute for Theoretical Physics    |  Phone: +31 15 2566804             |
University of Groningen              |  Phone: +31 70 3116092             |
P.O. Box 800                         |  Fax:   +31 70 3112583             |
9700 AV Groningen, The Netherlands.  |  Yell:  Very, Very loud            |
to be Y999T-compliant ----------------- use: yyyyyyyyyyyyyyy/mm/dd -------

 
 
 

CVS-1.10 and gcc-2.8.0 again

Post by Jo Wahl » Fri, 11 Sep 1998 04:00:00


I'm having the inverse problem.  I can compile cvs 1.10 on SunOS 5.5.1
using gcc 2.7.2 but I can't compile it on SunOS 5.6.  I can't find any
Sun gurus around here -- do I need to set something new for 5.6?

The error I get is:

In file included from /usr/include/sys/stream.h:26,
                 from /usr/include/netinet/in.h:38,
                 from client.c:32:
/usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
make[1]: *** [client.o] Error 1
make[1]: Leaving directory
`/edcsns11/disk01/release/tools/src/cvs-1.10.1/src'
make: *** [all] Error 1

And when I look in model.h, it has:

#if     defined(_LP64)
#define DATAMODEL_NATIVE        DATAMODEL_LP64
#elif   defined(_ILP32)
#define DATAMODEL_NATIVE        DATAMODEL_ILP32
#else
#error  "No DATAMODEL_NATIVE specified"
#endif  /* _LP64 || _ILP32 */

Any suggestions?

Jo


Quote:> Hi all,

> I tried to compile cvs-1.10 on a different set of machines (see my
> previous message). Strange enough, compilation fails on AIX-4.1.5,
> 4.2.0, and Solaris-5.5.1. It compiles OK on IRIX-5.3, 6.2, 6.3 and
> Solaris-5.6.

> On the failing systems, I invariably get the error:

>       dir.c:66: syntax error before `*'

> The line-66 reads:

>       register DIR *reading = opendir (dir->name);

> DIR is some struct, defined in /usr/include/dirent.h and indeed found
> with the configure step.

> I did find exactly the same error reported in dejanews, and also a
> solution (redhead and juggling with installed kernel-stuff). This
> juggling probably created some workaround or change in ENV settings
> because after a reinstallation of the identical cvs-sources the person
> could compile. Now I can do reinstallations lots of times, so far I
> keep getting the same error. I do not think I can do some hacking and
> juggling with kernel-material, so that wont solve it. Remains ENV
> settings.

> Now I have a question first: Has anyone successfully compiled cvs-1.10
> with gcc-2.8.0 on AIX-4.1.5, 4.2, or Solaris-5.5?

> --

--

Raytheon STX, USGS EROS Data Center    http://edcwww/eros-home.html
... speaking for myself ... not opinions of Raytheon nor USGS ...