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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #54235] configure sets FPICFLAG to '-KPIC' on


From: Michele
Subject: [Octave-bug-tracker] [bug #54235] configure sets FPICFLAG to '-KPIC' on Solaris even with F77='gfortran'
Date: Wed, 4 Jul 2018 12:13:09 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; SunOS sun4u; rv:52.0) Gecko/20100101 Firefox/52.0

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

"Does something like this work?
gmake FPICFLAG=-fPIC LDFLAGS='-L/opt/csw/lib'"

Yes!  It got me past that pesky libtool error.

(Recall:

ld: fatal: recording name conflict: file '/opt/csw/lib/libstdc++.so' and file
'/usr/sfw/lib/libstdc++.so' provide identical dependency names: libstdc++.so.6
 (possible multiple inclusion of the same file))

It went further but now it's stopping with something similar.  This time it's
looking at /usr/openwin/include/GL/ and /opt/csw/include/GL/

----------------------------------------------------------------

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: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:18606:
libinterp/dldfcn/libinterp_dldfcn___init_fltk___la-__init_fltk__.lo] Error 1
gmake[2]: Leaving directory '/export/home/michele/octave-4.4.0'
gmake[1]: *** [Makefile:26469: all-recursive] Error 1
gmake[1]: Leaving directory '/export/home/michele/octave-4.4.0'
gmake: *** [Makefile:10185: 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]