[parsec-users] Error in compiling raytrace in X86

Joel Hestness hestness at cs.utexas.edu
Fri Oct 8 00:08:11 EDT 2010


Hi Anusha,
  My apologies for not explaining.  Section 6.4 describes that you will need
to download a handful of libraries that are not packaged with the PARSEC
distribution (which includes libX11, the error that you're encountering
here).  The packages are available in one tarball,
called parsec-2.1-extra-alpha-packages.tar.gz, from our website (
www.cs.utexas.edu/~parsec_m5 see "Extra packages...") as described in the
report.  The only difference between what you're doing and what is described
in the tech report is that you're building for x86, which will require some
fiddling with PARSEC build configurations within each package's PARSEC
config directories (./pkgs/libs/<package_name>/parsec/).  The
alpha-gcc-hooks.bldconf file there should be a reasonable guide for the
dependencies between the packages.
  Let me know if you need some more guidance.
  Good luck,
  Joel


2010/10/7 Anusha <anu.jeya at gmail.com>

> 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
>>
>>
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20101007/05ce3ea9/attachment.html>


More information about the parsec-users mailing list