[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, 8 Jul 2018 16:23:12 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; SunOS sun4u; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #50, bug #54235 (project octave):
Ah yes, but I am now compiling in rik's 4.4.0x directory. Apparently this had
the pow patch applied but not the diff patch. I applied the diff patch and
stasrted gmake again. This time it ran for an hour and is now stopping here:
...
CC
liboctave/wrappers/liboctave_wrappers_libwrappers_la-time-wrappers.lo
CC
liboctave/wrappers/liboctave_wrappers_libwrappers_la-tmpfile-wrapper.lo CC
liboctave/wrappers/liboctave_wrappers_libwrappers_la-uname-wrapper.lo
CC
liboctave/wrappers/liboctave_wrappers_libwrappers_la-uniconv-wrappers.lo
CC
liboctave/wrappers/liboctave_wrappers_libwrappers_la-unistd-wrappers.lo CC
liboctave/wrappers/liboctave_wrappers_libwrappers_la-unsetenv-wrapper.lo
CC
liboctave/wrappers/liboctave_wrappers_libwrappers_la-vasprintf-wrapper.lo
CC
liboctave/wrappers/liboctave_wrappers_libwrappers_la-wait-for-input.lo
CC
liboctave/wrappers/liboctave_wrappers_libwrappers_la-wait-wrappers.lo
CCLD liboctave/wrappers/libwrappers.la
CXXLD liboctave/liboctave.la
g++: error: /opt/csw/lib/libstdc++.so: No such file or directory
gmake[2]: *** [Makefile:13317: liboctave/liboctave.la] Error 1
gmake[2]: Leaving directory '/export/home/michele/octave-4.4.0x'
gmake[1]: *** [Makefile:26500: all-recursive] Error 1
gmake[1]: Leaving directory '/export/home/michele/octave-4.4.0x'
gmake: *** [Makefile:10208: all] Error 2
#
We went through this too before. I have in /opt/csw/lib a libstdc++.so that
points to libstdc++.so.6.0.20, which is not there.
# pwd
/opt/csw/lib
# ls -l *libstd*
-rw-r--r-- 1 root bin 12246176 Nov 4 2014 libstdc++.a
-rwxr-xr-x 1 root bin 959 Nov 4 2014 libstdc++.la
-rwxr-xr-x 1 root root 959 Jul 3 19:58 libstdc++.la.old
lrwxrwxrwx 1 root root 19 Jul 7 13:28 libstdc++.so ->
libstdc++.so.6.0.20
lrwxrwxrwx 1 root root 19 Jun 22 16:19 libstdc++.so.6 ->
libstdc++.so.6.0.21
-rw-r--r-- 1 root bin 2300 Nov 4 2014
libstdc++.so.6.0.20-gdb.py
-rwxr-xr-x 1 root bin 11689172 Oct 13 2017 libstdc++.so.6.0.21
#
So I did this:
# ln -s libstdc++.so.6.0.21 libstdc++.so
# ls -l libstdc++.so
lrwxrwxrwx 1 root root 19 Jul 8 16:16 libstdc++.so ->
libstdc++.so.6.0.21
#
and ran gmake again.
Now we're back to those ld "seems to be moved" warnings:
ld: warning: file /opt/csw/lib/libgomp.so: attempted multiple inclusion of
file
CXXLD libinterp/liboctinterp.la
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libstdc++.la' seems to
be moved
That took care of those warnings, but now it's stopping wioth a bunch of GL
errors:
# LD_ALTEXEC=/opt/csw/bin/gld
# ewxport LD_ALTEXEC
ewxport: not found
# export LD_ALTEXEC
# gmake
preserving existing HG-ID file
GEN oct-conf-post.h
config.status: creating oct-conf-post.h-tmp
config.status: executing oct-conf-post.h commands
GEN libinterp/builtin-defun-decls.h
GEN build-aux/subst-default-vals.sh
config.status: creating build-aux/subst-default-vals.sh-tmp
config.status: executing build-aux/subst-default-vals.sh commands
GEN libinterp/corefcn/mk-mxarray-h.sh
config.status: creating libinterp/corefcn/mk-mxarray-h.sh-tmp
config.status: executing libinterp/corefcn/mk-mxarray-h.sh commands
GEN libinterp/mk-version-h.sh
config.status: creating libinterp/mk-version-h.sh-tmp
config.status: executing libinterp/mk-version-h.sh commands
GEN octave-config.h
GEN build-aux/subst-script-vals.sh
config.status: creating build-aux/subst-script-vals.sh-tmp
config.status: executing build-aux/subst-script-vals.sh commands
gmake all-recursive
gmake[1]: Entering directory '/export/home/denber/octave-4.4.0x'
preserving existing HG-ID file
Making all in libgnu
gmake[2]: Entering directory '/export/home/denber/octave-4.4.0x/libgnu'
gmake all-recursive
gmake[3]: Entering directory '/export/home/denber/octave-4.4.0x/libgnu'
gmake[4]: Entering directory '/export/home/denber/octave-4.4.0x/libgnu'
gmake[4]: Nothing to be done for 'all-am'.
gmake[4]: Leaving directory '/export/home/denber/octave-4.4.0x/libgnu'
gmake[3]: Leaving directory '/export/home/denber/octave-4.4.0x/libgnu'
gmake[2]: Leaving directory '/export/home/denber/octave-4.4.0x/libgnu'
gmake[2]: Entering directory '/export/home/denber/octave-4.4.0x'
preserving existing HG-ID file
GEN oct-conf-post.h
config.status: creating oct-conf-post.h-tmp
config.status: executing oct-conf-post.h commands
GEN octave-config.h
GEN libinterp/mk-version-h.sh
config.status: creating libinterp/mk-version-h.sh-tmp
config.status: executing libinterp/mk-version-h.sh commands
GEN libinterp/corefcn/mk-mxarray-h.sh
config.status: creating libinterp/corefcn/mk-mxarray-h.sh-tmp
config.status: executing libinterp/corefcn/mk-mxarray-h.sh commands
GEN libinterp/builtin-defun-decls.h
GEN build-aux/subst-default-vals.sh
config.status: creating build-aux/subst-default-vals.sh-tmp
config.status: executing build-aux/subst-default-vals.sh commands
GEN liboctave/external/mk-f77-def.sh
config.status: creating liboctave/external/mk-f77-def.sh-tmp
config.status: executing liboctave/external/mk-f77-def.sh commands
CXX
libinterp/dldfcn/libinterp_dldfcn___init_fltk___la-__init_fltk__.lo
In file included from libinterp/dldfcn/__init_fltk__.cc:46:0:
/usr/openwin/include/X11/Xlib.h:38:0: warning: ignoring #pragma ident
[-Wunknown-pragmas]
#pragma ident "@(#)Xlib.h 1.12 04/07/14 SMI"
^
In file included from libinterp/corefcn/oct-opengl.h:35:0,
from libinterp/dldfcn/__init_fltk__.cc:98:
/usr/openwin/include/GL/glu.h:6:0: warning: ignoring #pragma ident
[-Wunknown-pragmas]
#pragma ident "@(#)glu.h 1.17 01/01/11 SMI"
^
In file included from libinterp/corefcn/oct-opengl.h:41:0,
from libinterp/dldfcn/__init_fltk__.cc:98:
/opt/csw/include/GL/glext.h:5103:96: error: ‘GLintptr’ has not been
declared
typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint
index, GLuint buffer, GLintptr offset, GLsizeiptr size);
^
/opt/csw/include/GL/glext.h:5103:113: error: ‘GLsizeiptr’ has not been
declared
typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint
index, GLuint buffer, GLintptr offset, GLsizeiptr size);
^
/opt/csw/include/GL/glext.h:5868:69: error: ‘GLintptr’ has not been
declared
typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr
offset, GLsizeiptr length, GLbitfield access);
^
/opt/csw/include/GL/glext.h:5868:86: error: ‘GLsizeiptr’ has not been
declared
typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr
offset, GLsizeiptr length, GLbitfield access);
^
/opt/csw/include/GL/glext.h:5869:74: error: ‘GLintptr’ has not been
declared
typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target,
GLintptr offset, GLsizeiptr length);
^
/opt/csw/include/GL/glext.h:5869:91: error: ‘GLsizeiptr’ has not been
declared
typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target,
GLintptr offset, GLsizeiptr length);
^
/opt/csw/include/GL/glext.h:5931:93: error: ‘GLintptr’ has not been
declared
typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget,
GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr
size);
^
/opt/csw/include/GL/glext.h:5931:114: error: ‘GLintptr’ has not been
declared
typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget,
GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr
size);
^
/opt/csw/include/GL/glext.h:5931:136: error: ‘GLsizeiptr’ has not been
declared
typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget,
GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr
size);
^
In file included from libinterp/corefcn/oct-opengl.h:41:0,
from libinterp/dldfcn/__init_fltk__.cc:98:
/opt/csw/include/GL/glext.h:8429:79: error: ‘GLintptr’ has not been
declared
typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target,
GLintptr offset, GLsizeiptr size);
^
/opt/csw/include/GL/glext.h:8429:96: error: ‘GLsizeiptr’ has not been
declared
typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target,
GLintptr offset, GLsizeiptr size);
^
/opt/csw/include/GL/glext.h:8690:98: error: ‘GLintptr’ has not been
declared
typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint
index, GLuint buffer, GLintptr offset, GLsizeiptr size);
^
/opt/csw/include/GL/glext.h:8690:115: error: ‘GLsizeiptr’ has not been
declared
typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint
index, GLuint buffer, GLintptr offset, GLsizeiptr size);
^
/opt/csw/include/GL/glext.h:8691:99: error: ‘GLintptr’ has not been
declared
typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint
index, GLuint buffer, GLintptr offset);
^
/opt/csw/include/GL/glext.h:8709:18: error: typedef ‘GLintptr’ is
initialized (use decltype instead)
typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program,
GLint location);
^
/opt/csw/include/GL/glext.h:8709:29: error: ‘PFNGLGETUNIFORMOFFSETEXTPROC’
was not declared in this scope
typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program,
GLint location);
^
/opt/csw/include/GL/glext.h:8779:99: error: ‘GLintptr’ has not been
declared
typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint
index, GLuint buffer, GLintptr offset, GLsizeiptr size);
^
/opt/csw/include/GL/glext.h:8779:116: error: ‘GLsizeiptr’ has not been
declared
typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint
index, GLuint buffer, GLintptr offset, GLsizeiptr size);
^
/opt/csw/include/GL/glext.h:8780:100: error: ‘GLintptr’ has not been
declared
typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint
index, GLuint buffer, GLintptr offset);
^
/opt/csw/include/GL/glext.h:9132:70: error: ‘GLsizeiptr’ has not been
declared
typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer,
GLsizeiptr size, const GLvoid *data, GLenum usage);
^
/opt/csw/include/GL/glext.h:9133:73: error: ‘GLintptr’ has not been
declared
typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer,
GLintptr offset, GLsizeiptr size, const GLvoid *data);
^
/opt/csw/include/GL/glext.h:9133:90: error: ‘GLsizeiptr’ has not been
declared
typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer,
GLintptr offset, GLsizeiptr size, const GLvoid *data);
^
/opt/csw/include/GL/glext.h:9138:76: error: ‘GLintptr’ has not been
declared
typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer,
GLintptr offset, GLsizeiptr size, GLvoid *data);
^
/opt/csw/include/GL/glext.h:9138:93: error: ‘GLsizeiptr’ has not been
declared
typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer,
GLintptr offset, GLsizeiptr size, GLvoid *data);
^
/opt/csw/include/GL/glext.h:9438:106: error: ‘GLsizeiptr’ has not been
declared
typedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint
index, GLuint64EXT address, GLsizeiptr length);
^
gmake[2]: *** [Makefile:18640:
libinterp/dldfcn/libinterp_dldfcn___init_fltk___la-__init_fltk__.lo] Error 1
gmake[2]: Leaving directory '/export/home/denber/octave-4.4.0x'
gmake[1]: *** [Makefile:26500: all-recursive] Error 1
gmake[1]: Leaving directory '/export/home/denber/octave-4.4.0x'
gmake: *** [Makefile:10208: all] Error 2
#
So I guess that's some progress at least.
_______________________________________________________
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/07
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/07
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Mike Miller, 2018/07/07
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/07
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Mike Miller, 2018/07/07
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/08
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Mike Miller, 2018/07/08
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Mike Miller, 2018/07/08
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/08
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Mike Miller, 2018/07/08
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris,
Michele <=
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/09
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Rik, 2018/07/09
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/09
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Rik, 2018/07/09
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Mike Miller, 2018/07/09
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/09
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Mike Miller, 2018/07/09
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/09
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Rik, 2018/07/09
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Rik, 2018/07/09