Hello, I am trying to compile the mesa librarys under djgpp in
dos. The readme.dos file said to use the line "make -f
makefile.dj" this did not work. In the makefile.dj in the /src
director the "\" is used for directories. It didn't like that
for some reason. After changing the "\"s to "/"s the
librarys compile all the sources. It failed when it tried to compile the
dosmesa.c. There are two problems. (1) the dosmesa.c included files
from the src directory (dosmesa.c is in the src/DOS director) so I changed the
include lines to "#incude "../context.h"" for example.
This fixed that problem. (2) The next problem I have no idea how to fix
(that is why I am writing this). Here is the output...
C:\Program\DJGPP\mesa2\Mesa-3.1>make -f
makefile.dj
mkdir lib Directory already exists cd src ; c:/program/djgpp/bin/make.exe -f Makefile.dj "CFLAGS = -O3 -m486"; cd .. make.exe[1]: Entering directory `c:/program/djgpp/mesa2/mesa-3.1/src' gcc -c -DDOSVGA -I../include -O3 -m486 DOS/dosmesa.c DOS/dosmesa.c:1012: `buffer' undeclared (first
use in this function)
DOS/dosmesa.c:1012: (Each undeclared identifier is reported only once DOS/dosmesa.c:1012: for each function it appears in.) DOS/dosmesa.c: In function `DOSmesa_setup_DD_pointers': DOS/dosmesa.c:1325: warning: assignment from incompatible pointer type DOS/dosmesa.c:1340: structure has no member named `WriteColorSpan' DOS/dosmesa.c:1341: structure has no member named `WriteMonocolorSpan' DOS/dosmesa.c:1342: structure has no member named `WriteColorPixels' DOS/dosmesa.c:1343: structure has no member named `WriteMonocolorPixels' DOS/dosmesa.c:1344: structure has no member named `WriteIndexSpan' DOS/dosmesa.c:1345: structure has no member named `WriteMonoindexSpan' DOS/dosmesa.c:1346: structure has no member named `WriteIndexPixels' DOS/dosmesa.c:1347: structure has no member named `WriteMonoindexPixels' DOS/dosmesa.c:1351: structure has no member named `ReadIndexSpan' DOS/dosmesa.c:1352: structure has no member named `ReadColorSpan' DOS/dosmesa.c:1353: structure has no member named `ReadIndexPixels' DOS/dosmesa.c:1354: structure has no member named `ReadColorPixels' DOS/dosmesa.c: In function `DOSMesaCreateContext': DOS/dosmesa.c:1421: too many arguments to function `gl_create_visual' DOS/dosmesa.c:1426: too few arguments to function `gl_create_context' make.exe[1]: *** [DOS/dosmesa.o] Error 1 make.exe[1]: Leaving directory `c:/program/djgpp/mesa2/mesa-3.1/src' make.exe: *** [libs] Error 2 C:\Program\DJGPP\mesa2\Mesa-3.1>
I hope this helps, please let me know if you
know what the problem is or if you fix the problem.
Thanks,
Josh Castagno,
[EMAIL PROTECTED]
|