|
[ XFUT lugnet.cad.dev ]
Don Heyse wrote:
> Grab the latest ldglite sources from CVS. This gets you a new
> makefile makefile.osmesa and a file osmglut.c containing stubs for the
> unused glut functions.
>
> cvs -z3 -d:pserver:anonymous@cvs.ldglite.sourceforge.net:/cvsroot/ldglite
> checkout ldglite
>
> Grab the latest mesa sources and install it in the ldglite/Mesa-5.0.1
> directory.
>
> Cd into the Mesa directory and configure it to build without X and
> include static versions of the libraries.
>
> cd Mesa-5.0.1
> ./configure --without-x --enable-static
>
> Build the GL OSMesa and GLU libraries.
>
> cd src
> make
> cd ../src-glu
> make
>
> Drop down into the ldglite directory and build it with OSMesa. Strip
> the executable to reduce the size down to about 2.5 MB.
>
> cd ../..
So far it works fine, but ...
> make -f makefile.osmesa
This fails. Here's the end of the output from the build:
----------
gcc -g -DUNIX -DUSE_OPENGL -DUSE_L3_PARSER -DUSE_BMP8 -DNEED_MIN_MAX
-DUSE_PNG -DTILE_RENDER_OPTION -DOSMESA_OPTION -IMesa-5.0.1
ldliteVR_main.o platform.o dirscan.o gleps.o camera.o f00QuatC.o quant.o
stub.o lcolors.o y.tab.o lex.yy.o qbuf.o main.o ldglpr.o L3Edit.o
L3Math.o L3Input.o L3View.o tr.o osmglut.o -o ldglite -L/usr/X11R6/lib
-lpng -lz -static -LMesa-5.0.1/src/.libs -LMesa-5.0.1/src-glu/.libs
-LMesa-5.0.1/src/OSmesa/.libs -lOSMesa -lGLU -lGL -dynamic -lpthread -lm
main.o: In function `loadnewdatfile':
/home/cmplx/sparre/C/Ekstern_kode/LDGLite/ldglite/main.c:3825: undefined
reference to `dirfilepath'
main.o: In function `saveasdatfile':
/home/cmplx/sparre/C/Ekstern_kode/LDGLite/ldglite/main.c:3844: undefined
reference to `dirfilepath'
main.o: In function `edit_mode_keyboard':
/home/cmplx/sparre/C/Ekstern_kode/LDGLite/ldglite/main.c:5022: undefined
reference to `pasteCommand'
main.o: In function `keyboard':
/home/cmplx/sparre/C/Ekstern_kode/LDGLite/ldglite/main.c:5516: undefined
reference to `pasteCommand'
main.o: In function `ParseParams':
/home/cmplx/sparre/C/Ekstern_kode/LDGLite/ldglite/main.c:6373: undefined
reference to `dirfilepath'
/home/cmplx/sparre/C/Ekstern_kode/LDGLite/ldglite/main.c:6392: undefined
reference to `dirfilepath'
main.o: In function `setfilename':
/home/cmplx/sparre/C/Ekstern_kode/LDGLite/ldglite/main.c:6909: undefined
reference to `dirfilepath'
main.o: In function `registerGlutCallbacks':
/home/cmplx/sparre/C/Ekstern_kode/LDGLite/ldglite/main.c:6924: undefined
reference to `glutPassiveMotionFunc'
/home/cmplx/sparre/C/Ekstern_kode/LDGLite/ldglite/main.c:6933: undefined
reference to `glutWindowStatusFunc'
/home/cmplx/sparre/C/Ekstern_kode/LDGLite/ldglite/main.c:6934: undefined
reference to `glutVisibilityFunc'
main.o: In function `main':
/home/cmplx/sparre/C/Ekstern_kode/LDGLite/ldglite/main.c:7425: undefined
reference to `initializeMenus'
L3Edit.o: In function `Hose1Part':
/home/cmplx/sparre/C/Ekstern_kode/LDGLite/ldglite/L3Edit.c:1703:
undefined reference to `hoser'
L3Input.o: In function `PromptUser':
/home/cmplx/sparre/C/Ekstern_kode/LDGLite/ldglite/L3Input.cpp:176:
undefined reference to `__gxx_personality_v0'
L3View.o: In function `MakePartBox':
/home/cmplx/sparre/C/Ekstern_kode/LDGLite/ldglite/L3View.cpp:78:
undefined reference to `__gxx_personality_v0'
/usr/X11R6/lib/libOSMesa.a(config.o): In function `get_word':
config.o(.text+0x260): undefined reference to `__ctype_b'
/usr/X11R6/lib/libOSMesa.a(config.o): In function `get_list':
config.o(.text+0x351): undefined reference to `__ctype_b'
collect2: ld returned 1 exit status
gmake: *** [ldglite] Error 1
----------
Play well,
Jacob
--
LEGO boats:
http://jacob.sparre.dk/LEGO/Transport/Skibe/
|
|
Message is in Reply To:
9 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|