Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
freeglut conflicting types for ‘PFNGLSHADERSOURCEPROC’
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
zasdfgbnm
n00b
n00b


Joined: 06 Apr 2012
Posts: 48

PostPosted: Sat Jul 28, 2012 2:40 am    Post subject: freeglut conflicting types for ‘PFNGLSHADERSOURCEPROC’ Reply with quote

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
View user's profile Send private message
MaZy
n00b
n00b


Joined: 29 Jul 2012
Posts: 1

PostPosted: Sun Jul 29, 2012 8:24 am    Post subject: Re: freeglut conflicting types for ‘PFNGLSHADERSOURCEPROC’ Reply with quote

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
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Mon Jul 30, 2012 7:00 pm    Post subject: Reply with quote

This is bug 428382.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum