Project

General

Profile

RE: Communication EGD or ModBus/TCP Cores ยป MyLog.txt

This is my installation log - Hector Bojorquez, 07/27/2016 03:34 PM

 
mitydsp@mitydsp-dev:/media/MityDSP/Modbuslibrary/libmodbus-3.1.4$ . /usr/local/angstrom/arm/environment-setup
mitydsp@mitydsp-dev:/media/MityDSP/Modbuslibrary/libmodbus-3.1.4$ ./configure --host=arm-angstrom-linux-gnueabi
configure: loading site script /usr/local/angstrom/arm/site-config
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-angstrom-linux-gnueabi-strip... arm-angstrom-linux-gnueabi-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking for style of include used by make... GNU
checking for arm-angstrom-linux-gnueabi-gcc... arm-angstrom-linux-gnueabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-angstrom-linux-gnueabi-gcc accepts -g... yes
checking for arm-angstrom-linux-gnueabi-gcc option to accept ISO C89... none needed
checking whether arm-angstrom-linux-gnueabi-gcc understands -c and -o together... yes
checking dependency style of arm-angstrom-linux-gnueabi-gcc... gcc3
checking for arm-angstrom-linux-gnueabi-gcc option to accept ISO C99... -std=gnu99
checking for arm-angstrom-linux-gnueabi-gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking how to run the C preprocessor... arm-angstrom-linux-gnueabi-gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking whether make supports nested variables... (cached) yes
checking build system type... i686-pc-linux-gnu
checking host system type... arm-angstrom-linux-gnueabi
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by arm-angstrom-linux-gnueabi-gcc -std=gnu99... /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld
checking if the linker (/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-nm -B
checking the name lister (/usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-nm -B) interface... BSD nm
checking whether ln -s works... no, using cp -pR
checking the maximum length of command line arguments... 1572864
checking how to convert i686-pc-linux-gnu file names to arm-angstrom-linux-gnueabi format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld option to reload object files... -r
checking for arm-angstrom-linux-gnueabi-objdump... arm-angstrom-linux-gnueabi-objdump
checking how to recognize dependent libraries... pass_all
checking for arm-angstrom-linux-gnueabi-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-angstrom-linux-gnueabi-ar... arm-angstrom-linux-gnueabi-ar
checking for archiver @FILE support... @
checking for arm-angstrom-linux-gnueabi-strip... (cached) arm-angstrom-linux-gnueabi-strip
checking for arm-angstrom-linux-gnueabi-ranlib... arm-angstrom-linux-gnueabi-ranlib
checking command to parse /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-nm -B output from arm-angstrom-linux-gnueabi-gcc -std=gnu99 object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for arm-angstrom-linux-gnueabi-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if arm-angstrom-linux-gnueabi-gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for arm-angstrom-linux-gnueabi-gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if arm-angstrom-linux-gnueabi-gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if arm-angstrom-linux-gnueabi-gcc -std=gnu99 static flag -static works... yes
checking if arm-angstrom-linux-gnueabi-gcc -std=gnu99 supports -c -o file.o... yes
checking if arm-angstrom-linux-gnueabi-gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the arm-angstrom-linux-gnueabi-gcc -std=gnu99 linker (/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking linux/serial.h usability... yes
checking linux/serial.h presence... yes
checking for linux/serial.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/params.h usability... no
checking sys/params.h presence... no
checking for sys/params.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking for asciidoc... no
checking for xmlto... no
checking whether to build documentation... no
configure: WARNING: The tools to build the documentation aren't installed
checking whether __CYGWIN__ is declared... no
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... cross
configure: WARNING: result yes guessed because of cross compilation
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... no
checking for accept4... no
checking for getaddrinfo... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strerror... yes
checking for strlcpy... no
checking for inline... inline
checking for arm-angstrom-linux-gnueabi-g++... arm-angstrom-linux-gnueabi-g++
checking whether we are using the GNU C++ compiler... yes
checking whether arm-angstrom-linux-gnueabi-g++ accepts -g... yes
checking dependency style of arm-angstrom-linux-gnueabi-g++... gcc3
checking how to run the C++ preprocessor... arm-angstrom-linux-gnueabi-g++ -E
checking for ld used by arm-angstrom-linux-gnueabi-g++... /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld
checking if the linker (/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld) is GNU ld... yes
checking whether the arm-angstrom-linux-gnueabi-g++ linker (/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld) supports shared libraries... yes
checking for arm-angstrom-linux-gnueabi-g++ option to produce PIC... -fPIC -DPIC
checking if arm-angstrom-linux-gnueabi-g++ PIC flag -fPIC -DPIC works... yes
checking if arm-angstrom-linux-gnueabi-g++ static flag -static works... yes
checking if arm-angstrom-linux-gnueabi-g++ supports -c -o file.o... yes
checking if arm-angstrom-linux-gnueabi-g++ supports -c -o file.o... (cached) yes
checking whether the arm-angstrom-linux-gnueabi-g++ linker (/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for int64_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking whether TIOCSRS485 is declared... no
checking whether TIOCM_RTS is declared... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/modbus-version.h
config.status: creating src/win32/modbus.dll.manifest
config.status: creating tests/Makefile
config.status: creating doc/Makefile
config.status: creating libmodbus.pc
config.status: creating config.h
config.status: creating tests/unit-test.h
config.status: tests/unit-test.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

libmodbus 3.1.4
===============

prefix: /usr/local
sysconfdir: ${prefix}/etc
libdir: ${exec_prefix}/lib
includedir: ${prefix}/include

compiler: arm-angstrom-linux-gnueabi-gcc -std=gnu99
cflags: -g -O2
ldflags:

documentation: no
tests: yes

mitydsp@mitydsp-dev:/media/MityDSP/Modbuslibrary/libmodbus-3.1.4$ make
make --no-print-directory all-recursive
Making all in src
CC modbus.lo
CC modbus-data.lo
modbus-data.c: In function ?modbus_get_float_badc?:
modbus-data.c:147: warning: declaration of ?__bsx? shadows a previous local
modbus-data.c:147: warning: shadowed declaration is here
modbus-data.c:147: warning: declaration of ?__bsx? shadows a previous local
modbus-data.c:147: warning: shadowed declaration is here
CC modbus-rtu.lo
CC modbus-tcp.lo
CCLD libmodbus.la
Making all in doc
make[2]: Nothing to be done for `all'.
Making all in tests
make all-am
CC bandwidth-server-one.o
CCLD bandwidth-server-one
../src/.libs/libmodbus.so: undefined reference to `rpl_malloc'
collect2: ld returned 1 exit status
make[3]: *** [bandwidth-server-one] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
mitydsp@mitydsp-dev:/media/MityDSP/Modbuslibrary/libmodbus-3.1.4$

mitydsp@mitydsp-dev:/media/MityDSP/Modbuslibrary/libmodbus-3.1.4$ make install DESTDIR=$PWD/ARM
Making install in src
/bin/mkdir -p '/media/MityDSP/Modbuslibrary/libmodbus-3.1.4/ARM/usr/local/lib'
/bin/sh ../libtool --mode=install /usr/bin/install -c libmodbus.la '/media/MityDSP/Modbuslibrary/libmodbus-3.1.4/ARM/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libmodbus.so.5.1.0 /media/MityDSP/Modbuslibrary/libmodbus-3.1.4/ARM/usr/local/lib/libmodbus.so.5.1.0
libtool: install: (cd /media/MityDSP/Modbuslibrary/libmodbus-3.1.4/ARM/usr/local/lib && { cp -pR -f libmodbus.so.5.1.0 libmodbus.so.5 || { rm -f libmodbus.so.5 && cp -pR libmodbus.so.5.1.0 libmodbus.so.5; }; })
libtool: install: (cd /media/MityDSP/Modbuslibrary/libmodbus-3.1.4/ARM/usr/local/lib && { cp -pR -f libmodbus.so.5.1.0 libmodbus.so || { rm -f libmodbus.so && cp -pR libmodbus.so.5.1.0 libmodbus.so; }; })
libtool: install: /usr/bin/install -c .libs/libmodbus.lai /media/MityDSP/Modbuslibrary/libmodbus-3.1.4/ARM/usr/local/lib/libmodbus.la
libtool: warning: remember to run 'libtool --finish /usr/local/lib'
/bin/mkdir -p '/media/MityDSP/Modbuslibrary/libmodbus-3.1.4/ARM/usr/local/include/modbus'
/usr/bin/install -c -m 644 modbus.h modbus-version.h modbus-rtu.h modbus-tcp.h '/media/MityDSP/Modbuslibrary/libmodbus-3.1.4/ARM/usr/local/include/modbus'
Making install in doc
make[2]: Nothing to be done for `install-exec-am'.
Making install in tests
CCLD bandwidth-server-one
../src/.libs/libmodbus.so: undefined reference to `rpl_malloc'
collect2: ld returned 1 exit status
make[1]: *** [bandwidth-server-one] Error 1
make: *** [install-recursive] Error 1
    (1-1/1)