Skip to contentSkip to conversation

error: Building the x86 libraries (32/64bit)

DISCUSSION zared kamal 2 participants 2 messages Nov 21, 2021 – Nov 22, 2021 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Dear sir,I try to build libraries for Xenomai kernel 3.1 installtion. configuartion:linux kernel 4.9.90xenomai 3.1

with command:

sicom3@sicom3-VirtualBox:/usr/src/xenomai-3.1$ ./configure --with-core=cobalt --enable-smp --enable-pshared  --host=i686-linux CFLAGS="-m32 -O2" LDFLAGS="-m32"

i have a message error:checking whether we build for Cobalt or Mercury core... cobalt checking build system type... x86_64-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for i686-linux-gcc... no
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/usr/src/xenomai-3.1':
configure: error: C compiler cannot create executables
See `config.log' for more details
can help me please.
many thanks
best regards

Zared Kamal
Département de Génie Electrique,Laboratoire Signaux Systèmes & Composants Faculté des Sciences & Techniques, BP 2202, 30000 Fès   http://www.fstusmba.ac.ma/e-mail [email protected], [email protected]

#2 lore raw
Quoted 6 lines · zared kamal via Xenomai

Dear sir,I try to build libraries for Xenomai kernel 3.1 installtion. configuartion:linux kernel 4.9.90xenomai 3.1

with command:

sicom3@sicom3-VirtualBox:/usr/src/xenomai-3.1$ ./configure --with-core=cobalt --enable-smp --enable-pshared  --host=i686-linux CFLAGS="-m32 -O2" LDFLAGS="-m32"
Quoted 10 lines

i have a message error:checking whether we build for Cobalt or Mercury core... cobalt checking build system type... x86_64-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for i686-linux-gcc... no
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/usr/src/xenomai-3.1':
configure: error: C compiler cannot create executables
See `config.log' for more details

Have you looked into config.log? I guess your compiler is not able to create 32 bit binaries. Make sure you installed all the 32 bit glibc stuff.

Quoted 6 lines

can help me please.
many thanks
best regards

Zared Kamal
Département de Génie Electrique,Laboratoire Signaux Systèmes & Composants Faculté des Sciences & Techniques, BP 2202, 30000 Fès   http://www.fstusmba.ac.ma/e-mail [email protected], [email protected]