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: Mon, 9 Jul 2018 13:20:05 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; SunOS sun4u; rv:52.0) Gecko/20100101 Firefox/52.0

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

I found some suggestion on the web to add

#define GLX_GLXEXT_LEGACY

to

/opt/csw/include/GL/glext.h

so I did that and ran gmake again.  That actually took care of the GLsizptr
and GLintptr errors.  But now it's back to the gld vs. ld error:


  CXXLD    libinterp/liboctinterp.la
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libstdc++.la' seems to
be moved
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libgomp.la' seems to be
moved
/opt/csw/bin/gld: warning: -z allextract ignored.
/opt/csw/bin/gld: warning: -z defaultextract ignored.
/opt/csw/bin/gld:/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libgcc-unwind.map:
file format not recognized; treating as linker script
/opt/csw/bin/gld:/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libgcc-unwind.map:1:
syntax error
gmake[2]: *** [Makefile:11851: libinterp/liboctinterp.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


So I undefined LD_ALTEXEC
and ran gmake again.  It went a bit further but now we're back to the "libstdc
moved" warnings and the GL error came back.  ???


gmake[2]: Entering directory '/export/home/michele/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
  CXXLD    libinterp/liboctinterp.la
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libstdc++.la' seems to
be moved
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libgomp.la' seems to be
moved
ld: warning: file /opt/csw/lib/libgomp.so: attempted multiple inclusion of
file
  CXXLD    libinterp/dldfcn/__delaunayn__.la
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libstdc++.la' seems to
be moved
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libgomp.la' seems to be
moved
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libstdc++.la' seems to
be moved
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libgomp.la' seems to be
moved
ld: warning: file /opt/csw/lib/libgomp.so: attempted multiple inclusion of
file
  GEN      libinterp/dldfcn/__delaunayn__.oct
  CXXLD    libinterp/dldfcn/__eigs__.la
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libstdc++.la' seems to
be moved
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libgomp.la' seems to be
moved
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libstdc++.la' seems to
be moved
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libgomp.la' seems to be
moved
ld: warning: file /opt/csw/lib/libgomp.so: attempted multiple inclusion of
file
  GEN      libinterp/dldfcn/__eigs__.oct
  CXXLD    libinterp/dldfcn/__fltk_uigetfile__.la
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libstdc++.la' seems to
be moved
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libgomp.la' seems to be
moved
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libstdc++.la' seems to
be moved
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libgomp.la' seems to be
moved
ld: warning: file /opt/csw/lib/libgomp.so: attempted multiple inclusion of
file
  GEN      libinterp/dldfcn/__fltk_uigetfile__.oct
  CXXLD    libinterp/dldfcn/__glpk__.la
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libstdc++.la' seems to
be moved
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libgomp.la' seems to be
moved
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libstdc++.la' seems to
be moved
libtool: warning:
'/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../libgomp.la' seems to be
moved
ld: warning: file /opt/csw/lib/libgomp.so: attempted multiple inclusion of
file
  GEN      libinterp/dldfcn/__glpk__.oct
  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:5104: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:5104: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:5869: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:5869: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:5870:74: error: ‘GLintptr’ has not been
declared
 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target,
GLintptr offset, GLsizeiptr length);
                                                                          ^
/opt/csw/include/GL/glext.h:5870:91: error: ‘GLsizeiptr’ has not been
declared
 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target,
GLintptr offset, GLsizeiptr length);
          ^
/opt/csw/include/GL/glext.h:5932: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:5932: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:5932: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:8430:79: error: ‘GLintptr’ has not been
declared
 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target,
GLintptr offset, GLsizeiptr size);
                                                                              
^
/opt/csw/include/GL/glext.h:8430:96: error: ‘GLsizeiptr’ has not been
declared
 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target,
GLintptr offset, GLsizeiptr size);
               ^
/opt/csw/include/GL/glext.h:8691: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:8691: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:8692: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:8710:18: error: typedef ‘GLintptr’ is
initialized (use decltype instead)
 typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program,
GLint location);
                  ^
/opt/csw/include/GL/glext.h:8710:29: error: ‘PFNGLGETUNIFORMOFFSETEXTPROC’
was not declared in this scope
 typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program,
GLint location);
                             ^
/opt/csw/include/GL/glext.h:8780: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:8780: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:8781: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:9133: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:9134: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:9134: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:9139: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:9139: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:9439: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/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
#


    _______________________________________________________

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]