View previous topic :: View next topic |
Author |
Message |
zasdfgbnm n00b
Joined: 06 Apr 2012 Posts: 48
|
Posted: Sat Jul 28, 2012 2:40 am Post subject: freeglut conflicting types for ‘PFNGLSHADERSOURCEPROC’ |
|
|
I'm using ACCEPT_KEYWORDS="~amd64". The error occured while emerging media-libs/freeglut-2.8.0
Code: | Making all in smooth_opengl3
make[4]: Entering directory `/var/tmp/portage/media-libs/freeglut-2.8.0/work/freeglut-2.8.0/progs/demos/smooth_opengl3'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -pipe -march=native -mtune=native -Wall -pedantic -c -o smooth_opengl3-smooth_opengl3.o `test -f 'smooth_opengl3.c' || echo './'`smooth_opengl3.c
smooth_opengl3.c:105:17: error: conflicting types for ‘PFNGLSHADERSOURCEPROC’
/usr/include/GL/glext.h:6053:18: note: previous declaration of ‘PFNGLSHADERSOURCEPROC’ was here
make[4]: *** [smooth_opengl3-smooth_opengl3.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-libs/freeglut-2.8.0/work/freeglut-2.8.0/progs/demos/smooth_opengl3'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/freeglut-2.8.0/work/freeglut-2.8.0/progs/demos'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/freeglut-2.8.0/work/freeglut-2.8.0/progs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/freeglut-2.8.0/work/freeglut-2.8.0'
make: *** [all] Error 2
* ERROR: media-libs/freeglut-2.8.0 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=media-libs/freeglut-2.8.0'`,
* the complete build log and the output of `emerge -pqv '=media-libs/freeglut-2.8.0'`.
* The complete build log is located at '/var/tmp/portage/media-libs/freeglut-2.8.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/freeglut-2.8.0/temp/environment'.
* Working directory: '/var/tmp/portage/media-libs/freeglut-2.8.0/work/freeglut-2.8.0'
* S: '/var/tmp/portage/media-libs/freeglut-2.8.0/work/freeglut-2.8.0'
>>> Failed to emerge media-libs/freeglut-2.8.0, Log file:
>>> '/var/tmp/portage/media-libs/freeglut-2.8.0/temp/build.log'
* Messages for package media-libs/freeglut-2.8.0:
* ERROR: media-libs/freeglut-2.8.0 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=media-libs/freeglut-2.8.0'`,
* the complete build log and the output of `emerge -pqv '=media-libs/freeglut-2.8.0'`.
* The complete build log is located at '/var/tmp/portage/media-libs/freeglut-2.8.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/freeglut-2.8.0/temp/environment'.
* Working directory: '/var/tmp/portage/media-libs/freeglut-2.8.0/work/freeglut-2.8.0'
* S: '/var/tmp/portage/media-libs/freeglut-2.8.0/work/freeglut-2.8.0'
|
|
|
Back to top |
|
|
MaZy n00b
Joined: 29 Jul 2012 Posts: 1
|
Posted: Sun Jul 29, 2012 8:24 am Post subject: Re: freeglut conflicting types for ‘PFNGLSHADERSOURCEPROC’ |
|
|
unmask media-libs/freeglut-2.6.0 and build
Code: | echo ">media-libs/freeglut-2.6.0" >> /etc/portage/package.mask
emerge -av freeglut |
|
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Mon Jul 30, 2012 7:00 pm Post subject: |
|
|
This is bug 428382. |
|
Back to top |
|
|
|