[Ecls-list] Fwd: emaczen's ECL question and can't get on the ecl mailing list

Daniel Kochmański jackdaniel at hellsgate.pl
Fri Apr 24 08:48:00 UTC 2015


Hey,

I apparently had the same problem. It was due to lack of i686 gcc and
related libraries, so couldn't build 32 bit host compiler.

On ArchLinux these were packages gcc-multilib, gcc-libs-multilib,
lib32-libatomic_ops.

Best regards,
Daniel

Daniel Kochmański writes:

> Hello,
>
> I'm forwarding this e-mail, I'll try to investigate mailing list issue
> when back from London.
>
> Roughly, there is a problem with building host ECL compiler on Android
> build from experimental branch.
>
> Best regards,
> Daniel
>
> ThutmoseIII Thoth writes:
>
>> Hi jackdaniel,
>>
>> I've tried a few times to get on to the ECL mailing list even with
>> different email addresses -- weird.
>>
>> Anyway, I wish to write some Android applications with ECL. When I run
>> "./configure.android" on the experimental branch I get the following output:
>>
>> *./configure.android *
>> */opt/devel/src/ecl/android/build/host*
>> *checking build system type... x86_64-unknown-linux-gnu*
>> *checking host system type... x86_64-unknown-linux-gnu*
>> *checking for gcc... gcc*
>> *checking whether the C compiler works... no*
>> *configure: error: in `/opt/devel/src/ecl/android/build/host':*
>> *configure: error: C compiler cannot create executables*
>> *See `config.log' for more details*
>> *make: *** No targets specified and no makefile found.  Stop.*
>> *checking build system type... x86_64-unknown-linux-gnu*
>> *checking host system type... arm-unknown-linux-androideabi*
>> *checking for arm-linux-androideabi-gcc...
>> /opt/android-ndk-r10d/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc*
>> *checking whether the C compiler works... yes*
>> *checking for C compiler default output file name... a.out*
>> *checking for suffix of executables... *
>> *checking whether we are cross compiling... yes*
>> *checking for suffix of object files... o*
>> *checking whether we are using the GNU C compiler... yes*
>> *checking whether
>> /opt/android-ndk-r10d/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc
>> accepts -g... yes*
>> *checking for
>> /opt/android-ndk-r10d/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc
>> option to accept ISO C89... none needed*
>> *checking whether we are using the GNU C++ compiler... yes*
>> *checking whether
>> /opt/android-ndk-r10d/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++
>> accepts -g... yes*
>> *checking how to run the C preprocessor...
>> /opt/android-ndk-r10d/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-cpp*
>> *checking for arm-linux-androideabi-ranlib...
>> /opt/android-ndk-r10d/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ranlib*
>> *checking for a BSD-compatible install... /usr/bin/install -c*
>> *checking whether ln -s works... yes*
>> *checking whether make sets $(MAKE)... yes*
>> *checking for arm-linux-androideabi-ranlib... (cached)
>> /opt/android-ndk-r10d/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ranlib*
>> *checking for arm-linux-androideabi-ar...
>> /opt/android-ndk-r10d/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ar*
>> *checking for etags... etags*
>> */opt/devel/src/ecl/src/configure: line 4838:
>> /opt/devel/src/ecl/android/install/host/bin/ecl: No such file or directory*
>> *configure: error: The program ECL-MIN is not installed in your system*
>> *make: *** No targets specified and no makefile found.  Stop.*
>> *ECL Android compiled in /opt/devel/src/ecl/android/install/android*
>>
>> I checked the config.log file and the following is what I think is relevant:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
>> --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
>> <http://bugzilla.redhat.com/bugzilla> --enable-bootstrap --enable-shared
>> --enable-threads=posix --enable-checking=release --enable-multilib
>> --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
>> --enable-gnu-unique-object --enable-linker-build-id
>> --with-linker-hash-style=gnu
>> --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --enable-plugin
>> --enable-initfini-array --disable-libgcj
>> --with-isl=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/isl-install
>> --with-cloog=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/cloog-install
>> --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686
>> --build=x86_64-redhat-linuxThread model: posixgcc version 4.9.2 20150212
>> (Red Hat 4.9.2-6) (GCC) configure:3426: $? = 0configure:3415: gcc -V
>>>&5gcc: error: unrecognized command line option '-V'gcc: fatal error: no
>> input filescompilation terminated.configure:3426: $? = 4configure:3415: gcc
>> -qversion >&5gcc: error: unrecognized command line option '-qversion'gcc:
>> fatal error: no input filescompilation terminated.configure:3426: $? =
>> 4configure:3446: checking whether the C compiler worksconfigure:3468: gcc
>> -m32 -g -O2  -m32 -g -O2 conftest.c  >&5/usr/bin/ld: cannot find crt1.o: No
>> such file or directory/usr/bin/ld: cannot find crti.o: No such file or
>> directory/usr/bin/ld: skipping incompatible /usr/lib64/libc.so when
>> searching for -lc/usr/bin/ld: cannot find -lc/usr/bin/ld: cannot find
>> crtn.o: No such file or directorycollect2: error: ld returned 1 exit
>> statusconfigure:3472: $? = 1configure:3510: result: noconfigure: failed
>> program was:| /* confdefs.h */| #define PACKAGE_NAME "ecl"| #define
>> PACKAGE_TARNAME "ecl"| #define PACKAGE_VERSION "15.3.7"| #define
>> PACKAGE_STRING "ecl 15.3.7"| #define PACKAGE_BUGREPORT ""| #define
>> PACKAGE_URL ""| /* end confdefs.h.  */| | int| main ()| {| |   ;|   return
>> 0;| }configure:3515: error: in
>> `/opt/devel/src/ecl/android/build/host':configure:3517: error: C compiler
>> cannot create executablesSee `config.log' for more details*
>>
>> I'm not sure what to do after this, and any help is appreciated. It would
>> be helpful if there were a "getting-started" wiki page and I would be happy
>> to contribute to that once I can get started :)
>>
>> -- Thanks
>>
>> -- Thanks.

-- 
Daniel Kochmański | Poznań, Poland
;; aka jackdaniel

"Be the change that you wish to see in the world." - Mahatma Gandhi




More information about the ecl-devel mailing list