For help. Compilation fails -- Linux general technology-Linux technology and application information. The following is a detailed description. The system is ubuntu8.04.
CODE: mojian @ ubuntu:/IMW/viewperf/SPECViewperf/viewperf/viewperf10.0/src $./Configure
Which operating system are you building?
1. Linux32 2. Solaris-iSCSI 3. Linux64 4. Solaris-x86 5. Solaris-x86_64 6. Other (manual configuration)
Choice:> 1
Using ing for Linux
Which compiler do you wish to use?
Default is: gcc
Choice:> Checking for gcc Checking for gcc... Building static library libz. a version 1.2.2 with gcc. Checking for unistd. h... Yes. Checking whether to use vs [n] printf () or s [n] printf ()... using vs [n] printf () Checking for vsnprintf () in stdio. h... Yes. Checking for return value of vsnprintf ()... Yes. Checking for errno. h... Yes. Checking for mmap support... Yes. Rm-f *. o *~ Example minigzip \ Libz. * foo.gz so_locations \ _ Match. s maketree contrib/infback9/*. o /Bin/rm-f *. o libpng. a pngtest pngout.png libpng-config \ Libpng12.so libpng12.so. 0 * pngtest-static pngtesti \ Libpng. so.3.1.2.8 \ Libpng. pc ./Configure: 336:/root/IMW/viewperf/SPECViewperf/viewperf/viewperf10.0/src: not found Rm-f viewperf Env. c objs/libvp. Rm-f Release/Linux32/Env. o Release/Linux32/clock. o Release/Linux32/viewperf. o Release/Linux32/outputhtml. o Release/Linux32/grab. o Release/Linux32/evtF. o Release/Linux32/mshF. o Rm-f Cd redistributable_sources/vpaux/libtk; touch options; make clean Make [1]: Entering directory '/IMW/viewperf/SPECViewperf/viewperf/viewperf10.0/src/redistributable_sources/vpaux/libtk' Rm-f shapes. o font. o image. o event. o getset. o window. o cursor. o libtk. Make [1]: Leaving directory '/IMW/viewperf/SPECViewperf/viewperf/viewperf10.0/src/redistributable_sources/vpaux/libtk' Cd redistributable_sources/vpaux/libaux; touch options; make clean Make [1]: Entering directory '/IMW/viewperf/SPECViewperf/viewperf/viewperf10.0/src/redistributable_sources/vpaux/libaux' Rm-f vpaux. o teapot. o vect3d. o xform. o libaux. Make [1]: Leaving directory '/IMW/viewperf/SPECViewperf/viewperf/viewperf10.0/src/redistributable_sources/vpaux/libaux' Cd redistributable_sources/libpng; touch options; make clean Make [1]: Entering directory '/IMW/viewperf/SPECViewperf/viewperf/viewperf10.0/src/redistributable_sources/libpng' /Bin/rm-f *. o libpng. a pngtest pngout.png libpng-config \ Libpng12.so libpng12.so. 0 * pngtest-static pngtesti \ Libpng. so.3.1.2.8 \ Libpng. pc Make [1]: Leaving directory '/IMW/viewperf/SPECViewperf/viewperf/viewperf10.0/src/redistributable_sources/libpng' Cd redistributable_sources/zlib; make clean Make [1]: Entering directory '/IMW/viewperf/SPECViewperf/viewperf/viewperf10.0/src/redistributable_sources/zlib' Rm-f *. o *~ Example minigzip \ Libz. * foo.gz so_locations \ _ Match. s maketree contrib/infback9/*. o Make [1]: Leaving directory '/IMW/viewperf/SPECViewperf/viewperf/viewperf10.0/src/redistributable_sources/zlib' Rm-f ../viewperf Rm-f Env. c Ln-s EnvLINUX. c Env. c Gcc-c Env. c-o Release/Linux32/Env. o-O3-Iredistributable_sources/vpaux/libaux-I/usr/X11R6/include/-I/usr/include/GL-Iredistributable_sources/libpng/include-DXWINDOWS-DSEARCHPATH-DLINUX Gcc-c clock. c-o Release/Linux32/clock. o-O3-Iredistributable_sources/vpaux/libaux-I/usr/X11R6/include/-I/usr/include/GL-Iredistributable_sources/libpng/include-DXWINDOWS-DSEARCHPATH-DLINUX Gcc-c viewperf. c-o Release/Linux32/viewperf. o-O3-Iredistributable_sources/vpaux/libaux-I/usr/X11R6/include/-I/usr/include/GL-Iredistributable_sources/libpng/include-DXWINDOWS-DSEARCHPATH-DLINUX Gcc-c outputhtml. c-o Release/Linux32/outputhtml. o-O3-Iredistributable_sources/vpaux/libaux-I/usr/X11R6/include/-I/usr/include/GL-Iredistributable_sources/libpng/include-DXWINDOWS-DSEARCHPATH-DLINUX Gcc-c grab. c-o Release/Linux32/grab. o-O3-Iredistributable_sources/vpaux/libaux-I/usr/X11R6/include/-I/usr/include/GL-Iredistributable_sources/libpng/include-DXWINDOWS-DSEARCHPATH-DLINUX Gcc-c evtF. c-o Release/Linux32/evtF. o-O3-Iredistributable_sources/vpaux/libaux-I/usr/X11R6/include/-I/usr/include/GL-Iredistributable_sources/libpng/include-DXWINDOWS-DSEARCHPATH-DLINUX EvtF. c: In the 'evti' function: EvtF. c: 735: Warning: Implicit declaration of incompatible built-in function 'exit' EvtF. c: In the 'evtd 'function: EvtF. c: 1368: Warning: Implicit declaration of incompatible built-in function 'exit' EvtF. c: In the 'evtiw' function: EvtF. c: 1934: Warning: Implicit declaration of incompatible built-in function 'exit' EvtF. c: In the 'evtdw' function: EvtF. c: 2500: Warning: Implicit declaration of incompatible built-in function 'exit' Gcc-c mshF. c-o Release/Linux32/mshF. o-O3-Iredistributable_sources/vpaux/libaux-I/usr/X11R6/include/-I/usr/include/GL-Iredistributable_sources/libpng/include-DXWINDOWS-DSEARCHPATH-DLINUX Gcc-o viewperf Release/Linux32/Env. o Release/Linux32/clock. o Release/Linux32/viewperf. o Release/Linux32/outputhtml. o Release/Linux32/grab. o Release/Linux32/evtF. o Release/Linux32/mshF. o-O3-Iredistributable_sources/vpaux/libaux-I/usr/X11R6/include/-I/usr/include/GL-Iredistributable_sources/libpng/include-DXWINDOWS-DSEARCHPATH-DLINUX lib/Linux32/libpng. a lib/Linux32/libz. a-Llib/Linux32-L/usr/X11R6/lib-L/usr/X11R6/lib-L/usr/X11R6/lib-lm-lX11-lXext-laux- lGL-lGLU-lpthread /Usr/bin/ld: skipping incompatible lib/Linux32/libaux. a when searching for-laux /Usr/bin/ld: cannot find-laux Collect2: ld returns 1 Make: *** [viewperf] Error 1
Mojian @ ubuntu:/IMW/viewperf/SPECViewperf/viewperf/viewperf10.0/src $ |