octave-bug-tracker
[Top][All Lists]
Advanced

[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: Sat, 21 Jul 2018 20:44:25 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; SunOS sun4u; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #150, bug #54235 (project octave):

That's worth a try.  I deleted the 5.5 directory again and untarred a new one.
 I created a gccbuild directory and ran configure --disable-Werror from there
and then gmake all.  Unfortunately, this doesn't seem to have helped.


...
gmake[3]: Entering directory '/export/home/michele/gcc-5.5.0/gccbuild/gcc'
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/bash /export/home/michele/gcc-5.5.0/gcc/mkconfig.sh config.h
TARGET_CPU_DEFAULT="TARGET_CPU_v9" \
HEADERS="options.h insn-constants.h config/sparc/biarch64.h
config/vxworks-dummy.h config/sparc/sparc.h config/dbxelf.h config/elfos.h
config/sparc/sysv4.h config/sparc/sol2.h config/sol2.h config/sparc/tso.h
config/initfini-array.h defaults.h" DEFINES="LIBC_GLIBC=1 LIBC_UCLIBC=2
LIBC_BIONIC=3" \
/bin/bash /export/home/michele/gcc-5.5.0/gcc/mkconfig.sh tm.h
TARGET_CPU_DEFAULT="" \
HEADERS="config/sparc/sparc-protos.h config/sol2-protos.h tm-preds.h"
DEFINES="" \
/bin/bash /export/home/michele/gcc-5.5.0/gcc/mkconfig.sh tm_p.h
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/bash /export/home/michele/gcc-5.5.0/gcc/mkconfig.sh bconfig.h
/export/home/michele/gcc-5.5.0/gccbuild/./prev-gcc/xg++
-B/export/home/michele/gcc-5.5.0/gccbuild/./prev-gcc/
-B/usr/local/sparc-sun-solaris2.10/bin/ -nostdinc++
-B/export/home/michele/gcc-5.5.0/gccbuild/prev-sparc-sun-solaris2.10/libstdc++-v3/src/.libs
-B/export/home/michele/gcc-5.5.0/gccbuild/prev-sparc-sun-solaris2.10/libstdc++-v3/libsupc++/.libs
 
-I/export/home/michele/gcc-5.5.0/gccbuild/prev-sparc-sun-solaris2.10/libstdc++-v3/include/sparc-sun-solaris2.10
 
-I/export/home/michele/gcc-5.5.0/gccbuild/prev-sparc-sun-solaris2.10/libstdc++-v3/include
 -I/export/home/michele/gcc-5.5.0/libstdc++-v3/libsupc++
-L/export/home/michele/gcc-5.5.0/gccbuild/prev-sparc-sun-solaris2.10/libstdc++-v3/src/.libs
-L/export/home/michele/gcc-5.5.0/gccbuild/prev-sparc-sun-solaris2.10/libstdc++-v3/libsupc++/.libs
-c   -g -O2 -gtoggle -DIN_GCC    -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H
-DGENERATOR_FILE -I. -Ibuild -I/export/home/michele/gcc-5.5.0/gcc
-I/export/home/michele/gcc-5.5.0/gcc/build
-I/export/home/michele/gcc-5.5.0/gcc/../include 
-I/export/home/michele/gcc-5.5.0/gcc/../libcpp/include  \
        -o build/genmddeps.o /export/home/michele/gcc-5.5.0/gcc/genmddeps.c
In file included from ./bconfig.h:3:0,
                 from /export/home/michele/gcc-5.5.0/gcc/genmddeps.c:18:
./auto-host.h:2206:16: error: declaration does not declare anything
[-fpermissive]
 #define rlim_t long
                ^
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/




reply via email to

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