[parsec-users] Error in compiling raytrace in X86

Anusha anu.jeya at gmail.com
Thu Oct 7 22:38:54 EDT 2010


Joel,

I actually commented out the lines suggested in the manual,

but much more files are missing for me:

In file included from fakeglx.c:43:
glxheader.h:43:23: error: X11/Xlib.h: No such file or directory
glxheader.h:44:26: error: X11/Xlibint.h: No such file or directory
glxheader.h:45:24: error: X11/Xutil.h: No such file or directory

glxheader.h:49:35: error: X11/extensions/XShm.h: No such file or directory

The document suggests only about the XShm.h file.

-Anusha


2010/10/7 Joel Hestness <hestness at cs.utexas.edu>

> Hi Anusha,
>   It looks like this is a similar problem to what we encountered when
> building Raytrace for ALPHA.  The mesa package is dependent on libX11, which
> isn't included in the PARSEC distribution.  For more information on how we
> handled that, check out our tech report:
> http://www.cs.utexas.edu/~parsec_m5/TR-09-32.pdf
>  <http://www.cs.utexas.edu/~parsec_m5/TR-09-32.pdf>  Hope this helps,
>   Joel
>
>
> 2010/10/7 Anusha <anu.jeya at gmail.com>
>
>> Hi,
>>
>> I have been trying to compile PARSEC benchmarks. When I compile the
>> raytrace using X86 I get the following error message
>>
>> Look at the following:
>>
>>
>> make[3]: make[3]: Entering directory
>> `/home/anusha/parsec-2.1/pkgs/libs/mesa/obj/amd64-linux.gcc-hooks/src/mesa/drivers'
>> Warning: File `../../../configs/current' has modification time 3.1e+03 s
>> in the future
>> make[4]: Entering directory
>> `/home/anusha/parsec-2.1/pkgs/libs/mesa/obj/amd64-linux.gcc-hooks/src/mesa/drivers/x11'
>> make[4]: Warning: File `../../../../configs/current' has modification time
>> 3.1e+03 s in the future
>> running /usr/bin/makedepend
>> make[4]: Leaving directory
>> `/home/anusha/parsec-2.1/pkgs/libs/mesa/obj/amd64-linux.gcc-hooks/src/mesa/drivers/x11'
>> make[4]: make[4]: Entering directory
>> `/home/anusha/parsec-2.1/pkgs/libs/mesa/obj/amd64-linux.gcc-hooks/src/mesa/drivers/x11'
>> Warning: File `depend' has modification time 3.2e+03 s in the future
>> /software/gcc_4.3.2/bin/gcc -c -I../../../../include
>> -I../../../../src/mesa -I../../../../src/mesa/main -O3 -funroll-loops
>> -fprefetch-loop-arrays -static-libgcc -Wl,--hash-style=both,--as-needed
>> -DPARSEC_VERSION=2.1 -DENABLE_PARSEC_HOOKS
>> -I/home/anusha/parsec-2.1/pkgs/libs/hooks/inst/amd64-linux.gcc-hooks/include
>> -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing
>>  -DUSE_X86_64_ASM -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE
>> -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XSHM
>> fakeglx.c -o fakeglx.o
>> In file included from fakeglx.c:43:
>> glxheader.h:43:23: error: X11/Xlib.h: No such file or directory
>> glxheader.h:44:26: error: X11/Xlibint.h: No such file or directory
>> glxheader.h:45:24: error: X11/Xutil.h: No such file or directory
>> glxheader.h:49:35: error: X11/extensions/XShm.h: No such file or directory
>> In file included from glxheader.h:51,
>>                  from fakeglx.c:43:
>>
>>
>> ---------------------------------------------------------------------------------------
>> prefix:
>>  /home/anusha/parsec-2.1/pkgs/libs/mesa/inst/amd64-linux.gcc-hooks
>>         exec_prefix:     ${prefix}
>>         libdir:          ${exec_prefix}/lib
>>         includedir:      ${prefix}/include
>>
>>         Driver:          xlib
>>         OSMesa:          libOSMesa
>>
>>         Shared libs:     no
>>         Static libs:     yes
>>         GLU:             yes
>>         GLw:             yes (Motif: no)
>>         glut:            yes
>>         Demos:           no
>>
>> ---------------------------------------------------------------------------
>>
>> If you look at the prefix, I don't have such a path.Can you please tell me
>> what I am missing here?
>>
>> Thanks,
>> Anusha
>>
>>
>> _______________________________________________
>> parsec-users mailing list
>> parsec-users at lists.cs.princeton.edu
>> https://lists.cs.princeton.edu/mailman/listinfo/parsec-users
>>
>>
>
>
> --
>   Joel Hestness
>   PhD Student, Computer Architecture
>   Dept. of Computer Science, University of Texas - Austin
>   http://www.cs.utexas.edu/~hestness
>
> _______________________________________________
> parsec-users mailing list
> parsec-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/parsec-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20101007/969e5d1d/attachment-0001.htm>


More information about the parsec-users mailing list