On Sun, 11 Sep 2005 19:16:58 +0200 Rickard Hansson <[EMAIL PROTECTED]> babbled:
> Ok. > > I ave downloaded imlib2-1.2.1 source code from Enlightenment homepage. > I do an ./configure, which produce the following output: it seems gcc (or as) on solaris x86 is not capable of compiling assembly the same way it compiles it everywhere else, or has a bug. disable mmx in configure and it will build. > ----- > checking build system type... i386-pc-solaris2.10 > checking host system type... i386-pc-solaris2.10 > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking for strerror in -lcposix... no > checking for a BSD-compatible install... ./install-sh -c > checking whether build environment is sane... yes > checking whether make sets $(MAKE)... yes > checking for working aclocal-1.4... missing > checking for working autoconf... missing > checking for working automake-1.4... missing > checking for working autoheader... missing > checking for working makeinfo... missing > checking whether byte ordering is bigendian... no > checking for gcc... (cached) gcc > checking whether we are using the GNU C compiler... (cached) yes > checking whether gcc accepts -g... (cached) yes > checking for gcc option to accept ANSI C... (cached) none needed > checking for gcc option to accept ANSI C... none needed > checking how to run the C preprocessor... gcc -E > checking for egrep... egrep > checking for ANSI C header files... yes > checking for an ANSI C-conforming const... yes > checking for a sed that does not truncate output... /usr/bin/sed > checking for ld used by gcc... /usr/ccs/bin/ld > checking if the linker (/usr/ccs/bin/ld) is GNU ld... no > checking for /usr/ccs/bin/ld option to reload object files... -r > checking for BSD-compatible nm... /usr/ccs/bin/nm -p > checking whether ln -s works... yes > checking how to recognise dependent libraries... pass_all > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking dlfcn.h usability... yes > checking dlfcn.h presence... yes > checking for dlfcn.h... yes > checking for g++... g++ > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking how to run the C++ preprocessor... g++ -E > checking for g77... g77 > checking whether we are using the GNU Fortran 77 compiler... yes > checking whether g77 accepts -g... yes > checking the maximum length of command line arguments... 262144 > checking command to parse /usr/ccs/bin/nm -p output from gcc > object... ok > checking for objdir... .libs > checking for ar... ar > checking for ranlib... ranlib > checking for strip... strip > checking if gcc static flag works... yes > checking if gcc supports -fno-rtti -fno-exceptions... no > checking for gcc option to produce PIC... -fPIC > checking if gcc PIC flag -fPIC works... yes > checking if gcc supports -c -o file.o... yes > checking whether the gcc linker (/usr/ccs/bin/ld) supports shared > libraries... yes > checking whether -lc should be explicitly linked in... yes > checking dynamic linker characteristics... solaris2.10 ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... no > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > configure: creating libtool > appending configuration tag "CXX" to libtool > checking for ld used by g++... /usr/ccs/bin/ld > checking if the linker (/usr/ccs/bin/ld) is GNU ld... no > checking whether the g++ linker (/usr/ccs/bin/ld) supports shared > libraries... yes > checking for g++ option to produce PIC... -fPIC > checking if g++ PIC flag -fPIC works... yes > checking if g++ supports -c -o file.o... yes > checking whether the g++ linker (/usr/ccs/bin/ld) supports shared > libraries... yes > checking dynamic linker characteristics... solaris2.10 ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... no > appending configuration tag "F77" to libtool > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > checking for g77 option to produce PIC... -fPIC > checking if g77 PIC flag -fPIC works... yes > checking if g77 supports -c -o file.o... yes > checking whether the g77 linker (/usr/ccs/bin/ld) supports shared > libraries... yes > checking dynamic linker characteristics... solaris2.10 ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... no > enabled mmx support > disabled amd64 support > checking for freetype-config... /usr/local/bin/freetype-config > checking for X... libraries /usr/openwin/lib, headers /usr/openwin/ > include > checking for dlopen in -ldl... yes > checking for jpeg_destroy_decompress in -ljpeg... yes > checking for jpeglib.h... yes > checking for png_read_info in -lpng... yes > checking for png.h... yes > checking for TIFFReadScanline in -ltiff... no > checking for TIFFReadScanline in -ltiff... (cached) no > checking for TIFFReadScanline in -ltiff34... no > configure: WARNING: *** Native TIFF support will not be built (TIFF > library not found) *** > checking for DGifOpenFileName in -lungif... no > checking for DGifOpenFileName in -lgif... no > configure: WARNING: *** Native GIF support will not be built (GIF > library not found) *** > checking for uncompress in -lz... yes > checking for zlib.h... yes > checking for BZ2_bzRead in -lbz2... yes > checking for bzlib.h... yes > configure: creating ./config.status > config.status: creating Makefile > config.status: creating imlib2.pc > config.status: creating src/Makefile > config.status: creating src/lib/Makefile > config.status: creating src/bin/Makefile > config.status: creating src/modules/Makefile > config.status: creating src/modules/filters/Makefile > config.status: creating src/modules/loaders/Makefile > config.status: creating data/Makefile > config.status: creating data/fonts/Makefile > config.status: creating data/images/Makefile > config.status: creating doc/Makefile > config.status: creating imlib2-config > config.status: creating README > config.status: creating imlib2.spec > config.status: creating imlib2.oe > config.status: creating imlib2-native.oe > config.status: creating imlib2.bb > config.status: creating imlib2Xnative.bb > config.status: creating debian/changelog > config.status: creating config.h > config.status: config.h is unchanged > config.status: executing default-1 commands > config.status: executing default commands > > > > ------------------------------------------------------------------------ > imlib2 1.2.1 > ------------------------------------------------------------------------ > > Configuration Options Summary: > > > Image Loaders: > JPEG....................: yes > PNG.....................: yes > TIFF....................: no > GIF.....................: no > ZLIB....................: yes > BZIP2...................: yes > > > Use MMX for extra speed...: yes > Use AMD64 for extra speed.: no > > > Installation Path.........: /usr/local > > Compilation...............: make > Installation..............: make install > > ---- > > > Then i do an "make" and here is where the problem comes: > > > ------ > > make all-recursive > make[1]: Entering directory `/export/home/root/tmp/imlib2-1.2.1' > Making all in src > make[2]: Entering directory `/export/home/root/tmp/imlib2-1.2.1/src' > Making all in lib > make[3]: Entering directory `/export/home/root/tmp/imlib2-1.2.1/src/lib' > /bin/bash ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. - > I../.. -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/ > openwin/include -I. -I../.. -I../.. -g -O2 -c asm_blend.S > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include/freetype2 - > I/usr/local/include -I/usr/openwin/include -I. -I../.. -I../.. -g -O2 > -c asm_blend.S -fPIC -DPIC -o .libs/asm_blend.o > Assembler: > "/var/tmp//ccNeZG5Q.s", line 59 : Illegal mnemonic > "/var/tmp//ccNeZG5Q.s", line 59 : Syntax error > make[3]: *** [asm_blend.lo] Error 1 > make[3]: Leaving directory `/export/home/root/tmp/imlib2-1.2.1/src/lib' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/export/home/root/tmp/imlib2-1.2.1/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/export/home/root/tmp/imlib2-1.2.1' > make: *** [all-recursive-am] Error 2 > > ----- > > > What can be wrong, i have tried to search for this error on the net > (google) and in the mailing list archive, no luck. > > > > > > //Rickard Hansson > > ******************************************************* > Mediafront AB > Mobile: 0046 (0)70 934 77 96 > Direct: 0046 (0)33 23 77 82 > Http://www.mediafront.se > > > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] 裸好多 [EMAIL PROTECTED] Tokyo, Japan (東京 日本) ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
