| View previous topic :: View next topic |
| Author |
Message |
eman n00b

Joined: 23 Oct 2003 Posts: 2
|
Posted: Thu Oct 23, 2003 3:20 am Post subject: xfree compile problems in OSmesa |
|
|
I am getting a problem when I attempt to emerge the latest xfree (4.3.0-r3). When it gets to compiling the directory at wc/lib/GL/mesa/src/OSmesa there seems to be some sort of Makefile problem. The output I get is:
rm -f ../../../../../lib/GL/mesa/src/context.o unshared/../../../../../lib/GL/mesa/src/context.o
gcc -c -ansi -pedantic -Wno-return-type -w -I../../../../../exports/include/X11 -I../../../../../include/extensions -I../../../../../extras/Mesa/src/OSmesa -I../../../../../extras/Mesa/src -I../../../../../extras/Mesa/include -I../../../../../lib/GL/include -I../../../../.. -I../../../../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DMALLOC_0_RETURNS_NULL -O2 -march=pentium3 -pipe ../../../../../lib/GL/mesa/src/context.c -o unshared/../../../../../lib/GL/mesa/src/context.o
Assembler messages:
FATAL: can't create unshared/../../../../../lib/GL/mesa/src/context.o: No such file or directory
make: *** [../../../../../lib/GL/mesa/src/context.o] Error 2
The use flags being enabled are:
sse mmx xml2 truetype pam
The obvious problem is that it is trying to place a static (unshared) version of the object file into the directory "unshared". The problem is that the object name has a relative reference to it, causing it to be attempted to be created in some other place. I have a hard time believing that the make files are wrong (I assume a lot of people have compiled this software), but maybe with the combo of flags I am using it triggers the problem.
I searched the forums and found a couple of other similar problems reported (although they were with different file than context.o, but the problem was the same). Anybody have any suggestions? Thanks for any help that you can provide. _________________ Eric |
|
| Back to top |
|
 |
eman n00b

Joined: 23 Oct 2003 Posts: 2
|
Posted: Thu Oct 23, 2003 3:49 am Post subject: More info |
|
|
After looking at it a bit more I am even more confused. If I try to compile the xc/lib/GL/mesa/src directory manually (in the build that portage had started) then it doesn't even go into the OSMesa directory. It is not listed as one of the subdirectories that should be compiled in the Imakefile. So I am not even sure how portage got into this directory.
I'm going to try to compile with default flags tonight (it takes a long time because I have to compile over NFS to allow me enough space. The harddrive is very limited). Hopefully tomorrow I will be able to tell if switching some flags will helps any. It is a kind of stab in the dark approach, but it might get it to at least work.
Once again thanks for any help with this problem. _________________ Eric |
|
| Back to top |
|
 |
|