Bug 67740 - render2.c: In function '__indirect_glMap1d'
Summary: render2.c: In function '__indirect_glMap1d'
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: GLX (show other bugs)
Version: 9.1
Hardware: x86-64 (AMD64) Solaris
: medium blocker
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-04 11:21 UTC by Henry
Modified: 2019-09-18 17:44 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Henry 2013-08-04 11:21:30 UTC
render2.c:54:4: error: implicit declaration of function '__glMap1d_size' [-Werror=implicit-function-declaration]
    k = __glMap1d_size(target);
    ^
render2.c: In function '__indirect_glMap1f':
render2.c:121:4: error: implicit declaration of function '__glMap1f_size' [-Werror=implicit-function-declaration]
    k = __glMap1f_size(target);
    ^
render2.c: In function '__indirect_glMap2d':
render2.c:185:4: error: implicit declaration of function '__glMap2d_size' [-Werror=implicit-function-declaration]
    k = __glMap2d_size(target);
    ^
render2.c: In function '__indirect_glMap2f':
render2.c:263:4: error: implicit declaration of function '__glMap2f_size' [-Werror=implicit-function-declaration]
    k = __glMap2f_size(target);
    ^
cc1: some warnings being treated as errors
make[3]: *** [render2.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/Desktop/mesa-9.1.6/src/glx'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/Desktop/mesa-9.1.6/src/glx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Desktop/mesa-9.1.6/src'
make: *** [all-recursive] Error 1
Comment 1 Ian Romanick 2013-08-08 18:53:41 UTC
Are you building from GIT or from the 9.1.6 release tarball?

Does this occur with 9.1.5?

What options are you passing to configure?
Comment 2 Henry 2013-08-13 03:19:51 UTC
from the tarball.

./configure --prefix=/local PYTHON2=/local/bin/python2.7
Comment 3 Henry 2013-08-25 10:21:34 UTC
ok, to compile src/glc I did the following..

bash-4.2$ make -C src/glx clean.

bash-4.2$ make -CFLAGS=-D__GNU__ -C src/glx
...

and there are more fails, but compiling independently each folder that fail with  "CFLAGS=-D__GNUC__" you can succeed. 
 
was very difficult to compile Mesalib on solaris i86pc platform.
Comment 4 Henry 2013-08-25 10:23:49 UTC
ok, to compile src/glx I did the following..

bash-4.2$ make -C src/glx clean.

bash-4.2$ make -CFLAGS=-D__GNU__ -C src/glx
...

and there are more fails, but compiling independently each folder that fail with  "CFLAGS=-D__GNUC__" you can succeed. 
 
was very difficult to compile Mesalib on solaris i86pc platform.
Comment 5 GitLab Migration User 2019-09-18 17:44:36 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/91.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.