Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2004 16:45:31 +0100
From:      Antoine Jacoutot <ajacoutot@lphp.org>
To:        freebsd-ports@freebsd.org
Subject:   celestia port broken ?
Message-ID:  <200403091645.31958.ajacoutot@lphp.org>

next in thread | raw e-mail | index | archive | help
Hi :)

I'm trying to compile astro/celestia under 5.2.1-p1 and I get the following 
error.
In case that has anything to do with this, I'm using the NVidia binary driver 
and make the celestia port with the following knob: "-DWITHOUT_GNOME"

Thanks in advance.
Regards.

gmake[4]: Leaving directory 
`/usr/ports/astro/celestia/work/celestia-1.2.4/src/celestia/res'
gmake[4]: Entering directory 
`/usr/ports/astro/celestia/work/celestia-1.2.4/src/celestia'
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/X11R6/include 
-I/usr/X11R6/include/GL -I/usr/local/include -D_THREAD_SAFE  -O -pipe 
-march=pentium3      -fomit-frame-pointer    -c celestiacore.cpp
In file included from ../celengine/texmanager.h:15,
                 from ../celengine/simulation.h:22,
                 from ../celengine/execenv.h:15,
                 from ../celengine/execution.h:13,
                 from celestiacore.cpp:33:
../celutil/resmanager.h: In member function `ResourceHandle
   ResourceManager<T>::getHandle(const T&)':
../celutil/resmanager.h:62: warning: `std::map<T, ResourceHandle,
   std::less<_Key>, std::allocator<std::pair<const T, ResourceHandle> >
   >::iterator' is implicitly a typename
../celutil/resmanager.h:62: warning: implicit typename is deprecated, please
   see the documentation for details
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/X11R6/include 
-I/usr/X11R6/include/GL -I/usr/local/include -D_THREAD_SAFE  -O -pipe 
-march=pentium3      -fomit-frame-pointer    -c configfile.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/X11R6/include 
-I/usr/X11R6/include/GL -I/usr/local/include -D_THREAD_SAFE  -O -pipe 
-march=pentium3      -fomit-frame-pointer    -c destination.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/X11R6/include 
-I/usr/X11R6/include/GL -I/usr/local/include -D_THREAD_SAFE  -O -pipe 
-march=pentium3      -fomit-frame-pointer    -c favorites.cpp
In file included from ../celengine/texmanager.h:15,
                 from ../celengine/simulation.h:22,
                 from ../celengine/execenv.h:15,
                 from ../celengine/command.h:14,
                 from ../celengine/cmdparser.h:17,
                 from favorites.cpp:15:
../celutil/resmanager.h: In member function `ResourceHandle
   ResourceManager<T>::getHandle(const T&)':
../celutil/resmanager.h:62: warning: `std::map<T, ResourceHandle,
   std::less<_Key>, std::allocator<std::pair<const T, ResourceHandle> >
   >::iterator' is implicitly a typename
../celutil/resmanager.h:62: warning: implicit typename is deprecated, please
   see the documentation for details
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/X11R6/include 
-I/usr/X11R6/include/GL -I/usr/local/include -D_THREAD_SAFE  -O -pipe 
-march=pentium3      -fomit-frame-pointer    -c imagecapture.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/X11R6/include 
-I/usr/X11R6/include/GL -I/usr/local/include -D_THREAD_SAFE  -O -pipe 
-march=pentium3      -fomit-frame-pointer    -c glutmain.cpp
In file included from ../celengine/texmanager.h:15,
                 from ../celengine/simulation.h:22,
                 from ../celengine/execenv.h:15,
                 from ../celengine/command.h:14,
                 from celestiacore.h:17,
                 from glutmain.cpp:34:
../celutil/resmanager.h: In member function `ResourceHandle
   ResourceManager<T>::getHandle(const T&)':
../celutil/resmanager.h:62: warning: `std::map<T, ResourceHandle,
   std::less<_Key>, std::allocator<std::pair<const T, ResourceHandle> >
   >::iterator' is implicitly a typename
../celutil/resmanager.h:62: warning: implicit typename is deprecated, please
   see the documentation for details
glutmain.cpp: In function `int main(int, char**)':
glutmain.cpp:449: error: `cerr' undeclared (first use this function)
glutmain.cpp:449: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
glutmain.cpp:461: error: `cout' undeclared (first use this function)
gmake[4]: *** [glutmain.o] Error 1
gmake[4]: Leaving directory 
`/usr/ports/astro/celestia/work/celestia-1.2.4/src/celestia'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/usr/ports/astro/celestia/work/celestia-1.2.4/src/celestia'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/astro/celestia/work/celestia-1.2.4/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/astro/celestia/work/celestia-1.2.4'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/astro/celestia.

-- 
Antoine Jacoutot
ajacoutot@lphp.org
http://www.lphp.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403091645.31958.ajacoutot>