[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #54235] problems building Octave on Solaris
From: |
Michele |
Subject: |
[Octave-bug-tracker] [bug #54235] problems building Octave on Solaris |
Date: |
Sun, 22 Jul 2018 13:31:21 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; SunOS sun4u; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #151, bug #54235 (project octave):
Going after these errors in order, and having heard nothing back on the gnu
mailing list in three days, I looked at the offending code in auto-host.h.
It says "error: declaration does not declare anything"
/* Define to `long' if <sys/resource.h> doesn't define. */
#ifndef USED_FOR_TARGET
#define rlim_t long
#endif
What's wrong with that declaration?
Turns out rlim_t isn't used anywhere else in this file so I just commented out
the whole #ifndef block and ran gmake again. That did indeed take care of
this error, and a few others too. Now I'm left with just two errors:
In file included from /export/home/michele/gcc-5.5.0/gcc/genmddeps.c:19:0:
/export/home/michele/gcc-5.5.0/gcc/system.h:481:48: error: ‘char*
strstr(const char*, const char*)’ conflicts with a previous declaration
extern char *strstr (const char *, const char *);
^
In file included from /usr/include/string.h:18:0,
from
/export/home/michele/gcc-5.5.0/gccbuild/prev-sparc-sun-solaris2.10/libstdc++-v3/include/cstring:42,
from /export/home/michele/gcc-5.5.0/gcc/system.h:231,
from /export/home/michele/gcc-5.5.0/gcc/genmddeps.c:19:
/usr/include/iso/string_iso.h:119:20: note: previous declaration ‘const
char* std::strstr(const char*, const char*)’
extern const char *strstr(const char *, const char *);
^
In file included from /export/home/michele/gcc-5.5.0/gcc/genmddeps.c:19:0:
/export/home/michele/gcc-5.5.0/gcc/system.h:533:34: error: conflicting
declaration of C function ‘const char* strsignal(int)’
extern const char *strsignal (int);
^
In file included from
/export/home/michele/gcc-5.5.0/gccbuild/prev-sparc-sun-solaris2.10/libstdc++-v3/include/cstring:42:0,
from /export/home/michele/gcc-5.5.0/gcc/system.h:231,
from /export/home/michele/gcc-5.5.0/gcc/genmddeps.c:19:
/usr/include/string.h:79:14: note: previous declaration ‘char*
strsignal(int)’
extern char *strsignal(int);
^
gmake[3]: *** [Makefile:2431: build/genmddeps.o] Error 1
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?54235>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, (continued)
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/20
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/20
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, John W. Eaton, 2018/07/20
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/20
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/20
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Dmitri A. Sergatskov, 2018/07/20
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/21
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/21
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Rik, 2018/07/21
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/21
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris,
Michele <=
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/22
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/23
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Rik, 2018/07/23
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/23
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, John W. Eaton, 2018/07/25
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Rik, 2018/07/25
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/25
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, John W. Eaton, 2018/07/25
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Rik, 2018/07/25
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Rik, 2018/07/25