[parsec-users] Raytrace compilation errors

kishore kumar kishoreguptaos at gmail.com
Thu Sep 23 11:48:27 EDT 2010


Hi,
I am getting the following compilation errors on AMD Opteron
OpenSolaris.2009.06. Could anyone help me to resolve this, please?

$ /bin/parsecmgmt -a build -p raytrace -c gcc-pthreads
...........
.........
/usr/bin/g++-4.3.2
-I/export/home/project/parsec-2.1/pkgs/libs/mesa/inst/i386-solaris.gcc-pthreads/include
-O3 -funroll-loops -fpermissive -fno-exceptions -I/usr/include
-DPARSEC_VERSION=2.1 -fexceptions -fno-strict-aliasing -fno-align-labels
-DNDEBUG -D_MM_NO_ALIGN_CHECK   -fPIC
-L/export/home/project/parsec-2.1/pkgs/libs/mesa/inst/i386-solaris.gcc-pthreads/lib
-L/usr/lib64 -L/usr/lib -L/usr/lib
CMakeFiles/test_glut.dir/Testing/testglut.o  -o bin/test_glut
-L/export/home/project/parsec-2.1/pkgs/libs/mesa/inst/i386-solaris.gcc-pthreads/lib
/export/home/project/parsec-2.1/pkgs/libs/mesa/inst/i386-solaris.gcc-pthreads/lib/libglut.a
/export/home/project/parsec-2.1/pkgs/libs/mesa/inst/i386-solaris.gcc-pthreads/lib/libGLU.a
/export/home/project/parsec-2.1/pkgs/libs/mesa/inst/i386-solaris.gcc-pthreads/lib/libGL.a
-lXmu -lX11 -lGL -lGLU -lpthread
Undefined            first referenced
 symbol                  in file
XShmAttach
/export/home/project/parsec-2.1/pkgs/libs/mesa/inst/i386-solaris.gcc-pthreads/lib/libGL.a(xm_buffer.o)
(symbol belongs to implicit dependency /usr/lib/libXext.so.0)
XShmDetach
/export/home/project/parsec-2.1/pkgs/libs/mesa/inst/i386-solaris.gcc-pthreads/lib/libGL.a(xm_buffer.o)
(symbol belongs to implicit dependency /usr/lib/libXext.so.0)
XShmCreateImage
/export/home/project/parsec-2.1/pkgs/libs/mesa/inst/i386-solaris.gcc-pthreads/lib/libGL.a(xm_buffer.o)
(symbol belongs to implicit dependency /usr/lib/libXext.so.0)
XShmPutImage
/export/home/project/parsec-2.1/pkgs/libs/mesa/inst/i386-solaris.gcc-pthreads/lib/libGL.a(xm_api.o)
(symbol belongs to implicit dependency /usr/lib/libXext.so.0)
XShmQueryVersion
/export/home/project/parsec-2.1/pkgs/libs/mesa/inst/i386-solaris.gcc-pthreads/lib/libGL.a(xm_api.o)
(symbol belongs to implicit dependency /usr/lib/libXext.so.0)
ld: fatal: symbol referencing errors. No output written to bin/test_glut
collect2: ld returned 1 exit status
gmake[2]: *** [bin/test_glut] Error 1
gmake[2]: Leaving directory
`/export/home/project/parsec-2.1/pkgs/apps/raytrace/obj/i386-solaris.gcc-pthreads'
gmake[1]: *** [CMakeFiles/test_glut.dir/all] Error 2
gmake[1]: Leaving directory
`/export/home/project/parsec-2.1/pkgs/apps/raytrace/obj/i386-solaris.gcc-pthreads'
gmake: *** [all] Error 2
[PARSEC] Error: 'env
CXXFLAGS=-I/export/home/project/parsec-2.1/pkgs/libs/mesa/inst/i386-solaris.gcc-pthreads/include
-O3 -funroll-loops -fpermissive -fno-exceptions  -I/usr/include
-DPARSEC_VERSION=2.1 -fexceptions -fno-strict-aliasing -fno-align-labels
-DNDEBUG -D_MM_NO_ALIGN_CHECK
LDFLAGS=-L/export/home/project/parsec-2.1/pkgs/libs/mesa/inst/i386-solaris.gcc-pthreads/lib
-L/usr/lib64 -L/usr/lib -L/usr/lib LIBS= -lXmu -lX11 -lGL -lGLU -lpthread
/usr/bin/gmake' failed.


Best,
Kishore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20100923/7d59fbe9/attachment.html>


More information about the parsec-users mailing list