From nobody@FreeBSD.org  Thu Mar 10 18:44:41 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3AD6F106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 10 Mar 2011 18:44:41 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 2ACD08FC1A
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 10 Mar 2011 18:44:41 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p2AIif8F039209
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 10 Mar 2011 18:44:41 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p2AIieEP039208;
	Thu, 10 Mar 2011 18:44:40 GMT
	(envelope-from nobody)
Message-Id: <201103101844.p2AIieEP039208@red.freebsd.org>
Date: Thu, 10 Mar 2011 18:44:40 GMT
From: Rusty Nejdl <rnejdl@ringofsaturn.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Ogre3d 1.7.2 doesn't compile on AMD64
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         155448
>Category:       ports
>Synopsis:       graphics/ogre3d 1.7.2 doesn't compile on AMD64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    oliver
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 10 18:50:11 UTC 2011
>Closed-Date:    Tue Apr 26 06:05:14 UTC 2011
>Last-Modified:  Tue Apr 26 06:05:14 UTC 2011
>Originator:     Rusty Nejdl
>Release:        8.2-Stable AMD 64
>Organization:
>Environment:
FreeBSD tethys.ringofsaturn.com 8.2-STABLE FreeBSD 8.2-STABLE #0: Fri Mar  4 11:30:57 CST 2011     root@tethys.ringofsaturn.com:/usr/obj/usr/src/sys/SATURN  amd64

>Description:
When building ogre3d on AMD64 bit 8.2 with NVIDIA driver, I get the following:

Linking CXX shared library ../lib/libOgreMain.so                                
[ 50%] Built target OgreMain                                                    
Scanning dependencies of target RenderSystem_GL
[ 50%] Building CXX object RenderSystems/GL/CMakeFiles/RenderSystem_GL.dir/src/glew.cpp.o                                                                       
/usr/ports/graphics/ogre3d/work/ogre_src_v1-7-2/RenderSystems/GL/src/glew.cpp:1056: error: 'PFNGLGETPOINTERVEXTPROC' does not name a type
/usr/ports/graphics/ogre3d/work/ogre_src_v1-7-2/RenderSystems/GL/src/glew.cpp: In function 'GLboolean _glewInit_GL_EXT_vertex_array(Ogre::GLSupport*)':
/usr/ports/graphics/ogre3d/work/ogre_src_v1-7-2/RenderSystems/GL/src/glew.cpp:3876: error: 'glGetPointervEXT' was not declared in this scope
/usr/ports/graphics/ogre3d/work/ogre_src_v1-7-2/RenderSystems/GL/src/glew.cpp:3876: error: 'PFNGLGETPOINTERVEXTPROC' was not declared in this scope
*** Error code 1

Stop in /usr/ports/graphics/ogre3d/work/ogre_src_v1-7-2.
*** Error code 1

Stop in /usr/ports/graphics/ogre3d/work/ogre_src_v1-7-2.
*** Error code 1

Stop in /usr/ports/graphics/ogre3d/work/ogre_src_v1-7-2.
*** Error code 1

Stop in /usr/ports/graphics/ogre3d.

>How-To-Repeat:
I'm running latest ports tree and trying to compile ogre3d 1.7.2.  I have NVIDIA Driver 260.19.29 installed.  I tried the port with make jobs safe and without and no change.
>Fix:
I don't know.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->oliver 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Mar 10 22:21:21 UTC 2011 
Responsible-Changed-Why:  
Fix synopsis and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=155448 
State-Changed-From-To: open->analyzed 
State-Changed-By: oliver 
State-Changed-When: Fri Mar 11 11:53:00 UTC 2011 
State-Changed-Why:  
This has also been reported upstream and it looks like a glew installlation can cause this 

http://www.ogre3d.org/mantis/view.php?id=397 


http://www.freebsd.org/cgi/query-pr.cgi?pr=155448 
State-Changed-From-To: analyzed->closed 
State-Changed-By: oliver 
State-Changed-When: Tue Apr 26 06:04:43 UTC 2011 
State-Changed-Why:  
This was fixed 5 weeks ago with a small patch in our CVS. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=155448 
>Unformatted:
