[AGENT++] Cross Compiling agentpp for embedded linux

Frank Fock fock at agentpp.com
Wed Jan 14 18:44:50 CET 2015


Hi Jing,

Please refer to the autoconf help and manual pages. The --host option is 
not AGENT++ specific.

Best regards,
Frank

Am 14.01.2015 um 17:45 schrieb Jing Shao:
> Dear Sir,
>
> I am trying to cross-compile the agent++/snmp++ for an Cortext-A8 based embedded Linux system.
>
> I got the following output from running the configure tool:
>
> root at ubuntu:~/Development/source/SMC/lib/snmp++-3.3.4# ./configure
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking for gcc... /usr/local/cross_compiler/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-gnueabihf-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... configure: error: in `/root/Development/source/SMC/lib/snmp++-3.3.4':
> configure: error: cannot run C compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details
> root at ubuntu:~/Development/source/SMC/lib/snmp++-3.3.4# ./configure --host
> configure: error: missing argument to --host-alias
>
> I am not sure what argument I need to add to -host.
>
> Your help are greatly appreciated.
>
> Regards,
>
> Jing Shao
> Senior Software Engineer
>
> Lite-On Inc
> Power System Solutions
> 3001 Summit Avenue Ste. 400
> Plano, Texas 75074
> 469-331-9844 x8881
> jing.shao at liteon.com
>
>
>
>
>
> Jing Shao
> Senior Software Engineer
>
>
> Power System Solutions
> 3001 Summit Avenue Ste. 400
> Plano, Texas 75074
> 469-331-9844 x8881
> jing.shao at liteon.com
>
>
> Confidential Information:This message is sent to the intended recipient and may contain privileged or confidential information. If you received this transmission in error, please notify the sender with a replying e-mail and delete the message and any attachment.Transmission Caveat and Virus Alert: Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions.
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> https://oosnmp.net/mailman/listinfo/agentpp

-- 
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax:   +49 7024 8688231



More information about the AGENTPP mailing list