* Re: [ptxdist] Autoconf directives not invoking g++ compiler
@ 2019-05-13 10:25 Patrick Murray
0 siblings, 0 replies; 8+ messages in thread
From: Patrick Murray @ 2019-05-13 10:25 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 2819 bytes --]
Hi,
Yes I did already change AC_CONFIG_SRCDIR in configure.ac , I have tried renaming the libpsc.c to libpsc.cxx and libpsc.cc ,
Still make no difference .
It seems the "default" is it expects a file called libpsc.c .
----------------------
target: libpsc.prepare
----------------------
configure: error: cannot find sources (libpsc.c) in ../libpsc or ..
make: *** [/opt/lib/ptxdist-2019.03.1/rules/post/ptxd_make_world_prepare.make:22: /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/state/libpsc.prepare] Error 1
I still believe it hasn't found the C++ compiler .
dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/local_src/libpsc$ grep CONFIG_SRCDIR *.*
grep: autom4te.cache: Is a directory
configure.ac:#AC_CONFIG_SRCDIR([R3PSC.cpp])
configure.ac:#AC_CONFIG_SRCDIR([libpsc.cxx])
configure.ac:AC_CONFIG_SRCDIR([libpsc.cc])
dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/local_src/libpsc$ ls libpsc.*
libpsc.cc libpsc.c_orig libpsc.h
dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/local_src/libpsc$ ls *.cpp
accessors.cpp device_instance_master.cpp device_instance_vcb2.cpp device_type_mlc5.cpp exception.cpp
debug.cpp device_instance_mlc5.cpp device_instance_vfc2.cpp device_type_mod.cpp R3PSC.cpp
device_connections.cpp device_instance_mod.cpp device_sets.cpp device_type_plc5.cpp simpleXPath.cpp
device_instance_base.cpp device_instance_plc5.cpp device_type_base.cpp device_type_plr.cpp utils.cpp
device_instance_canmod.cpp device_instance_plr.cpp device_type_canmod.cpp device_type_ppc5pixel.cpp xml_processor.cpp
device_instance_collection.cpp device_instance_ppc5pixel.cpp device_type_collection.cpp device_type_sc7mod.cpp
device_instance_lcd.cpp device_instance_sc7mod.cpp device_type_lcd.cpp device_type_vcb2.cpp
device_instance_master5.cpp device_instance_unknown.cpp device_type_master.cpp device_type_vfc2.cpp
This email and any attachments may be confidential and/or legally privileged. It has been sent for the sole use of the intended recipient(s). If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or copying of this communication or any of its contents is strictly prohibited. If you are not the named recipient, or have otherwise received this communication in error, please delete it from your inbox, notify the sender immediately, and do not disclose the contents to any other person or use them for any purpose, or store them in any medium. Thank you for your cooperation.
[-- Attachment #1.2: Type: text/html, Size: 6808 bytes --]
[-- Attachment #2: Type: text/plain, Size: 91 bytes --]
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ptxdist] Autoconf directives not invoking g++ compiler
2019-05-13 16:19 ` Patrick Murray
@ 2019-05-15 8:29 ` Juergen Borleis
0 siblings, 0 replies; 8+ messages in thread
From: Juergen Borleis @ 2019-05-15 8:29 UTC (permalink / raw)
To: ptxdist; +Cc: Patrick Murray
Hi Patrick,
On Monday 13 May 2019 18:19:28 Patrick Murray wrote:
> I've tried many thing to get this package to build C and C++ code , but
> to no avail.
It seems the library template needs an update. It doesn't work as expected
anymore.
Regards,
Jürgen
--
Pengutronix e.K. | Juergen Borleis |
Industrial Linux Solutions | http://www.pengutronix.de/ |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ptxdist] Autoconf directives not invoking g++ compiler
2019-05-13 9:58 ` Juergen Borleis
@ 2019-05-13 16:19 ` Patrick Murray
2019-05-15 8:29 ` Juergen Borleis
0 siblings, 1 reply; 8+ messages in thread
From: Patrick Murray @ 2019-05-13 16:19 UTC (permalink / raw)
To: Juergen Borleis, ptxdist
[-- Attachment #1: Type: text/plain, Size: 2776 bytes --]
Hi,
I've tried many thing to get this package to build C and C++ code , but to no avail.
I have check the iperf package and it has built successfully on my setup and is invoking the g++ compiler.
Attached are the config.log for both ,
And I have attached Makefile.am (with one .c file and multiple .cpp files)
And the Makefile that is generated in
dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4$ ls platform-phyFLEX-i.MX6/build-target/libpsc-build/
Any suggestions as to what I'm doing wrong are much appreciated
Thanks Pat
-----Original Message-----
From: Juergen Borleis <jbe@pengutronix.de>
Sent: Monday, May 13, 2019 10:58 AM
To: ptxdist@pengutronix.de
Cc: Patrick Murray <Patrick.Murray@daktronics.com>
Subject: Re: [ptxdist] Autoconf directives not invoking g++ compiler
This email originated outside of Daktronics. Use caution when opening links or attachments. Report questionable emails to ITHelp.
On Monday 13 May 2019 11:45:09 Patrick Murray wrote:
> I tried renamed libpsc.c to libpsc.cpp ( and .ccx) , no difference in
> the outcome, running ./configure fails and so does the ptxdist libpsc
> compile.
>
> Question , in a autotools library package are you only allowed either
> c file or c++ file ?
You can have as much source file languages like you want.
>
>dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/local
>_s rc/libpsc$ ./configure configure: error: cannot find sources
>(libpsc.c) in
Did you adapt the line AC_CONFIG_SRCDIR(...) line? This entry must point to an existing file (no matter what file).
Regards,
Jürgen
--
Pengutronix e.K. | Juergen Borleis |
Industrial Linux Solutions | https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.pengutronix.de%2F&data=02%7C01%7Cpatrick.murray%40daktronics.com%7C39d549186e784332633908d6d7898500%7Cbe88af81094542aaa3d2b122777351a2%7C0%7C1%7C636933382986252349&sdata=M5zkxAlJMqKAexqtHtwlZMqRfAQcRBlr8iftWNfyV0Y%3D&reserved=0 |
This email and any attachments may be confidential and/or legally privileged. It has been sent for the sole use of the intended recipient(s). If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or copying of this communication or any of its contents is strictly prohibited. If you are not the named recipient, or have otherwise received this communication in error, please delete it from your inbox, notify the sender immediately, and do not disclose the contents to any other person or use them for any purpose, or store them in any medium. Thank you for your cooperation.
[-- Attachment #2: iperfconfig - Copy.log --]
[-- Type: application/octet-stream, Size: 74954 bytes --]
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Iperf configure 2.0.9, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib --build=x86_64-host-linux-gnu --host=arm-v5te-linux-gnueabi --disable-ipv6 --enable-multicast --enable-threads --disable-debuginfo --disable-web100 --enable-kalman
## --------- ##
## Platform. ##
## --------- ##
hostname = CNU35294ZR
uname -m = x86_64
uname -r = 4.18.0-17-generic
uname -s = Linux
uname -v = #18-Ubuntu SMP Wed Mar 13 14:34:40 UTC 2019
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/sysroot-cross/bin
PATH: /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/sysroot-cross/sbin
PATH: /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/sysroot-host/lib/wrapper
PATH: /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/sysroot-host/bin
PATH: /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/sysroot-host/sbin
PATH: /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/selected_toolchain
PATH: /opt/lib/ptxdist-2019.03.1/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /snap/bin
PATH: /opt/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2613: checking for a BSD-compatible install
configure:2681: result: /opt/lib/ptxdist-2019.03.1/bin/install -c
configure:2692: checking whether build environment is sane
configure:2747: result: yes
configure:2806: checking for arm-v5te-linux-gnueabi-strip
configure:2833: result: arm-v5te-linux-gnueabi-strip
configure:2898: checking for a thread-safe mkdir -p
configure:2937: result: /opt/lib/ptxdist-2019.03.1/bin/mkdir -p
configure:2944: checking for gawk
configure:2960: found /usr/bin/gawk
configure:2971: result: gawk
configure:2982: checking whether make sets $(MAKE)
configure:3004: result: yes
configure:3033: checking whether make supports nested variables
configure:3050: result: yes
configure:3136: checking whether to enable maintainer-specific portions of Makefiles
configure:3145: result: no
configure:3345: checking for C++ compiler version
configure:3354: arm-v5te-linux-gnueabi-g++ --version >&5
arm-v5te-linux-gnueabi-g++ (OSELAS.Toolchain-2016.06.0) 5.4.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3365: $? = 0
configure:3354: arm-v5te-linux-gnueabi-g++ -v >&5
Using built-in specs.
COLLECT_GCC=/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/sysroot-host/lib/wrapper/real/arm-v5te-linux-gnueabi-g++
COLLECT_LTO_WRAPPER=/opt/OSELAS.Toolchain-2016.06.0/arm-v5te-linux-gnueabi/gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized/libexec/gcc/arm-v5te-linux-gnueabi/5.4.0/lto-wrapper
Target: arm-v5te-linux-gnueabi
Configured with: ../gcc-5.4.0/configure --build=x86_64-host-linux-gnu --host=x86_64-host-linux-gnu --target=arm-v5te-linux-gnueabi --with-build-sysroot=WORKSPACE/inst/opt/OSELAS.Toolchain-2016.06.0/arm-v5te-linux-gnueabi/gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized/sysroot-arm-v5te-linux-gnueabi --with-sysroot=/opt/OSELAS.Toolchain-2016.06.0/arm-v5te-linux-gnueabi/gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized/sysroot-arm-v5te-linux-gnueabi --disable-multilib --with-float=soft --with-fpu=vfp --with-cpu=arm926ej-s --enable-__cxa_atexit --disable-sjlj-exceptions --disable-nls --disable-decimal-float --disable-fixed-point --disable-win32-registry --enable-symvers=gnu --with-pkgversion=OSELAS.Toolchain-2016.06.0 --enable-threads=posix --with-system-zlib --with-gmp --with-mpfr --with-mpc --with-isl --with-debug-prefix-map='WORKSPACE/inst= WORKSPACE/platform-=OSELAS.Toolchain-2016.06.0/platform-' --enable-libstdcxx-debug-flags='-gdwarf-4 -O0 -g3 -gno-record-gcc-switches' --prefix=/opt/OSELAS.Toolchain-2016.06.0/arm-v5te-linux-gnueabi/gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized --enable-languages=c,c++ --enable-c99 --enable-long-long --enable-libstdcxx-debug --enable-profile --enable-shared --disable-libssp --enable-checking=release
Thread model: posix
gcc version 5.4.0 (OSELAS.Toolchain-2016.06.0)
configure:3365: $? = 0
configure:3354: arm-v5te-linux-gnueabi-g++ -V >&5
arm-v5te-linux-gnueabi-g++: error: unrecognized command line option '-V'
arm-v5te-linux-gnueabi-g++: fatal error: no input files
compilation terminated.
configure:3365: $? = 1
configure:3354: arm-v5te-linux-gnueabi-g++ -qversion >&5
arm-v5te-linux-gnueabi-g++: error: unrecognized command line option '-qversion'
arm-v5te-linux-gnueabi-g++: fatal error: no input files
compilation terminated.
configure:3365: $? = 1
configure:3385: checking whether the C++ compiler works
configure:3407: arm-v5te-linux-gnueabi-g++ conftest.cpp >&5
configure:3411: $? = 0
configure:3459: result: yes
configure:3462: checking for C++ compiler default output file name
configure:3464: result: a.out
configure:3470: checking for suffix of executables
configure:3477: arm-v5te-linux-gnueabi-g++ -o conftest conftest.cpp >&5
configure:3481: $? = 0
configure:3503: result:
configure:3525: checking whether we are cross compiling
configure:3563: result: yes
configure:3568: checking for suffix of object files
configure:3590: arm-v5te-linux-gnueabi-g++ -c conftest.cpp >&5
configure:3594: $? = 0
configure:3615: result: o
configure:3619: checking whether we are using the GNU C++ compiler
configure:3638: arm-v5te-linux-gnueabi-g++ -c conftest.cpp >&5
configure:3638: $? = 0
configure:3647: result: yes
configure:3656: checking whether arm-v5te-linux-gnueabi-g++ accepts -g
configure:3676: arm-v5te-linux-gnueabi-g++ -c -g conftest.cpp >&5
configure:3676: $? = 0
configure:3717: result: yes
configure:3751: checking for style of include used by make
configure:3779: result: GNU
configure:3805: checking dependency style of arm-v5te-linux-gnueabi-g++
configure:3916: result: gcc3
configure:3940: checking for arm-v5te-linux-gnueabi-gcc
configure:3967: result: arm-v5te-linux-gnueabi-gcc
configure:4236: checking for C compiler version
configure:4245: arm-v5te-linux-gnueabi-gcc --version >&5
arm-v5te-linux-gnueabi-gcc (OSELAS.Toolchain-2016.06.0) 5.4.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:4256: $? = 0
configure:4245: arm-v5te-linux-gnueabi-gcc -v >&5
Using built-in specs.
COLLECT_GCC=/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/sysroot-host/lib/wrapper/real/arm-v5te-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/opt/OSELAS.Toolchain-2016.06.0/arm-v5te-linux-gnueabi/gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized/libexec/gcc/arm-v5te-linux-gnueabi/5.4.0/lto-wrapper
Target: arm-v5te-linux-gnueabi
Configured with: ../gcc-5.4.0/configure --build=x86_64-host-linux-gnu --host=x86_64-host-linux-gnu --target=arm-v5te-linux-gnueabi --with-build-sysroot=WORKSPACE/inst/opt/OSELAS.Toolchain-2016.06.0/arm-v5te-linux-gnueabi/gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized/sysroot-arm-v5te-linux-gnueabi --with-sysroot=/opt/OSELAS.Toolchain-2016.06.0/arm-v5te-linux-gnueabi/gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized/sysroot-arm-v5te-linux-gnueabi --disable-multilib --with-float=soft --with-fpu=vfp --with-cpu=arm926ej-s --enable-__cxa_atexit --disable-sjlj-exceptions --disable-nls --disable-decimal-float --disable-fixed-point --disable-win32-registry --enable-symvers=gnu --with-pkgversion=OSELAS.Toolchain-2016.06.0 --enable-threads=posix --with-system-zlib --with-gmp --with-mpfr --with-mpc --with-isl --with-debug-prefix-map='WORKSPACE/inst= WORKSPACE/platform-=OSELAS.Toolchain-2016.06.0/platform-' --enable-libstdcxx-debug-flags='-gdwarf-4 -O0 -g3 -gno-record-gcc-switches' --prefix=/opt/OSELAS.Toolchain-2016.06.0/arm-v5te-linux-gnueabi/gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized --enable-languages=c,c++ --enable-c99 --enable-long-long --enable-libstdcxx-debug --enable-profile --enable-shared --disable-libssp --enable-checking=release
Thread model: posix
gcc version 5.4.0 (OSELAS.Toolchain-2016.06.0)
configure:4256: $? = 0
configure:4245: arm-v5te-linux-gnueabi-gcc -V >&5
arm-v5te-linux-gnueabi-gcc: error: unrecognized command line option '-V'
arm-v5te-linux-gnueabi-gcc: fatal error: no input files
compilation terminated.
configure:4256: $? = 1
configure:4245: arm-v5te-linux-gnueabi-gcc -qversion >&5
arm-v5te-linux-gnueabi-gcc: error: unrecognized command line option '-qversion'
arm-v5te-linux-gnueabi-gcc: fatal error: no input files
compilation terminated.
configure:4256: $? = 1
configure:4260: checking whether we are using the GNU C compiler
configure:4279: arm-v5te-linux-gnueabi-gcc -c conftest.c >&5
configure:4279: $? = 0
configure:4288: result: yes
configure:4297: checking whether arm-v5te-linux-gnueabi-gcc accepts -g
configure:4317: arm-v5te-linux-gnueabi-gcc -c -g conftest.c >&5
configure:4317: $? = 0
configure:4358: result: yes
configure:4375: checking for arm-v5te-linux-gnueabi-gcc option to accept ISO C89
configure:4438: arm-v5te-linux-gnueabi-gcc -c -g -O2 conftest.c >&5
configure:4438: $? = 0
configure:4451: result: none needed
configure:4473: checking dependency style of arm-v5te-linux-gnueabi-gcc
configure:4584: result: gcc3
configure:4601: checking for library containing strerror
configure:4632: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c >&5
configure:4632: $? = 0
configure:4649: result: none required
configure:4658: checking whether make sets $(MAKE)
configure:4680: result: yes
configure:4692: checking for arm-v5te-linux-gnueabi-ranlib
configure:4719: result: arm-v5te-linux-gnueabi-ranlib
configure:4791: checking build system type
configure:4805: result: x86_64-host-linux-gnu
configure:4825: checking host system type
configure:4838: result: arm-v5te-linux-gnueabi
configure:4859: checking for clock_gettime in -lrt
configure:4884: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
configure:4884: $? = 0
configure:4893: result: yes
configure:5071: checking for the pthreads library -lpthreads
configure:5104: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lpthreads -lrt >&5
/opt/OSELAS.Toolchain-2016.06.0/arm-v5te-linux-gnueabi/gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized/lib/gcc/arm-v5te-linux-gnueabi/5.4.0/../../../../arm-v5te-linux-gnueabi/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
configure:5104: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Iperf"
| #define PACKAGE_TARNAME "iperf"
| #define PACKAGE_VERSION "2.0.9"
| #define PACKAGE_STRING "Iperf 2.0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "iperf"
| #define VERSION "2.0.9"
| #define HAVE_LIBRT 1
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:5113: result: no
configure:5016: checking whether pthreads work without any flags
configure:5104: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
/opt/OSELAS.Toolchain-2016.06.0/arm-v5te-linux-gnueabi/gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized/lib/gcc/arm-v5te-linux-gnueabi/5.4.0/../../../../arm-v5te-linux-gnueabi/bin/ld: /tmp/cc75u89M.o: undefined reference to symbol 'pthread_join@@GLIBC_2.4'
/opt/OSELAS.Toolchain-2016.06.0/arm-v5te-linux-gnueabi/gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized/sysroot-arm-v5te-linux-gnueabi/lib/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
configure:5104: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Iperf"
| #define PACKAGE_TARNAME "iperf"
| #define PACKAGE_VERSION "2.0.9"
| #define PACKAGE_STRING "Iperf 2.0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "iperf"
| #define VERSION "2.0.9"
| #define HAVE_LIBRT 1
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:5113: result: no
configure:5021: checking whether pthreads work with -Kthread
configure:5104: arm-v5te-linux-gnueabi-gcc -o conftest -O2 -Kthread conftest.c -lrt >&5
arm-v5te-linux-gnueabi-gcc: error: unrecognized command line option '-Kthread'
configure:5104: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Iperf"
| #define PACKAGE_TARNAME "iperf"
| #define PACKAGE_VERSION "2.0.9"
| #define PACKAGE_STRING "Iperf 2.0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "iperf"
| #define VERSION "2.0.9"
| #define HAVE_LIBRT 1
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:5113: result: no
configure:5021: checking whether pthreads work with -kthread
configure:5104: arm-v5te-linux-gnueabi-gcc -o conftest -O2 -kthread conftest.c -lrt >&5
arm-v5te-linux-gnueabi-gcc: error: unrecognized command line option '-kthread'
configure:5104: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Iperf"
| #define PACKAGE_TARNAME "iperf"
| #define PACKAGE_VERSION "2.0.9"
| #define PACKAGE_STRING "Iperf 2.0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "iperf"
| #define VERSION "2.0.9"
| #define HAVE_LIBRT 1
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:5113: result: no
configure:5071: checking for the pthreads library -llthread
configure:5104: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -llthread -lrt >&5
/opt/OSELAS.Toolchain-2016.06.0/arm-v5te-linux-gnueabi/gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized/lib/gcc/arm-v5te-linux-gnueabi/5.4.0/../../../../arm-v5te-linux-gnueabi/bin/ld: cannot find -llthread
collect2: error: ld returned 1 exit status
configure:5104: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Iperf"
| #define PACKAGE_TARNAME "iperf"
| #define PACKAGE_VERSION "2.0.9"
| #define PACKAGE_STRING "Iperf 2.0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "iperf"
| #define VERSION "2.0.9"
| #define HAVE_LIBRT 1
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:5113: result: no
configure:5021: checking whether pthreads work with -pthread
configure:5104: arm-v5te-linux-gnueabi-gcc -o conftest -O2 -pthread conftest.c -lrt >&5
configure:5104: $? = 0
configure:5113: result: yes
configure:5133: checking for joinable pthread attribute
configure:5146: arm-v5te-linux-gnueabi-gcc -o conftest -O2 -pthread conftest.c -lrt >&5
configure:5146: $? = 0
configure:5178: result: PTHREAD_CREATE_JOINABLE
configure:5185: checking if more special flags are required for pthreads
configure:5192: result: no
configure:5204: checking for cc_r
configure:5232: result: arm-v5te-linux-gnueabi-gcc
configure:5273: checking for library containing gethostbyname
configure:5304: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
configure:5304: $? = 0
configure:5321: result: none required
configure:5329: checking for library containing socket
configure:5360: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
configure:5360: $? = 0
configure:5377: result: none required
configure:5407: checking how to run the C preprocessor
configure:5477: result: arm-v5te-linux-gnueabi-gcc -E
configure:5497: arm-v5te-linux-gnueabi-gcc -E conftest.c
configure:5497: $? = 0
configure:5511: arm-v5te-linux-gnueabi-gcc -E conftest.c
conftest.c:15:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:5511: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Iperf"
| #define PACKAGE_TARNAME "iperf"
| #define PACKAGE_VERSION "2.0.9"
| #define PACKAGE_STRING "Iperf 2.0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "iperf"
| #define VERSION "2.0.9"
| #define HAVE_LIBRT 1
| #define HAVE_PTHREAD 1
| #define HAVE_POSIX_THREAD 1
| #define _REENTRANT 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:5540: checking for grep that handles long lines and -e
configure:5598: result: /bin/grep
configure:5603: checking for egrep
configure:5665: result: /bin/grep -E
configure:5670: checking for ANSI C header files
configure:5690: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:5690: $? = 0
configure:5774: result: yes
configure:5787: checking for sys/types.h
configure:5787: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:5787: $? = 0
configure:5787: result: yes
configure:5787: checking for sys/stat.h
configure:5787: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:5787: $? = 0
configure:5787: result: yes
configure:5787: checking for stdlib.h
configure:5787: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:5787: $? = 0
configure:5787: result: yes
configure:5787: checking for string.h
configure:5787: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:5787: $? = 0
configure:5787: result: yes
configure:5787: checking for memory.h
configure:5787: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:5787: $? = 0
configure:5787: result: yes
configure:5787: checking for strings.h
configure:5787: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:5787: $? = 0
configure:5787: result: yes
configure:5787: checking for inttypes.h
configure:5787: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:5787: $? = 0
configure:5787: result: yes
configure:5787: checking for stdint.h
configure:5787: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:5787: $? = 0
configure:5787: result: yes
configure:5787: checking for unistd.h
configure:5787: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:5787: $? = 0
configure:5787: result: yes
configure:5802: checking arpa/inet.h usability
configure:5802: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:5802: $? = 0
configure:5802: result: yes
configure:5802: checking arpa/inet.h presence
configure:5802: arm-v5te-linux-gnueabi-gcc -E conftest.c
configure:5802: $? = 0
configure:5802: result: yes
configure:5802: checking for arpa/inet.h
configure:5802: result: yes
configure:5802: checking libintl.h usability
configure:5802: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:5802: $? = 0
configure:5802: result: yes
configure:5802: checking libintl.h presence
configure:5802: arm-v5te-linux-gnueabi-gcc -E conftest.c
configure:5802: $? = 0
configure:5802: result: yes
configure:5802: checking for libintl.h
configure:5802: result: yes
configure:5802: checking netdb.h usability
configure:5802: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:5802: $? = 0
configure:5802: result: yes
configure:5802: checking netdb.h presence
configure:5802: arm-v5te-linux-gnueabi-gcc -E conftest.c
configure:5802: $? = 0
configure:5802: result: yes
configure:5802: checking for netdb.h
configure:5802: result: yes
configure:5802: checking netinet/in.h usability
configure:5802: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:5802: $? = 0
configure:5802: result: yes
configure:5802: checking netinet/in.h presence
configure:5802: arm-v5te-linux-gnueabi-gcc -E conftest.c
configure:5802: $? = 0
configure:5802: result: yes
configure:5802: checking for netinet/in.h
configure:5802: result: yes
configure:5802: checking for stdlib.h
configure:5802: result: yes
configure:5802: checking for string.h
configure:5802: result: yes
configure:5802: checking for strings.h
configure:5802: result: yes
configure:5802: checking sys/socket.h usability
configure:5802: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:5802: $? = 0
configure:5802: result: yes
configure:5802: checking sys/socket.h presence
configure:5802: arm-v5te-linux-gnueabi-gcc -E conftest.c
configure:5802: $? = 0
configure:5802: result: yes
configure:5802: checking for sys/socket.h
configure:5802: result: yes
configure:5802: checking sys/time.h usability
configure:5802: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:5802: $? = 0
configure:5802: result: yes
configure:5802: checking sys/time.h presence
configure:5802: arm-v5te-linux-gnueabi-gcc -E conftest.c
configure:5802: $? = 0
configure:5802: result: yes
configure:5802: checking for sys/time.h
configure:5802: result: yes
configure:5802: checking syslog.h usability
configure:5802: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:5802: $? = 0
configure:5802: result: yes
configure:5802: checking syslog.h presence
configure:5802: arm-v5te-linux-gnueabi-gcc -E conftest.c
configure:5802: $? = 0
configure:5802: result: yes
configure:5802: checking for syslog.h
configure:5802: result: yes
configure:5802: checking for unistd.h
configure:5802: result: yes
configure:5802: checking signal.h usability
configure:5802: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:5802: $? = 0
configure:5802: result: yes
configure:5802: checking signal.h presence
configure:5802: arm-v5te-linux-gnueabi-gcc -E conftest.c
configure:5802: $? = 0
configure:5802: result: yes
configure:5802: checking for signal.h
configure:5802: result: yes
configure:5814: checking for an ANSI C-conforming const
configure:5880: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:5880: $? = 0
configure:5887: result: yes
configure:5895: checking for size_t
configure:5895: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:5895: $? = 0
configure:5895: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:73:21: error: expected expression before ')' token
if (sizeof ((size_t)))
^
configure:5895: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Iperf"
| #define PACKAGE_TARNAME "iperf"
| #define PACKAGE_VERSION "2.0.9"
| #define PACKAGE_STRING "Iperf 2.0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "iperf"
| #define VERSION "2.0.9"
| #define HAVE_LIBRT 1
| #define HAVE_PTHREAD 1
| #define HAVE_POSIX_THREAD 1
| #define _REENTRANT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_LIBINTL_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SIGNAL_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((size_t)))
| return 0;
| ;
| return 0;
| }
configure:5895: result: yes
configure:5906: checking for ssize_t
configure:5906: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:5906: $? = 0
configure:5906: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:73:22: error: expected expression before ')' token
if (sizeof ((ssize_t)))
^
configure:5906: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Iperf"
| #define PACKAGE_TARNAME "iperf"
| #define PACKAGE_VERSION "2.0.9"
| #define PACKAGE_STRING "Iperf 2.0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "iperf"
| #define VERSION "2.0.9"
| #define HAVE_LIBRT 1
| #define HAVE_PTHREAD 1
| #define HAVE_POSIX_THREAD 1
| #define _REENTRANT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_LIBINTL_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SIGNAL_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((ssize_t)))
| return 0;
| ;
| return 0;
| }
configure:5906: result: yes
configure:5921: checking whether time.h and sys/time.h may both be included
configure:5941: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:5941: $? = 0
configure:5948: result: yes
configure:5956: checking whether struct tm is in sys/time.h or time.h
configure:5976: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:5976: $? = 0
configure:5983: result: time.h
configure:5993: checking for stdint types
configure:6016: arm-v5te-linux-gnueabi-gcc -c conftest.c >&5
configure:6016: $? = 0
configure:6041: result: stdint.h (shortcircuit)
configure:6426: result: make use of stdint.h in include/iperf-int.h (assuming C99 compatible system)
configure:6435: checking 3rd argument of accept
configure:6464: arm-v5te-linux-gnueabi-g++ -c -O2 conftest.cpp >&5
configure:6464: $? = 0
configure:6627: result: socklen_t
configure:6640: checking for pid_t
configure:6640: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:6640: $? = 0
configure:6640: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:76:20: error: expected expression before ')' token
if (sizeof ((pid_t)))
^
configure:6640: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Iperf"
| #define PACKAGE_TARNAME "iperf"
| #define PACKAGE_VERSION "2.0.9"
| #define PACKAGE_STRING "Iperf 2.0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "iperf"
| #define VERSION "2.0.9"
| #define HAVE_LIBRT 1
| #define HAVE_PTHREAD 1
| #define HAVE_POSIX_THREAD 1
| #define _REENTRANT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_LIBINTL_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SSIZE_T 1
| #define TIME_WITH_SYS_TIME 1
| #define Socklen_t socklen_t
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((pid_t)))
| return 0;
| ;
| return 0;
| }
configure:6640: result: yes
configure:6653: checking vfork.h usability
configure:6653: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
conftest.c:73:19: fatal error: vfork.h: No such file or directory
compilation terminated.
configure:6653: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Iperf"
| #define PACKAGE_TARNAME "iperf"
| #define PACKAGE_VERSION "2.0.9"
| #define PACKAGE_STRING "Iperf 2.0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "iperf"
| #define VERSION "2.0.9"
| #define HAVE_LIBRT 1
| #define HAVE_PTHREAD 1
| #define HAVE_POSIX_THREAD 1
| #define _REENTRANT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_LIBINTL_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SSIZE_T 1
| #define TIME_WITH_SYS_TIME 1
| #define Socklen_t socklen_t
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <vfork.h>
configure:6653: result: no
configure:6653: checking vfork.h presence
configure:6653: arm-v5te-linux-gnueabi-gcc -E conftest.c
conftest.c:40:19: fatal error: vfork.h: No such file or directory
compilation terminated.
configure:6653: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Iperf"
| #define PACKAGE_TARNAME "iperf"
| #define PACKAGE_VERSION "2.0.9"
| #define PACKAGE_STRING "Iperf 2.0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "iperf"
| #define VERSION "2.0.9"
| #define HAVE_LIBRT 1
| #define HAVE_PTHREAD 1
| #define HAVE_POSIX_THREAD 1
| #define _REENTRANT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_LIBINTL_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SSIZE_T 1
| #define TIME_WITH_SYS_TIME 1
| #define Socklen_t socklen_t
| /* end confdefs.h. */
| #include <vfork.h>
configure:6653: result: no
configure:6653: checking for vfork.h
configure:6653: result: no
configure:6666: checking for fork
configure:6666: result: yes
configure:6666: checking for vfork
configure:6666: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
configure:6666: $? = 0
configure:6666: result: yes
configure:6676: checking for working fork
configure:6708: result: yes
configure:6729: checking for working vfork
configure:6839: result: yes
configure:6864: checking for working memcmp
configure:6917: result: yes
configure:6929: checking sys/select.h usability
configure:6929: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:6929: $? = 0
configure:6929: result: yes
configure:6929: checking sys/select.h presence
configure:6929: arm-v5te-linux-gnueabi-gcc -E conftest.c
configure:6929: $? = 0
configure:6929: result: yes
configure:6929: checking for sys/select.h
configure:6929: result: yes
configure:6929: checking for sys/socket.h
configure:6929: result: yes
configure:6939: checking types of arguments for select
configure:6967: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:6967: $? = 0
configure:6978: result: int,fd_set *,struct timeval *
configure:7001: checking return type of signal handlers
configure:7019: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:55:9: error: void value not ignored as it ought to be
return *(signal (0, 0)) (0) == 1;
^
configure:7019: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Iperf"
| #define PACKAGE_TARNAME "iperf"
| #define PACKAGE_VERSION "2.0.9"
| #define PACKAGE_STRING "Iperf 2.0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "iperf"
| #define VERSION "2.0.9"
| #define HAVE_LIBRT 1
| #define HAVE_PTHREAD 1
| #define HAVE_POSIX_THREAD 1
| #define _REENTRANT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_LIBINTL_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SSIZE_T 1
| #define TIME_WITH_SYS_TIME 1
| #define Socklen_t socklen_t
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <signal.h>
|
| int
| main ()
| {
| return *(signal (0, 0)) (0) == 1;
| ;
| return 0;
| }
configure:7026: result: void
configure:7036: checking for strftime
configure:7036: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
conftest.c:73:6: warning: conflicting types for built-in function 'strftime'
char strftime ();
^
configure:7036: $? = 0
configure:7036: result: yes
configure:7091: checking for vprintf
configure:7091: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
conftest.c:74:6: warning: conflicting types for built-in function 'vprintf'
char vprintf ();
^
configure:7091: $? = 0
configure:7091: result: yes
configure:7097: checking for _doprnt
configure:7097: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
/tmp/ccapU3jq.o: In function `main':
conftest.c:(.text.startup+0x4): undefined reference to `_doprnt'
collect2: error: ld returned 1 exit status
configure:7097: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Iperf"
| #define PACKAGE_TARNAME "iperf"
| #define PACKAGE_VERSION "2.0.9"
| #define PACKAGE_STRING "Iperf 2.0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "iperf"
| #define VERSION "2.0.9"
| #define HAVE_LIBRT 1
| #define HAVE_PTHREAD 1
| #define HAVE_POSIX_THREAD 1
| #define _REENTRANT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_LIBINTL_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SSIZE_T 1
| #define TIME_WITH_SYS_TIME 1
| #define Socklen_t socklen_t
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| #define RETSIGTYPE void
| #define HAVE_STRFTIME 1
| #define HAVE_VPRINTF 1
| /* end confdefs.h. */
| /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define _doprnt innocuous__doprnt
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char _doprnt (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef _doprnt
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char _doprnt ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub__doprnt || defined __stub____doprnt
| choke me
| #endif
|
| int
| main ()
| {
| return _doprnt ();
| ;
| return 0;
| }
configure:7097: result: no
configure:7111: checking for atexit
configure:7111: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
configure:7111: $? = 0
configure:7111: result: yes
configure:7111: checking for memset
configure:7111: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
conftest.c:76:6: warning: conflicting types for built-in function 'memset'
char memset ();
^
configure:7111: $? = 0
configure:7111: result: yes
configure:7111: checking for pthread_cancel
configure:7111: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
/opt/OSELAS.Toolchain-2016.06.0/arm-v5te-linux-gnueabi/gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized/lib/gcc/arm-v5te-linux-gnueabi/5.4.0/../../../../arm-v5te-linux-gnueabi/bin/ld: /tmp/cccPC2sz.o: undefined reference to symbol 'pthread_cancel@@GLIBC_2.4'
/opt/OSELAS.Toolchain-2016.06.0/arm-v5te-linux-gnueabi/gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized/sysroot-arm-v5te-linux-gnueabi/lib/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
configure:7111: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Iperf"
| #define PACKAGE_TARNAME "iperf"
| #define PACKAGE_VERSION "2.0.9"
| #define PACKAGE_STRING "Iperf 2.0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "iperf"
| #define VERSION "2.0.9"
| #define HAVE_LIBRT 1
| #define HAVE_PTHREAD 1
| #define HAVE_POSIX_THREAD 1
| #define _REENTRANT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_LIBINTL_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SSIZE_T 1
| #define TIME_WITH_SYS_TIME 1
| #define Socklen_t socklen_t
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| #define RETSIGTYPE void
| #define HAVE_STRFTIME 1
| #define HAVE_VPRINTF 1
| #define HAVE_ATEXIT 1
| #define HAVE_MEMSET 1
| /* end confdefs.h. */
| /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define pthread_cancel innocuous_pthread_cancel
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char pthread_cancel (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef pthread_cancel
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char pthread_cancel ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
| choke me
| #endif
|
| int
| main ()
| {
| return pthread_cancel ();
| ;
| return 0;
| }
configure:7111: result: no
configure:7111: checking for select
configure:7111: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
configure:7111: $? = 0
configure:7111: result: yes
configure:7111: checking for strchr
configure:7111: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
conftest.c:78:6: warning: conflicting types for built-in function 'strchr'
char strchr ();
^
configure:7111: $? = 0
configure:7111: result: yes
configure:7111: checking for strerror
configure:7111: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
configure:7111: $? = 0
configure:7111: result: yes
configure:7111: checking for strtol
configure:7111: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
configure:7111: $? = 0
configure:7111: result: yes
configure:7111: checking for usleep
configure:7111: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
configure:7111: $? = 0
configure:7111: result: yes
configure:7111: checking for clock_gettime
configure:7111: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
configure:7111: $? = 0
configure:7111: result: yes
configure:7111: checking for sched_setscheduler
configure:7111: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
configure:7111: $? = 0
configure:7111: result: yes
configure:7111: checking for mlockall
configure:7111: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
configure:7111: $? = 0
configure:7111: result: yes
configure:7111: checking for setitimer
configure:7111: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
configure:7111: $? = 0
configure:7111: result: yes
configure:7111: checking for nanosleep
configure:7111: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
configure:7111: $? = 0
configure:7111: result: yes
configure:7120: checking for snprintf
configure:7120: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
conftest.c:87:6: warning: conflicting types for built-in function 'snprintf'
char snprintf ();
^
configure:7120: $? = 0
configure:7120: result: yes
configure:7133: checking for inet_pton
configure:7133: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
configure:7133: $? = 0
configure:7133: result: yes
configure:7146: checking for inet_ntop
configure:7146: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
configure:7146: $? = 0
configure:7146: result: yes
configure:7159: checking for gettimeofday
configure:7159: arm-v5te-linux-gnueabi-gcc -o conftest -O2 conftest.c -lrt >&5
configure:7159: $? = 0
configure:7159: result: yes
configure:7173: checking whether ENOBUFS is declared
configure:7173: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:7173: $? = 0
configure:7173: result: yes
configure:7184: checking whether EWOULDBLOCK is declared
configure:7184: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:7184: $? = 0
configure:7184: result: yes
configure:7196: checking whether SO_TIMESTAMP is declared
configure:7196: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:7196: $? = 0
configure:7196: result: yes
configure:7207: checking whether SO_SNDTIMEO is declared
configure:7207: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:7207: $? = 0
configure:7207: result: yes
configure:7219: checking whether CPU_SET is declared
configure:7219: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:7219: $? = 0
configure:7219: result: yes
configure:7234: checking whether SIGALRM is declared
configure:7234: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:7234: $? = 0
configure:7234: result: yes
configure:7246: checking for struct tcp_info.tcpi_total_retrans
configure:7246: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:7246: $? = 0
configure:7246: result: yes
configure:7263: checking *printf() support for %lld
configure:7298: checking *printf() support for %qd
configure:7346: checking size of bool
configure:7351: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:111:55: error: 'bool' undeclared (first use in this function)
static int test_array [1 - 2 * !(((long int) (sizeof (bool))) >= 0)];
^
conftest.c:111:55: note: each undeclared identifier is reported only once for each function it appears in
configure:7351: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Iperf"
| #define PACKAGE_TARNAME "iperf"
| #define PACKAGE_VERSION "2.0.9"
| #define PACKAGE_STRING "Iperf 2.0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "iperf"
| #define VERSION "2.0.9"
| #define HAVE_LIBRT 1
| #define HAVE_PTHREAD 1
| #define HAVE_POSIX_THREAD 1
| #define _REENTRANT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_LIBINTL_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SSIZE_T 1
| #define TIME_WITH_SYS_TIME 1
| #define Socklen_t socklen_t
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| #define RETSIGTYPE void
| #define HAVE_STRFTIME 1
| #define HAVE_VPRINTF 1
| #define HAVE_ATEXIT 1
| #define HAVE_MEMSET 1
| #define HAVE_SELECT 1
| #define HAVE_STRCHR 1
| #define HAVE_STRERROR 1
| #define HAVE_STRTOL 1
| #define HAVE_USLEEP 1
| #define HAVE_CLOCK_GETTIME 1
| #define HAVE_SCHED_SETSCHEDULER 1
| #define HAVE_MLOCKALL 1
| #define HAVE_SETITIMER 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_SNPRINTF 1
| #define HAVE_INET_PTON 1
| #define HAVE_INET_NTOP 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_DECL_ENOBUFS 1
| #define HAVE_DECL_EWOULDBLOCK 1
| #define HAVE_DECL_SO_TIMESTAMP 1
| #define HAVE_DECL_SO_SNDTIMEO 1
| #define HAVE_DECL_CPU_SET 1
| #define HAVE_DECL_SIGALRM 1
| #define HAVE_STRUCT_TCP_INFO_TCPI_TOTAL_RETRANS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (bool))) >= 0)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:7351: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:111:55: error: 'bool' undeclared (first use in this function)
static int test_array [1 - 2 * !(((long int) (sizeof (bool))) < 0)];
^
conftest.c:111:55: note: each undeclared identifier is reported only once for each function it appears in
configure:7351: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Iperf"
| #define PACKAGE_TARNAME "iperf"
| #define PACKAGE_VERSION "2.0.9"
| #define PACKAGE_STRING "Iperf 2.0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "iperf"
| #define VERSION "2.0.9"
| #define HAVE_LIBRT 1
| #define HAVE_PTHREAD 1
| #define HAVE_POSIX_THREAD 1
| #define _REENTRANT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_LIBINTL_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SSIZE_T 1
| #define TIME_WITH_SYS_TIME 1
| #define Socklen_t socklen_t
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| #define RETSIGTYPE void
| #define HAVE_STRFTIME 1
| #define HAVE_VPRINTF 1
| #define HAVE_ATEXIT 1
| #define HAVE_MEMSET 1
| #define HAVE_SELECT 1
| #define HAVE_STRCHR 1
| #define HAVE_STRERROR 1
| #define HAVE_STRTOL 1
| #define HAVE_USLEEP 1
| #define HAVE_CLOCK_GETTIME 1
| #define HAVE_SCHED_SETSCHEDULER 1
| #define HAVE_MLOCKALL 1
| #define HAVE_SETITIMER 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_SNPRINTF 1
| #define HAVE_INET_PTON 1
| #define HAVE_INET_NTOP 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_DECL_ENOBUFS 1
| #define HAVE_DECL_EWOULDBLOCK 1
| #define HAVE_DECL_SO_TIMESTAMP 1
| #define HAVE_DECL_SO_SNDTIMEO 1
| #define HAVE_DECL_CPU_SET 1
| #define HAVE_DECL_SIGALRM 1
| #define HAVE_STRUCT_TCP_INFO_TCPI_TOTAL_RETRANS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (bool))) < 0)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:7365: result: 0
configure:7380: checking if true is defined
configure:7403: arm-v5te-linux-gnueabi-g++ -c -O2 conftest.cpp >&5
configure:7403: $? = 0
configure:7417: result: yes
configure:7429: checking whether byte ordering is bigendian
configure:7444: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
conftest.c:78:9: error: unknown type name 'not'
not a universal capable compiler
^
conftest.c:78:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
not a universal capable compiler
^
conftest.c:78:15: error: unknown type name 'universal'
configure:7444: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Iperf"
| #define PACKAGE_TARNAME "iperf"
| #define PACKAGE_VERSION "2.0.9"
| #define PACKAGE_STRING "Iperf 2.0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "iperf"
| #define VERSION "2.0.9"
| #define HAVE_LIBRT 1
| #define HAVE_PTHREAD 1
| #define HAVE_POSIX_THREAD 1
| #define _REENTRANT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_LIBINTL_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SSIZE_T 1
| #define TIME_WITH_SYS_TIME 1
| #define Socklen_t socklen_t
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| #define RETSIGTYPE void
| #define HAVE_STRFTIME 1
| #define HAVE_VPRINTF 1
| #define HAVE_ATEXIT 1
| #define HAVE_MEMSET 1
| #define HAVE_SELECT 1
| #define HAVE_STRCHR 1
| #define HAVE_STRERROR 1
| #define HAVE_STRTOL 1
| #define HAVE_USLEEP 1
| #define HAVE_CLOCK_GETTIME 1
| #define HAVE_SCHED_SETSCHEDULER 1
| #define HAVE_MLOCKALL 1
| #define HAVE_SETITIMER 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_SNPRINTF 1
| #define HAVE_INET_PTON 1
| #define HAVE_INET_NTOP 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_DECL_ENOBUFS 1
| #define HAVE_DECL_EWOULDBLOCK 1
| #define HAVE_DECL_SO_TIMESTAMP 1
| #define HAVE_DECL_SO_SNDTIMEO 1
| #define HAVE_DECL_CPU_SET 1
| #define HAVE_DECL_SIGALRM 1
| #define HAVE_STRUCT_TCP_INFO_TCPI_TOTAL_RETRANS 1
| #define SIZEOF_BOOL 0
| #define bool int
| /* end confdefs.h. */
| #ifndef __APPLE_CC__
| not a universal capable compiler
| #endif
| typedef int dummy;
|
configure:7489: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:7489: $? = 0
configure:7507: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:84:4: error: unknown type name 'not'
not big endian
^
conftest.c:84:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
not big endian
^
configure:7507: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Iperf"
| #define PACKAGE_TARNAME "iperf"
| #define PACKAGE_VERSION "2.0.9"
| #define PACKAGE_STRING "Iperf 2.0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "iperf"
| #define VERSION "2.0.9"
| #define HAVE_LIBRT 1
| #define HAVE_PTHREAD 1
| #define HAVE_POSIX_THREAD 1
| #define _REENTRANT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_LIBINTL_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SSIZE_T 1
| #define TIME_WITH_SYS_TIME 1
| #define Socklen_t socklen_t
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| #define RETSIGTYPE void
| #define HAVE_STRFTIME 1
| #define HAVE_VPRINTF 1
| #define HAVE_ATEXIT 1
| #define HAVE_MEMSET 1
| #define HAVE_SELECT 1
| #define HAVE_STRCHR 1
| #define HAVE_STRERROR 1
| #define HAVE_STRTOL 1
| #define HAVE_USLEEP 1
| #define HAVE_CLOCK_GETTIME 1
| #define HAVE_SCHED_SETSCHEDULER 1
| #define HAVE_MLOCKALL 1
| #define HAVE_SETITIMER 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_SNPRINTF 1
| #define HAVE_INET_PTON 1
| #define HAVE_INET_NTOP 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_DECL_ENOBUFS 1
| #define HAVE_DECL_EWOULDBLOCK 1
| #define HAVE_DECL_SO_TIMESTAMP 1
| #define HAVE_DECL_SO_SNDTIMEO 1
| #define HAVE_DECL_CPU_SET 1
| #define HAVE_DECL_SIGALRM 1
| #define HAVE_STRUCT_TCP_INFO_TCPI_TOTAL_RETRANS 1
| #define SIZEOF_BOOL 0
| #define bool int
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <sys/param.h>
|
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
| not big endian
| #endif
|
| ;
| return 0;
| }
configure:7635: result: no
configure:7656: checking for struct ip_mreq
configure:7656: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:7656: $? = 0
configure:7656: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:82:29: error: expected expression before ')' token
if (sizeof ((struct ip_mreq)))
^
configure:7656: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Iperf"
| #define PACKAGE_TARNAME "iperf"
| #define PACKAGE_VERSION "2.0.9"
| #define PACKAGE_STRING "Iperf 2.0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "iperf"
| #define VERSION "2.0.9"
| #define HAVE_LIBRT 1
| #define HAVE_PTHREAD 1
| #define HAVE_POSIX_THREAD 1
| #define _REENTRANT 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_LIBINTL_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SSIZE_T 1
| #define TIME_WITH_SYS_TIME 1
| #define Socklen_t socklen_t
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| #define RETSIGTYPE void
| #define HAVE_STRFTIME 1
| #define HAVE_VPRINTF 1
| #define HAVE_ATEXIT 1
| #define HAVE_MEMSET 1
| #define HAVE_SELECT 1
| #define HAVE_STRCHR 1
| #define HAVE_STRERROR 1
| #define HAVE_STRTOL 1
| #define HAVE_USLEEP 1
| #define HAVE_CLOCK_GETTIME 1
| #define HAVE_SCHED_SETSCHEDULER 1
| #define HAVE_MLOCKALL 1
| #define HAVE_SETITIMER 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_SNPRINTF 1
| #define HAVE_INET_PTON 1
| #define HAVE_INET_NTOP 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_DECL_ENOBUFS 1
| #define HAVE_DECL_EWOULDBLOCK 1
| #define HAVE_DECL_SO_TIMESTAMP 1
| #define HAVE_DECL_SO_SNDTIMEO 1
| #define HAVE_DECL_CPU_SET 1
| #define HAVE_DECL_SIGALRM 1
| #define HAVE_STRUCT_TCP_INFO_TCPI_TOTAL_RETRANS 1
| #define SIZEOF_BOOL 0
| #define bool int
| /* end confdefs.h. */
| #include "compat/headers_slim.h"
|
| int
| main ()
| {
| if (sizeof ((struct ip_mreq)))
| return 0;
| ;
| return 0;
| }
configure:7656: result: yes
configure:7667: checking whether IP_ADD_MEMBERSHIP is declared
configure:7667: arm-v5te-linux-gnueabi-gcc -c -O2 conftest.c >&5
configure:7667: $? = 0
configure:7667: result: yes
configure:7679: checking for multicast support
configure:7687: result: yes
configure:7931: checking whether make is GNU make
configure:7938: result: yes
configure:8061: checking that generated files are newer than configure
configure:8067: result: done
configure:8099: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by Iperf config.status 2.0.9, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on CNU35294ZR
config.status:964: creating Makefile
config.status:964: creating compat/Makefile
config.status:964: creating doc/Makefile
config.status:964: creating include/Makefile
config.status:964: creating src/Makefile
config.status:964: creating man/Makefile
config.status:964: creating config.h
config.status:1193: executing depfiles commands
config.status:1193: executing include/iperf-int.h commands
config.status:1294: creating include/iperf-int.h : _IPERF_INCLUDE_IPERF_INT_H
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_accept_arg=socklen_t
ac_cv_build=x86_64-host-linux-gnu
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=arm-v5te-linux-gnueabi-gcc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=set
ac_cv_env_CPP_value='arm-v5te-linux-gnueabi-gcc -E'
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=arm-v5te-linux-gnueabi-g++
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-host-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-v5te-linux-gnueabi
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_file__dev_random=yes
ac_cv_file__proc_self_exe=yes
ac_cv_file__proc_self_fd=yes
ac_cv_file__proc_self_maps=yes
ac_cv_func__doprnt=no
ac_cv_func_atexit=yes
ac_cv_func_clock_gettime=yes
ac_cv_func_dcgettext=yes
ac_cv_func_fork=yes
ac_cv_func_fork_works=yes
ac_cv_func_getpgrp_void=yes
ac_cv_func_getrlimit=yes
ac_cv_func_gettimeofday=yes
ac_cv_func_iconv_open=yes
ac_cv_func_inet_ntop=yes
ac_cv_func_inet_pton=yes
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_memcmp_clean=yes
ac_cv_func_memcmp_working=yes
ac_cv_func_memset=yes
ac_cv_func_mlockall=yes
ac_cv_func_nanosleep=yes
ac_cv_func_nonposix_getgrgid_r=no
ac_cv_func_nonposix_getpwuid_r=no
ac_cv_func_posix_getgrgid_r=yes
ac_cv_func_posix_getpwnam_r=yes
ac_cv_func_posix_getpwuid_r=yes
ac_cv_func_printf_unix98=yes
ac_cv_func_pthread_cancel=no
ac_cv_func_realloc_0_nonnull=yes
ac_cv_func_sched_setscheduler=yes
ac_cv_func_select=yes
ac_cv_func_select_args='int,fd_set *,struct timeval *'
ac_cv_func_setgrent_void=yes
ac_cv_func_setitimer=yes
ac_cv_func_setpgrp_void=yes
ac_cv_func_setvbuf_reversed=no
ac_cv_func_snprintf=yes
ac_cv_func_strchr=yes
ac_cv_func_strerror=yes
ac_cv_func_strftime=yes
ac_cv_func_strstr=yes
ac_cv_func_strtod=yes
ac_cv_func_strtol=yes
ac_cv_func_strtoul=yes
ac_cv_func_usleep=yes
ac_cv_func_vfork=yes
ac_cv_func_vfork_works=yes
ac_cv_func_vprintf=yes
ac_cv_func_vsnprintf_c99=yes
ac_cv_func_wait3_rusage=yes
ac_cv_have_abstract_sockets=yes
ac_cv_have_decl_CPU_SET=yes
ac_cv_have_decl_ENOBUFS=yes
ac_cv_have_decl_EWOULDBLOCK=yes
ac_cv_have_decl_IP_ADD_MEMBERSHIP=yes
ac_cv_have_decl_SIGALRM=yes
ac_cv_have_decl_SO_SNDTIMEO=yes
ac_cv_have_decl_SO_TIMESTAMP=yes
ac_cv_have_ipv6=no
ac_cv_have_true=yes
ac_cv_header_arpa_inet_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_libintl_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_netdb_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_signal_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint=stdint.h
ac_cv_header_stdint_h=yes
ac_cv_header_stdint_t=stdint.h
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_select_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_syslog_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_header_vfork_h=no
ac_cv_host=arm-v5te-linux-gnueabi
ac_cv_lib_c_inet_aton=yes
ac_cv_lib_rt_clock_gettime=yes
ac_cv_member_struct_tcp_info_tcpi_total_retrans=yes
ac_cv_multicast=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_install='/opt/lib/ptxdist-2019.03.1/bin/install -c'
ac_cv_path_mkdir=/opt/lib/ptxdist-2019.03.1/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=arm-v5te-linux-gnueabi-gcc
ac_cv_prog_CPP='arm-v5te-linux-gnueabi-gcc -E'
ac_cv_prog_PTHREAD_CC=arm-v5te-linux-gnueabi-gcc
ac_cv_prog_RANLIB=arm-v5te-linux-gnueabi-ranlib
ac_cv_prog_STRIP=arm-v5te-linux-gnueabi-strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_search_gethostbyname='none required'
ac_cv_search_socket='none required'
ac_cv_search_strerror='none required'
ac_cv_sizeof_bool=0
ac_cv_sizeof_long_double=8
ac_cv_sizeof_long_long=8
ac_cv_stdint_message='using gnu compiler arm-v5te-linux-gnueabi-gcc (OSELAS.Toolchain-2016.06.0) 5.4.0'
ac_cv_stdint_result='(assuming C99 compatible system)'
ac_cv_struct_tm=time.h
ac_cv_sysv_ipc=yes
ac_cv_type_pid_t=yes
ac_cv_type_signal=void
ac_cv_type_size_t=yes
ac_cv_type_ssize_t=yes
ac_cv_type_struct_ip_mreq=yes
ac_cv_type_uintptr_t=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
bash_cv_func_ctype_nonascii=yes
bash_cv_func_sigsetjmp=present
bash_cv_func_strcoll_broken=no
bash_cv_must_reinstall_sighandlers=no
glib_cv_long_long_format=ll
gt_cv_func_gettext_libintl=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-target/iperf-2.0.9/missing aclocal-1.13'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AUTOCONF='${SHELL} /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-target/iperf-2.0.9/missing autoconf'
AUTOHEADER='${SHELL} /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-target/iperf-2.0.9/missing autoheader'
AUTOMAKE='${SHELL} /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-target/iperf-2.0.9/missing automake-1.13'
AWK='gawk'
CC='arm-v5te-linux-gnueabi-gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS=' -O2 '
CPP='arm-v5te-linux-gnueabi-gcc -E'
CPPFLAGS=''
CXX='arm-v5te-linux-gnueabi-g++'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS=' -O2 '
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS='-lrt '
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-target/iperf-2.0.9/missing makeinfo'
MKDIR_P='/opt/lib/ptxdist-2019.03.1/bin/mkdir -p'
OBJEXT='o'
PACKAGE='iperf'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='Iperf'
PACKAGE_STRING='Iperf 2.0.9'
PACKAGE_TARNAME='iperf'
PACKAGE_URL=''
PACKAGE_VERSION='2.0.9'
PATH_SEPARATOR=':'
PTHREAD_CC='arm-v5te-linux-gnueabi-gcc'
PTHREAD_CFLAGS='-pthread'
PTHREAD_LIBS=''
RANLIB='arm-v5te-linux-gnueabi-ranlib'
SET_MAKE=''
SHELL='/bin/bash'
STRIP='arm-v5te-linux-gnueabi-strip'
STRIP_BEGIN='$(strip $(STRIP_DUMMY)'
STRIP_DUMMY=''
STRIP_END=')'
VERSION='2.0.9'
WEB100_CFLAGS=''
WEB100_CONFIG=''
WEB100_LIBS=''
ac_ct_CC=''
ac_ct_CXX=''
acx_pthread_config=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-host-linux-gnu'
build_alias='x86_64-host-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='host'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='arm-v5te-linux-gnueabi'
host_alias='arm-v5te-linux-gnueabi'
host_cpu='arm'
host_os='linux-gnueabi'
host_vendor='v5te'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-target/iperf-2.0.9/install-sh'
libdir='/usr/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "Iperf"
#define PACKAGE_TARNAME "iperf"
#define PACKAGE_VERSION "2.0.9"
#define PACKAGE_STRING "Iperf 2.0.9"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "iperf"
#define VERSION "2.0.9"
#define HAVE_LIBRT 1
#define HAVE_PTHREAD 1
#define HAVE_POSIX_THREAD 1
#define _REENTRANT 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_LIBINTL_H 1
#define HAVE_NETDB_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_SSIZE_T 1
#define TIME_WITH_SYS_TIME 1
#define Socklen_t socklen_t
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_SOCKET_H 1
#define SELECT_TYPE_ARG1 int
#define SELECT_TYPE_ARG234 (fd_set *)
#define SELECT_TYPE_ARG5 (struct timeval *)
#define RETSIGTYPE void
#define HAVE_STRFTIME 1
#define HAVE_VPRINTF 1
#define HAVE_ATEXIT 1
#define HAVE_MEMSET 1
#define HAVE_SELECT 1
#define HAVE_STRCHR 1
#define HAVE_STRERROR 1
#define HAVE_STRTOL 1
#define HAVE_USLEEP 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_SCHED_SETSCHEDULER 1
#define HAVE_MLOCKALL 1
#define HAVE_SETITIMER 1
#define HAVE_NANOSLEEP 1
#define HAVE_SNPRINTF 1
#define HAVE_INET_PTON 1
#define HAVE_INET_NTOP 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_DECL_ENOBUFS 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_DECL_SO_TIMESTAMP 1
#define HAVE_DECL_SO_SNDTIMEO 1
#define HAVE_DECL_CPU_SET 1
#define HAVE_DECL_SIGALRM 1
#define HAVE_STRUCT_TCP_INFO_TCPI_TOTAL_RETRANS 1
#define SIZEOF_BOOL 0
#define bool int
#define HAVE_STRUCT_IP_MREQ 1
#define HAVE_DECL_IP_ADD_MEMBERSHIP 1
#define HAVE_MULTICAST 1
#define HAVE_KALMAN 1
configure: exit 0
[-- Attachment #3: config.log --]
[-- Type: application/octet-stream, Size: 4557 bytes --]
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by libpsc configure 0.0.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure configure.ac
## --------- ##
## Platform. ##
## --------- ##
hostname = CNU35294ZR
uname -m = x86_64
uname -r = 4.18.0-17-generic
uname -s = Linux
uname -v = #18-Ubuntu SMP Wed Mar 13 14:34:40 UTC 2019
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /snap/bin
PATH: /opt/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2302: checking build system type
configure:2313: error: /bin/bash ./config.sub configure.ac failed
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=configure.ac
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=configure.ac
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=configure.ac
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR=''
AM_BACKSLASH=''
AM_CFLAGS=''
AM_CPPFLAGS=''
AM_DEFAULT_V=''
AM_DEFAULT_VERBOSITY=''
AM_LDFLAGS=''
AM_V=''
AR=''
AUTOCONF=''
AUTOHEADER=''
AUTOMAKE=''
AWK=''
BUILD_SILENTLY_FALSE=''
BUILD_SILENTLY_TRUE=''
CC=''
CCDEPMODE=''
CFLAGS=''
CODE_COVERAGE_CFLAGS=''
CODE_COVERAGE_CPPFLAGS=''
CODE_COVERAGE_ENABLED=''
CODE_COVERAGE_ENABLED_FALSE=''
CODE_COVERAGE_ENABLED_TRUE=''
CODE_COVERAGE_LDFLAGS=''
CODE_COVERAGE_RULES=''
CONFLICTS=''
CPP=''
CPPFLAGS=''
CYGPATH_W=''
DEFS=''
DEPDIR=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GCOV=''
GENHTML=''
GREP=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
INSTALL_STRIP_PROGRAM=''
LCOV=''
LD=''
LDFLAGS=''
LDFLAGS_NOUNDEFINED=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_AGE=''
LT_CURRENT=''
LT_REVISION=''
LT_SYS_LIBRARY_PATH=''
MAINT=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAKEINFO=''
MANIFEST_TOOL=''
MKDIR_P=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE=''
PACKAGE_BUGREPORT='bugs@yourdomain.to'
PACKAGE_NAME='libpsc'
PACKAGE_STRING='libpsc 0.0.0'
PACKAGE_TARNAME='libpsc'
PACKAGE_URL='http://www.yourdomain.to/'
PACKAGE_VERSION='0.0.0'
PATH_SEPARATOR=':'
PRIVATE_CFLAGS=''
RANLIB=''
REQUIRES=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot=''
am__nodep=''
am__quote=''
am__tar=''
am__untar=''
bindir='${exec_prefix}/bin'
build='configure.ac'
build_alias='configure.ac'
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='configure.ac'
host_alias='configure.ac'
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgconfigdir=''
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias='configure.ac'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "libpsc"
#define PACKAGE_TARNAME "libpsc"
#define PACKAGE_VERSION "0.0.0"
#define PACKAGE_STRING "libpsc 0.0.0"
#define PACKAGE_BUGREPORT "bugs@yourdomain.to"
#define PACKAGE_URL "http://www.yourdomain.to/"
configure: exit 1
[-- Attachment #4: Makefile.am --]
[-- Type: application/octet-stream, Size: 2691 bytes --]
if BUILD_SILENTLY
AM_MAKEFLAGS = --no-print-directory
endif
# TODO add more subdirs to visit on demand
# SUBDIR =
# pkg's stuff
pkgconfig_DATA = \
liblibpsc.pc
# this one gets not installed, only internally used
noinst_HEADERS = \
internal.h
# this one gets installed to enable others to link against your library
include_HEADERS = \
liblibpsc.h
#
# What is to build here
#
lib_LTLIBRARIES = \
liblibpsc.la
# TODO remove the not used M4 macro files
EXTRA_DIST = \
autogen.sh \
m4\attributes.m4 \
m4\ptx.m4 \
m4\ax_armv4_detection.m4 \
m4\ax_armv5_detection.m4 \
m4\ax_armv6_detection.m4 \
m4\ax_armv7_detection.m4 \
m4\ax_floating_point.m4 \
m4\ax_code_coverage.m4 \
m4\pkg.m4 \
liblibpsc.pc.in \
COPYING
# if "make" has built it, clean only some basic files, but not all
# MOSTLYCLEANFILES =
# clean files "make" has built
CLEANFILES = \
$(DIST_ARCHIVES)
# clean files "configure" has built
DISTCLEAN = \
config.log \
config.status \
config.h \
libtool \
Makefile
# clean all files the maintainer of the package has created
MAINTAINERCLEANFILES = \
configure \
configure.scan \
config.guess \
config.sub \
install-sh \
ltmain.sh \
config.h.in~ \
missing \
depcomp \
config.h.in \
Makefile.in \
aclocal.m4 \
m4\libtool.m4 \
m4\ltoptions.m4 \
m4\ltsugar.m4 \
m4\ltversion.m4 \
m4\lt~obsolete.m4 \
autoscan.log
#
# library
#
liblibpsc_la_CPPFLAGS = \
@CODE_COVERAGE_CPPFLAGS@
liblibpsc_la_CFLAGS = \
@CODE_COVERAGE_CFLAGS@
# liblibpsc_la_LIBADD = \
# $(some_libs)
liblibpsc_la_LDFLAGS = \
@LDFLAGS_NOUNDEFINED@ \
@CODE_COVERAGE_LDFLAGS@ \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
#liblibpsc_la_SOURCES = \
# libpsc.c
liblibpsc_la_SOURCES = \
libpsc.c \
R3PSC.cpp \
accessors.cpp \
utils.cpp \
simpleXPath.cpp \
exception.cpp \
debug.cpp \
xml_processor.cpp \
device_sets.cpp \
device_connections.cpp \
device_type_base.cpp \
device_type_master.cpp \
device_type_mod.cpp \
device_type_plc5.cpp \
device_type_ppc5pixel.cpp \
device_type_canmod.cpp \
device_type_plr.cpp \
device_type_vcb2.cpp \
device_type_vfc2.cpp \
device_type_lcd.cpp \
device_type_mlc5.cpp \
device_type_sc7mod.cpp \
device_type_collection.cpp \
device_instance_base.cpp \
device_instance_unknown.cpp \
device_instance_master.cpp \
device_instance_master5.cpp \
device_instance_vfc2.cpp \
device_instance_mod.cpp \
device_instance_plc5.cpp \
device_instance_ppc5pixel.cpp \
device_instance_canmod.cpp \
device_instance_plr.cpp \
device_instance_vcb2.cpp \
device_instance_lcd.cpp \
device_instance_mlc5.cpp \
device_instance_sc7mod.cpp \
device_instance_collection.cpp \
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
[-- Attachment #5: Makefile --]
[-- Type: application/octet-stream, Size: 33607 bytes --]
# Makefile.in generated by automake 1.16.1 from Makefile.am.
# Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994-2018 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
VPATH = ../libpsc
am__is_gnu_make = { \
if test -z '$(MAKELEVEL)'; then \
false; \
elif test -n '$(MAKE_HOST)'; then \
true; \
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
true; \
else \
false; \
fi; \
}
am__make_running_with_option = \
case $${target_option-} in \
?) ;; \
*) echo "am__make_running_with_option: internal error: invalid" \
"target option '$${target_option-}' specified" >&2; \
exit 1;; \
esac; \
has_opt=no; \
sane_makeflags=$$MAKEFLAGS; \
if $(am__is_gnu_make); then \
sane_makeflags=$$MFLAGS; \
else \
case $$MAKEFLAGS in \
*\\[\ \ ]*) \
bs=\\; \
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
esac; \
fi; \
skip_next=no; \
strip_trailopt () \
{ \
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
}; \
for flg in $$sane_makeflags; do \
test $$skip_next = yes && { skip_next=no; continue; }; \
case $$flg in \
*=*|--*) continue;; \
-*I) strip_trailopt 'I'; skip_next=yes;; \
-*I?*) strip_trailopt 'I';; \
-*O) strip_trailopt 'O'; skip_next=yes;; \
-*O?*) strip_trailopt 'O';; \
-*l) strip_trailopt 'l'; skip_next=yes;; \
-*l?*) strip_trailopt 'l';; \
-[dEDm]) skip_next=yes;; \
-[JT]) skip_next=yes;; \
esac; \
case $$flg in \
*$$target_option*) has_opt=yes; break;; \
esac; \
done; \
test $$has_opt = yes
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/libpsc
pkgincludedir = $(includedir)/libpsc
pkglibdir = $(libdir)/libpsc
pkglibexecdir = $(libexecdir)/libpsc
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = x86_64-host-linux-gnu
host_triplet = arm-v5te-linux-gnueabi
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
$(top_srcdir)/m4/ax_code_coverage.m4 \
$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/ptx.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
$(am__configure_deps) $(include_HEADERS) $(noinst_HEADERS) \
$(am__DIST_COMMON)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES = liblibpsc.pc
CONFIG_CLEAN_VPATH_FILES =
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
*) f=$$p;; \
esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
for p in $$list; do echo "$$p $$p"; done | \
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
if (++n[$$2] == $(am__install_max)) \
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
END { for (dir in files) print dir, files[dir] }'
am__base_list = \
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__uninstall_files_from_dir = { \
test -z "$$files" \
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
$(am__cd) "$$dir" && rm -f $$files; }; \
}
am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)" \
"$(DESTDIR)$(includedir)"
LTLIBRARIES = $(lib_LTLIBRARIES)
liblibpsc_la_LIBADD =
am_liblibpsc_la_OBJECTS = liblibpsc_la-libpsc.lo
liblibpsc_la_OBJECTS = $(am_liblibpsc_la_OBJECTS)
AM_V_lt = $(am__v_lt_$(V))
am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
am__v_lt_0 = --silent
am__v_lt_1 =
liblibpsc_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(liblibpsc_la_CFLAGS) \
$(CFLAGS) $(liblibpsc_la_LDFLAGS) $(LDFLAGS) -o $@
AM_V_P = $(am__v_P_$(V))
am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_$(V))
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
am__v_GEN_0 = @echo " GEN " $@;
am__v_GEN_1 =
AM_V_at = $(am__v_at_$(V))
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
am__v_at_0 = @
am__v_at_1 =
DEFAULT_INCLUDES = -I. -I$(srcdir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__maybe_remake_depfiles = depfiles
am__depfiles_remade = ./$(DEPDIR)/liblibpsc_la-libpsc.Plo
am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
$(AM_CFLAGS) $(CFLAGS)
AM_V_CC = $(am__v_CC_$(V))
am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
am__v_CC_0 = @echo " CC " $@;
am__v_CC_1 =
CCLD = $(CC)
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
AM_V_CCLD = $(am__v_CCLD_$(V))
am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
am__v_CCLD_0 = @echo " CCLD " $@;
am__v_CCLD_1 =
SOURCES = $(liblibpsc_la_SOURCES)
DIST_SOURCES = $(liblibpsc_la_SOURCES)
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
DATA = $(pkgconfig_DATA)
HEADERS = $(include_HEADERS) $(noinst_HEADERS)
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
$(LISP)config.h.in
# Read a list of newline-separated strings from the standard input,
# and print each of them once, without duplicates. Input order is
# *not* preserved.
am__uniquify_input = $(AWK) '\
BEGIN { nonempty = 0; } \
{ items[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in items) print i; }; } \
'
# Make sure the list of sources is unique. This is necessary because,
# e.g., the same source file might be shared among _SOURCES variables
# for different programs/libraries.
am__define_uniq_tagged_files = \
list='$(am__tagged_files)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
AM_RECURSIVE_TARGETS = cscope
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
$(srcdir)/liblibpsc.pc.in COPYING INSTALL compile config.guess \
config.sub depcomp install-sh ltmain.sh missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
am__remove_distdir = \
if test -d "$(distdir)"; then \
find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
&& rm -rf "$(distdir)" \
|| { sleep 5 && rm -rf "$(distdir)"; }; \
else :; fi
am__post_remove_distdir = $(am__remove_distdir)
DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz
GZIP_ENV = --best
DIST_TARGETS = dist-xz dist-gzip
distuninstallcheck_listfiles = find . -type f -print
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
distcleancheck_listfiles = find . -type f -print
ACLOCAL = ${SHELL} /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-target/libpsc/missing aclocal-1.16
AMTAR = $${TAR-tar}
AM_CFLAGS =
AM_CPPFLAGS =
AM_DEFAULT_VERBOSITY = 0
AM_LDFLAGS =
AR = arm-v5te-linux-gnueabi-ar
AUTOCONF = ${SHELL} /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-target/libpsc/missing autoconf
AUTOHEADER = ${SHELL} /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-target/libpsc/missing autoheader
AUTOMAKE = ${SHELL} /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-target/libpsc/missing automake-1.16
AWK = gawk
CC = arm-v5te-linux-gnueabi-gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -g -O2 -pipe -W -Wall -Wextra -Wsign-compare -Wfloat-equal -Wformat-security -Wno-unused-parameter -Wstrict-prototypes -Wpointer-arith -Wnonnull -Winline -fno-builtin -fstack-protector-strong -fvisibility=hidden
CODE_COVERAGE_CFLAGS =
CODE_COVERAGE_CPPFLAGS =
CODE_COVERAGE_ENABLED = no
CODE_COVERAGE_LDFLAGS =
CONFLICTS =
CPP = arm-v5te-linux-gnueabi-gcc -E
CPPFLAGS = -D_FORTIFY_SOURCE=2
CYGPATH_W = echo
DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
DLLTOOL = arm-v5te-linux-gnueabi-dlltool
DSYMUTIL =
DUMPBIN =
ECHO_C =
ECHO_N = -n
ECHO_T =
EGREP = /bin/grep -E
EXEEXT =
FGREP = /bin/grep -F
GCOV =
GENHTML =
GREP = /bin/grep
INSTALL = /opt/lib/ptxdist-2019.03.1/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
LCOV =
LD = arm-v5te-linux-gnueabi-ld
LDFLAGS = -Wl,--as-needed -Wl,--build-id=sha1
LDFLAGS_NOUNDEFINED = -Wl,--no-undefined
LIBOBJS =
LIBS =
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LIPO =
LN_S = ln -s
LTLIBOBJS =
LT_AGE = 0
LT_CURRENT = 0
LT_REVISION = 0
LT_SYS_LIBRARY_PATH =
MAINT = #
MAKEINFO = ${SHELL} /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-target/libpsc/missing makeinfo
MANIFEST_TOOL = :
MKDIR_P = /opt/lib/ptxdist-2019.03.1/bin/mkdir -p
NM = arm-v5te-linux-gnueabi-nm
NMEDIT =
OBJDUMP = arm-v5te-linux-gnueabi-objdump
OBJEXT = o
OTOOL =
OTOOL64 =
PACKAGE = libpsc
PACKAGE_BUGREPORT = bugs@yourdomain.to
PACKAGE_NAME = libpsc
PACKAGE_STRING = libpsc 0.0.0
PACKAGE_TARNAME = libpsc
PACKAGE_URL = http://www.yourdomain.to/
PACKAGE_VERSION = 0.0.0
PATH_SEPARATOR = :
PRIVATE_CFLAGS =
RANLIB = arm-v5te-linux-gnueabi-ranlib
REQUIRES =
SED = /opt/lib/ptxdist-2019.03.1/bin/sed
SET_MAKE =
SHELL = /bin/bash
STRIP = arm-v5te-linux-gnueabi-strip
VERSION = 0.0.0
abs_builddir = /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-target/libpsc-build
abs_srcdir = /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-target/libpsc-build/../libpsc
abs_top_builddir = /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-target/libpsc-build
abs_top_srcdir = /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-target/libpsc-build/../libpsc
ac_ct_AR =
ac_ct_CC =
ac_ct_DUMPBIN =
am__include = include
am__leading_dot = .
am__quote =
am__tar = $${TAR-tar} chof - "$$tardir"
am__untar = $${TAR-tar} xf -
bindir = ${exec_prefix}/bin
build = x86_64-host-linux-gnu
build_alias = x86_64-host-linux-gnu
build_cpu = x86_64
build_os = linux-gnu
build_vendor = host
builddir = .
datadir = ${datarootdir}
datarootdir = ${prefix}/share
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
dvidir = ${docdir}
exec_prefix = ${prefix}
host = arm-v5te-linux-gnueabi
host_alias = arm-v5te-linux-gnueabi
host_cpu = arm
host_os = linux-gnueabi
host_vendor = v5te
htmldir = ${docdir}
includedir = ${prefix}/include
infodir = ${datarootdir}/info
install_sh = ${SHELL} /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-target/libpsc/install-sh
libdir = /usr/lib
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
localstatedir = /var
mandir = ${datarootdir}/man
mkdir_p = $(MKDIR_P)
oldincludedir = /usr/include
pdfdir = ${docdir}
pkgconfigdir = ${libdir}/pkgconfig
prefix = /usr
program_transform_name = s,x,x,
psdir = ${docdir}
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
srcdir = ../libpsc
sysconfdir = /etc
target_alias =
top_build_prefix =
top_builddir = .
top_srcdir = ../libpsc
AM_MAKEFLAGS = --no-print-directory
# TODO add more subdirs to visit on demand
# SUBDIR =
# pkg's stuff
pkgconfig_DATA = \
liblibpsc.pc
# this one gets not installed, only internally used
noinst_HEADERS = \
internal.h
# this one gets installed to enable others to link against your library
include_HEADERS = \
liblibpsc.h
#
# What is to build here
#
lib_LTLIBRARIES = \
liblibpsc.la
# TODO remove the not used M4 macro files
EXTRA_DIST = \
autogen.sh \
m4/attributes.m4 \
m4/ptx.m4 \
m4/ax_armv4_detection.m4 \
m4/ax_armv5_detection.m4 \
m4/ax_armv6_detection.m4 \
m4/ax_armv7_detection.m4 \
m4/ax_floating_point.m4 \
m4/ax_code_coverage.m4 \
m4/pkg.m4 \
liblibpsc.pc.in \
COPYING
# if "make" has built it, clean only some basic files, but not all
# MOSTLYCLEANFILES =
# clean files "make" has built
CLEANFILES = \
$(DIST_ARCHIVES)
# clean files "configure" has built
DISTCLEAN = \
config.log \
config.status \
config.h \
libtool \
Makefile
# clean all files the maintainer of the package has created
MAINTAINERCLEANFILES = \
configure \
configure.scan \
config.guess \
config.sub \
install-sh \
ltmain.sh \
config.h.in~ \
missing \
depcomp \
config.h.in \
Makefile.in \
aclocal.m4 \
m4/libtool.m4 \
m4/ltoptions.m4 \
m4/ltsugar.m4 \
m4/ltversion.m4 \
m4/lt~obsolete.m4 \
autoscan.log
#
# library
#
liblibpsc_la_CPPFLAGS = \
liblibpsc_la_CFLAGS = \
# liblibpsc_la_LIBADD = \
# $(some_libs)
liblibpsc_la_LDFLAGS = \
-Wl,--no-undefined \
\
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
liblibpsc_la_SOURCES = \
libpsc.c
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-am
.SUFFIXES:
.SUFFIXES: .c .lo .o .obj
am--refresh: Makefile
@:
$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
$(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --foreign Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
echo ' $(SHELL) ./config.status'; \
$(SHELL) ./config.status;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(top_srcdir)/configure: # $(am__configure_deps)
$(am__cd) $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): # $(am__aclocal_m4_deps)
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
$(am__aclocal_m4_deps):
config.h: stamp-h1
@test -f $@ || rm -f stamp-h1
@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
@rm -f stamp-h1
cd $(top_builddir) && $(SHELL) ./config.status config.h
$(srcdir)/config.h.in: # $(am__configure_deps)
($(am__cd) $(top_srcdir) && $(AUTOHEADER))
rm -f stamp-h1
touch $@
distclean-hdr:
-rm -f config.h stamp-h1
liblibpsc.pc: $(top_builddir)/config.status $(srcdir)/liblibpsc.pc.in
cd $(top_builddir) && $(SHELL) ./config.status $@
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
@$(NORMAL_INSTALL)
@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
list2=; for p in $$list; do \
if test -f $$p; then \
list2="$$list2 $$p"; \
else :; fi; \
done; \
test -z "$$list2" || { \
echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
$(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
}
uninstall-libLTLIBRARIES:
@$(NORMAL_UNINSTALL)
@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
for p in $$list; do \
$(am__strip_dir) \
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
done
clean-libLTLIBRARIES:
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
@list='$(lib_LTLIBRARIES)'; \
locs=`for p in $$list; do echo $$p; done | \
sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
sort -u`; \
test -z "$$locs" || { \
echo rm -f $${locs}; \
rm -f $${locs}; \
}
liblibpsc.la: $(liblibpsc_la_OBJECTS) $(liblibpsc_la_DEPENDENCIES) $(EXTRA_liblibpsc_la_DEPENDENCIES)
$(AM_V_CCLD)$(liblibpsc_la_LINK) -rpath $(libdir) $(liblibpsc_la_OBJECTS) $(liblibpsc_la_LIBADD) $(LIBS)
mostlyclean-compile:
-rm -f *.$(OBJEXT)
distclean-compile:
-rm -f *.tab.c
include ./$(DEPDIR)/liblibpsc_la-libpsc.Plo # am--include-marker
$(am__depfiles_remade):
@$(MKDIR_P) $(@D)
@echo '# dummy' >$@-t && $(am__mv) $@-t $@
am--depfiles: $(am__depfiles_remade)
.c.o:
$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
$(am__mv) $$depbase.Tpo $$depbase.Po
# $(AM_V_CC)source='$<' object='$@' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(AM_V_CC_no)$(COMPILE) -c -o $@ $<
.c.obj:
$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
$(am__mv) $$depbase.Tpo $$depbase.Po
# $(AM_V_CC)source='$<' object='$@' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(AM_V_CC_no)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
.c.lo:
$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
$(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
$(am__mv) $$depbase.Tpo $$depbase.Plo
# $(AM_V_CC)source='$<' object='$@' libtool=yes \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(AM_V_CC_no)$(LTCOMPILE) -c -o $@ $<
liblibpsc_la-libpsc.lo: libpsc.c
$(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblibpsc_la_CPPFLAGS) $(CPPFLAGS) $(liblibpsc_la_CFLAGS) $(CFLAGS) -MT liblibpsc_la-libpsc.lo -MD -MP -MF $(DEPDIR)/liblibpsc_la-libpsc.Tpo -c -o liblibpsc_la-libpsc.lo `test -f 'libpsc.c' || echo '$(srcdir)/'`libpsc.c
$(AM_V_at)$(am__mv) $(DEPDIR)/liblibpsc_la-libpsc.Tpo $(DEPDIR)/liblibpsc_la-libpsc.Plo
# $(AM_V_CC)source='libpsc.c' object='liblibpsc_la-libpsc.lo' libtool=yes \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblibpsc_la_CPPFLAGS) $(CPPFLAGS) $(liblibpsc_la_CFLAGS) $(CFLAGS) -c -o liblibpsc_la-libpsc.lo `test -f 'libpsc.c' || echo '$(srcdir)/'`libpsc.c
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
distclean-libtool:
-rm -f libtool config.lt
install-pkgconfigDATA: $(pkgconfig_DATA)
@$(NORMAL_INSTALL)
@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
if test -n "$$list"; then \
echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
$(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
done
uninstall-pkgconfigDATA:
@$(NORMAL_UNINSTALL)
@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
install-includeHEADERS: $(include_HEADERS)
@$(NORMAL_INSTALL)
@list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
if test -n "$$list"; then \
echo " $(MKDIR_P) '$(DESTDIR)$(includedir)'"; \
$(MKDIR_P) "$(DESTDIR)$(includedir)" || exit 1; \
fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
$(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
done
uninstall-includeHEADERS:
@$(NORMAL_UNINSTALL)
@list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir)
ID: $(am__tagged_files)
$(am__define_uniq_tagged_files); mkid -fID $$unique
tags: tags-am
TAGS: tags
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
$(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
if test $$# -gt 0; then \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
"$$@" $$unique; \
else \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$unique; \
fi; \
fi
ctags: ctags-am
CTAGS: ctags
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
$(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
cscope: cscope.files
test ! -s cscope.files \
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
clean-cscope:
-rm -f cscope.files
cscope.files: clean-cscope cscopelist
cscopelist: cscopelist-am
cscopelist-am: $(am__tagged_files)
list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
esac; \
for i in $$list; do \
if test -f "$$i"; then \
echo "$(subdir)/$$i"; \
else \
echo "$$sdir/$$i"; \
fi; \
done >> $(top_builddir)/cscope.files
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
distdir: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) distdir-am
distdir-am: $(DISTFILES)
$(am__remove_distdir)
test -d "$(distdir)" || mkdir "$(distdir)"
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
-test -n "$(am__skip_mode_fix)" \
|| find "$(distdir)" -type d ! -perm -755 \
-exec chmod u+rwx,go+rx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r "$(distdir)"
dist-gzip: distdir
tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
$(am__post_remove_distdir)
dist-bzip2: distdir
tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
$(am__post_remove_distdir)
dist-lzip: distdir
tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
$(am__post_remove_distdir)
dist-xz: distdir
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
$(am__post_remove_distdir)
dist-tarZ: distdir
@echo WARNING: "Support for distribution archives compressed with" \
"legacy program 'compress' is deprecated." >&2
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
$(am__post_remove_distdir)
dist-shar: distdir
@echo WARNING: "Support for shar distribution archives is" \
"deprecated." >&2
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
$(am__post_remove_distdir)
dist-zip: distdir
-rm -f $(distdir).zip
zip -rq $(distdir).zip $(distdir)
$(am__post_remove_distdir)
dist dist-all:
$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
$(am__post_remove_distdir)
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.lz*) \
lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
*.tar.xz*) \
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
esac
chmod -R a-w $(distdir)
chmod u+w $(distdir)
mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
chmod a-w $(distdir)
test -d $(distdir)/_build || exit 0; \
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
&& am__cwd=`pwd` \
&& $(am__cd) $(distdir)/_build/sub \
&& ../../configure \
$(AM_DISTCHECK_CONFIGURE_FLAGS) \
$(DISTCHECK_CONFIGURE_FLAGS) \
--srcdir=../.. --prefix="$$dc_install_base" \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
distuninstallcheck \
&& chmod -R a-w "$$dc_install_base" \
&& ({ \
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
} || { rm -rf "$$dc_destdir"; exit 1; }) \
&& rm -rf "$$dc_destdir" \
&& $(MAKE) $(AM_MAKEFLAGS) dist \
&& rm -rf $(DIST_ARCHIVES) \
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
&& cd "$$am__cwd" \
|| exit 1
$(am__post_remove_distdir)
@(echo "$(distdir) archives ready for distribution: "; \
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
distuninstallcheck:
@test -n '$(distuninstallcheck_dir)' || { \
echo 'ERROR: trying to run $@ with an empty' \
'$$(distuninstallcheck_dir)' >&2; \
exit 1; \
}; \
$(am__cd) '$(distuninstallcheck_dir)' || { \
echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
exit 1; \
}; \
test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
|| { echo "ERROR: files left after uninstall:" ; \
if test -n "$(DESTDIR)"; then \
echo " (check DESTDIR support)"; \
fi ; \
$(distuninstallcheck_listfiles) ; \
exit 1; } >&2
distcleancheck: distclean
@if test '$(srcdir)' = . ; then \
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
exit 1 ; \
fi
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|| { echo "ERROR: files left in build directory after distclean:" ; \
$(distcleancheck_listfiles) ; \
exit 1; } >&2
check-am: all-am
check: check-am
all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) config.h
installdirs:
for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
if test -z '$(STRIP)'; then \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
install; \
else \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
clean: clean-am
clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
mostlyclean-am
distclean: distclean-am
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -f ./$(DEPDIR)/liblibpsc_la-libpsc.Plo
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-hdr distclean-libtool distclean-tags
dvi: dvi-am
dvi-am:
html: html-am
html-am:
info: info-am
info-am:
install-data-am: install-includeHEADERS install-pkgconfigDATA
install-dvi: install-dvi-am
install-dvi-am:
install-exec-am: install-libLTLIBRARIES
install-html: install-html-am
install-html-am:
install-info: install-info-am
install-info-am:
install-man:
install-pdf: install-pdf-am
install-pdf-am:
install-ps: install-ps-am
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf $(top_srcdir)/autom4te.cache
-rm -f ./$(DEPDIR)/liblibpsc_la-libpsc.Plo
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
mostlyclean-libtool
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am: uninstall-includeHEADERS uninstall-libLTLIBRARIES \
uninstall-pkgconfigDATA
.MAKE: all install-am install-strip
.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles am--refresh check \
check-am clean clean-cscope clean-generic clean-libLTLIBRARIES \
clean-libtool cscope cscopelist-am ctags ctags-am dist \
dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
dist-xz dist-zip distcheck distclean distclean-compile \
distclean-generic distclean-hdr distclean-libtool \
distclean-tags distcleancheck distdir distuninstallcheck dvi \
dvi-am html html-am info info-am install install-am \
install-data install-data-am install-dvi install-dvi-am \
install-exec install-exec-am install-html install-html-am \
install-includeHEADERS install-info install-info-am \
install-libLTLIBRARIES install-man install-pdf install-pdf-am \
install-pkgconfigDATA install-ps install-ps-am install-strip \
installcheck installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-compile \
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
tags tags-am uninstall uninstall-am uninstall-includeHEADERS \
uninstall-libLTLIBRARIES uninstall-pkgconfigDATA
.PRECIOUS: Makefile
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
[-- Attachment #6: Type: text/plain, Size: 91 bytes --]
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ptxdist] Autoconf directives not invoking g++ compiler
2019-05-13 9:45 Patrick Murray
@ 2019-05-13 9:58 ` Juergen Borleis
2019-05-13 16:19 ` Patrick Murray
0 siblings, 1 reply; 8+ messages in thread
From: Juergen Borleis @ 2019-05-13 9:58 UTC (permalink / raw)
To: ptxdist; +Cc: Patrick Murray
On Monday 13 May 2019 11:45:09 Patrick Murray wrote:
> I tried renamed libpsc.c to libpsc.cpp ( and .ccx) , no difference in the
> outcome, running ./configure fails and so does the ptxdist libpsc
> compile.
>
> Question , in a autotools library package are you only allowed either c
> file or c++ file ?
You can have as much source file languages like you want.
> dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/local_s
>rc/libpsc$ ./configure configure: error: cannot find sources (libpsc.c) in
Did you adapt the line AC_CONFIG_SRCDIR(...) line? This entry must point to
an existing file (no matter what file).
Regards,
Jürgen
--
Pengutronix e.K. | Juergen Borleis |
Industrial Linux Solutions | http://www.pengutronix.de/ |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ptxdist] Autoconf directives not invoking g++ compiler
@ 2019-05-13 9:45 Patrick Murray
2019-05-13 9:58 ` Juergen Borleis
0 siblings, 1 reply; 8+ messages in thread
From: Patrick Murray @ 2019-05-13 9:45 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 1960 bytes --]
Hi,
I tried renamed libpsc.c to libpsc.cpp ( and .ccx) , no difference in the outcome, running ./configure fails and so does the ptxdist libpsc compile.
Question , in a autotools library package are you only allowed either c file or c++ file ?
dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/local_src/libpsc$ ./configure
configure: error: cannot find sources (libpsc.c) in . or ..
ptxdist compile libpsc
----------------------
target: libpsc.compile
----------------------
make[1]: Entering directory '/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-target/libpsc-build'
make --no-print-directory all-am
make[2]: *** No rule to make target 'libpsc.c', needed by 'liblibpsc_la-libpsc.lo'. Stop.
make[1]: *** [Makefile:476: all] Error 2
make[1]: Leaving directory '/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-target/libpsc-build'
make: *** [/opt/lib/ptxdist-2019.03.1/rules/post/ptxd_make_world_compile.make:22: /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/state/libpsc.compile] Error 2
dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4$<mailto:dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4$>
This email and any attachments may be confidential and/or legally privileged. It has been sent for the sole use of the intended recipient(s). If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or copying of this communication or any of its contents is strictly prohibited. If you are not the named recipient, or have otherwise received this communication in error, please delete it from your inbox, notify the sender immediately, and do not disclose the contents to any other person or use them for any purpose, or store them in any medium. Thank you for your cooperation.
[-- Attachment #1.2: Type: text/html, Size: 4543 bytes --]
[-- Attachment #2: Type: text/plain, Size: 91 bytes --]
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ptxdist] Autoconf directives not invoking g++ compiler
2019-05-13 9:17 ` Juergen Borleis
@ 2019-05-13 9:38 ` Juergen Borleis
0 siblings, 0 replies; 8+ messages in thread
From: Juergen Borleis @ 2019-05-13 9:38 UTC (permalink / raw)
To: ptxdist; +Cc: Patrick Murray
On Monday 13 May 2019 11:17:37 Myself wrote:
> [...]
> Name all your source files *.cpp and you are done.
Maybe *.cxx is better or *.cc
Regards,
Jürgen
--
Pengutronix e.K. | Juergen Borleis |
Industrial Linux Solutions | http://www.pengutronix.de/ |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ptxdist] Autoconf directives not invoking g++ compiler
2019-05-13 9:02 Patrick Murray
@ 2019-05-13 9:17 ` Juergen Borleis
2019-05-13 9:38 ` Juergen Borleis
0 siblings, 1 reply; 8+ messages in thread
From: Juergen Borleis @ 2019-05-13 9:17 UTC (permalink / raw)
To: ptxdist; +Cc: Patrick Murray
Hi Patrick,
On Monday 13 May 2019 11:02:57 Patrick Murray wrote:
> [...]
> 41:AC_LANG=C++
Hmm, why do you set this?
All you want is to compile some C++ code. What you need and what the
autotools should ensure is a C++ compiler.
So, the 'AC_PROG_CXX' will find a useable C++ compiler for you.
Name all your source files *.cpp and you are done.
Regards,
Jürgen
--
Pengutronix e.K. | Juergen Borleis |
Industrial Linux Solutions | http://www.pengutronix.de/ |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* [ptxdist] Autoconf directives not invoking g++ compiler
@ 2019-05-13 9:02 Patrick Murray
2019-05-13 9:17 ` Juergen Borleis
0 siblings, 1 reply; 8+ messages in thread
From: Patrick Murray @ 2019-05-13 9:02 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 3095 bytes --]
Hi,
I have created a library package (libpsc) using "src-autoconf-lib" , it builds the template fine , but if use .cpp file it fails.
I have tried several changes to configure.ac and ( ran ./configure each time). It fails at the C++ directive
#include <string>
I have include the configure.ac and some relevant searches below
Any suggestions much appreciated.
Thanks Pat
dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/local_src/libpsc$ grep -n AC_LANG configure.ac
41:AC_LANG=C++
dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/local_src/libpsc$ grep -n AC_PROG_ configure.ac
44:#AC_PROG_CC
45:#AC_PROG_CXX
46:AC_PROG_CXXCPP
47:#AC_PROG_CXX[g++]
48:AC_PROG_CXX
dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4$ grep -A 3 -B 3 string local_src/libpsc/libpsc_internal.h
#pragma once
#include <string>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "libpsc.h"
dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4$ ptxdist toolchain
found and using toolchain:
'/opt/OSELAS.Toolchain-2016.06.0/arm-v5te-linux-gnueabi/gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized/bin'
dak@CNU35294ZR:/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/local_src/libpsc$ ls /opt/OSELAS.Toolchain-2016.06.0/arm-v5te-linux-gnueabi/gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized/bin
arm-v5te-linux-gnueabi-addr2line arm-v5te-linux-gnueabi-g++ arm-v5te-linux-gnueabi-gdb arm-v5te-linux-gnueabi-ranlib
arm-v5te-linux-gnueabi-ar arm-v5te-linux-gnueabi-gcc arm-v5te-linux-gnueabi-gprof arm-v5te-linux-gnueabi-readelf
arm-v5te-linux-gnueabi-as arm-v5te-linux-gnueabi-gcc-5.4.0 arm-v5te-linux-gnueabi-ld arm-v5te-linux-gnueabi-run
arm-v5te-linux-gnueabi-c++ arm-v5te-linux-gnueabi-gcc-ar arm-v5te-linux-gnueabi-ld.bfd arm-v5te-linux-gnueabi-size
arm-v5te-linux-gnueabi-c++filt arm-v5te-linux-gnueabi-gcc-nm arm-v5te-linux-gnueabi-ld.gold arm-v5te-linux-gnueabi-strings
arm-v5te-linux-gnueabi-cpp arm-v5te-linux-gnueabi-gcc-ranlib arm-v5te-linux-gnueabi-nm arm-v5te-linux-gnueabi-strip
arm-v5te-linux-gnueabi-dwp arm-v5te-linux-gnueabi-gcov arm-v5te-linux-gnueabi-objcopy ptxconfig
arm-v5te-linux-gnueabi-elfedit arm-v5te-linux-gnueabi-gcov-tool arm-v5te-linux-gnueabi-objdump
This email and any attachments may be confidential and/or legally privileged. It has been sent for the sole use of the intended recipient(s). If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or copying of this communication or any of its contents is strictly prohibited. If you are not the named recipient, or have otherwise received this communication in error, please delete it from your inbox, notify the sender immediately, and do not disclose the contents to any other person or use them for any purpose, or store them in any medium. Thank you for your cooperation.
[-- Attachment #1.2: Type: text/html, Size: 7056 bytes --]
[-- Attachment #2: configure.ac --]
[-- Type: application/octet-stream, Size: 6894 bytes --]
AC_PREREQ(2.69)
# TODO add useful information about this package
AC_INIT([libpsc], 0.0.0, [bugs@yourdomain.to], [libpsc], [http://www.yourdomain.to/])
AC_CONFIG_SRCDIR([R3PSC.cpp])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
# default is less output while building the package
AM_SILENT_RULES([yes])
# TODO If you don't want the default installation path to be '/usr/local' change it here
# AC_PREFIX_DEFAULT(<new prefix>)
# TODO If possible, enable extensions to Posix
AC_USE_SYSTEM_EXTENSIONS
#
# libtool library versioning stuff
#
# Library code modified: REVISION++
# Interfaces changed/added/removed: CURRENT++ REVISION=0
# Interfaces added: AGE++
# Interfaces removed: AGE=0
LT_CURRENT=0
LT_REVISION=0
LT_AGE=0
AC_SUBST(LT_CURRENT)
AC_SUBST(LT_REVISION)
AC_SUBST(LT_AGE)
AM_MAINTAINER_MODE
AM_INIT_AUTOMAKE([foreign no-exeext dist-xz silent-rules subdir-objects])
#
# Checks for programs.
#
AC_LANG=C++
#CXXFLAGS="$CXXFLAGS -std=c++0x"
CXXFLAGS
#AC_PROG_CC
#AC_PROG_CXX
AC_PROG_CXXCPP
#AC_PROG_CXX[g++]
AC_PROG_CXX
#
# TODO to only build the static library uncomment the following line
# AC_DISABLE_SHARED([])
# TODO to only build the shared library uncomment the following line
# AC_DISABLE_STATIC([])
LT_INIT
#
# Using additional preprocessor, compiler or linker flags:
# - add them to AM_CPPFLAGS, AM_CFLAGS or AM_LDFLAGS if they should be used
# by all source files
# - give the user a chance to setup her/his own flags with the CPPFLAGS, CFLAGS
# and LDFLAGS
# - if some flags are specific to a file add the flags via the substitute macro
# into the Makefile
#
# Don't add the "-g" to the CFLAGS variable. It will be done automatically if
# autoconf detects a GNU compiler.
#
#
# Please note: 'configure' defaults the CFLAGS to "-O2 -g" if it detects a
# GCC. If the user overwrites the CFLAGS externallly, there will be no default!
# Keep the user informed about this behaviour.
#
# TODO Check here for mandadory external libraries
#
# Rule of thumb: when your library needs an external library, add it
# to the 'LIBS' variable. Do _not_ add it manually into the Makefile.am files.
# These libraries _must_ be listed in the *.pc file.
#
# Don't add libraries without a check. Even if you know the 'sqrt()' requires
# 'libm' on most systems, check for its real need with 'AC_SEARCH_LIBS(sqrt, m)'.
# Doing it in this way will ensure an embedded developer knows exactly what
# dependencies your library has (because it gets listed in the *.pc file).
#
# Another way for checking libraries is the PKG_CHECK_MODULES macro. But please
# honor if a user switches off a feature you also switch of the test for a
# external component via PKG_CHECK_MODULES when it is no longer required!
# PKG_CHECK_MODULES returns *_CFLAGS and *_LIBS. Again, add the *_LIBS to the
# global 'LIBS', but for the CFLAGS you can decide if you add them to the
# CFLAGS, AM_CFLAGS or as substitution variables in the Makefile.am.
#REQUIRES_LIBSOMETHING="libsomething >= 20090402-1"
#AC_SUBST(REQUIRES_LIBSOMETHING)
#PKG_CHECK_MODULES(libsomething, $REQUIRES_LIBSOMETHING)
#
# TODO Check for functions and header files. First write your code and then run
# the 'autoscan' tool to get an idea what is still missing in your 'configure.ac'
#
# where to install pgk info files
PKG_INSTALLDIR
PTX_COMMON_CHECKS
PTX_LIBRARY_CHECKS
# ---------------------------------------------------------------------------
# TODO Checking if this CPU has a hardware floating point unit
#AX_HARDWARE_FP([target_hardware_fp=yes], [target_hardware_fp=no])
# When a hardware floating point unit seems available, then use it.
# This will end in bad code on badly configured compilers which generates
# floating point instructions even if the CPU has not hardware FP unit
#
#AS_IF([test x${target_hardware_fp} = "xyes"],
# [AC_MSG_NOTICE([FPU available])],
# [AC_MSG_NOTICE([FPU not available])])
# ---------------------------------------------------------------------------
# TODO discover on demand the special architecture this compiler builds code
# for. This can be useful if the package provides some optimized code for
# specific architectures.
#AS_IF([test x${host_cpu} = "xarm"],
# [AX_DETECT_ARMV4([enable_arm4=yes], [enable_arm4=no])
# AX_DETECT_ARMV5([enable_arm5=yes], [enable_arm5=no])
# AX_DETECT_ARMV6([enable_arm6=yes], [enable_arm6=no])
# AX_DETECT_ARMV7([enable_arm7=yes], [enable_arm7=no])
#
# AS_IF([test x${enable_arm4} = "xyes"], [AC_MSG_NOTICE([ARMv4 target])])
# AS_IF([test x${enable_arm5} = "xyes"], [AC_MSG_NOTICE([ARMv5 target])])
# AS_IF([test x${enable_arm6} = "xyes"], [AC_MSG_NOTICE([ARMv6 target])])
# AS_IF([test x${enable_arm7} = "xyes"], [AC_MSG_NOTICE([ARMv7 target])])])
# -------------------------- use all the settings ----------------------------
# substitute the settings valid for all source files
AC_SUBST(AM_CFLAGS)
AC_SUBST(AM_CPPFLAGS)
AC_SUBST(AM_LDFLAGS)
# add private libs to the pkg-config file
# 'private libs' are those required to link this library
# its used later on if someone wants to link this library statically
AC_SUBST(LIBS)
# add required lib information to the pkg-config file (on demand)
AC_SUBST(REQUIRES)
# add lib information which may conflicts with this libarry
AC_SUBST(CONFLICTS)
# add special compile flags on demand
AC_SUBST(PRIVATE_CFLAGS)
# be very silent on request
AM_CONDITIONAL(BUILD_SILENTLY, test "x$AM_DEFAULT_VERBOSITY" = x0)
AC_CONFIG_FILES([
Makefile
liblibpsc.pc
])
AC_OUTPUT
AC_MSG_RESULT([
------------------------------------------------------
Configure results for: ${PACKAGE}
------------------------------------------------------
Release State:
------------------------------------------------------
Library release: ${LT_CURRENT}.${LT_REVISION}.${LT_AGE}
Package release: ${VERSION}
General:
------------------------------------------------------
Cross compiling: ${cross_compiling}
Compiler: ${CC}
Target CPU: ${host_cpu}
Target OS: ${host_os}
Detected options:
------------------------------------------------------
CPPFLAGS: ${CPPFLAGS}
CFLAGS: ${CFLAGS}
LDFLAGS: ${LDFLAGS}
Debug: ${enable_debug}
Hidden symbols ${enable_hide}
Coverage: ${enable_coverage}
CPPFLAGS: ${CODE_COVERAGE_CPPFLAGS}
CFLAGS: ${CODE_COVERAGE_CFLAGS}
LDFLAGS: ${CODE_COVERAGE_LDFLAGS}
Profiling: ${enable_profile}
Optimisation goal: ${with_goal}
Private libs: ${LIBS}
Use abort(): ${enable_abort}
User options:
------------------------------------------------------
CFLAGS: ${CFLAGS}
CPPFLAGS: ${CPPFLAGS}
LDFLAGS: ${LDFLAGS}
Install options:
------------------------------------------------------
prefix: ${prefix}
sysconfdir: ${sysconfdir}
libdir: ${libdir}
includedir: ${includedir}
bindir: ${bindir}
pkgconfigdir: ${pkgconfigdir}
])
[-- Attachment #3: Type: text/plain, Size: 91 bytes --]
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2019-05-15 8:29 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-13 10:25 [ptxdist] Autoconf directives not invoking g++ compiler Patrick Murray
-- strict thread matches above, loose matches on Subject: below --
2019-05-13 9:45 Patrick Murray
2019-05-13 9:58 ` Juergen Borleis
2019-05-13 16:19 ` Patrick Murray
2019-05-15 8:29 ` Juergen Borleis
2019-05-13 9:02 Patrick Murray
2019-05-13 9:17 ` Juergen Borleis
2019-05-13 9:38 ` Juergen Borleis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox