1
|
mitydsp@mitydsp-dev:/media/MityDSP/Modbuslibrary/libmodbus-3.1.4$ . /usr/local/angstrom/arm/environment-setup
|
2
|
mitydsp@mitydsp-dev:/media/MityDSP/Modbuslibrary/libmodbus-3.1.4$ ./configure --host=arm-angstrom-linux-gnueabi
|
3
|
configure: loading site script /usr/local/angstrom/arm/site-config
|
4
|
checking for a BSD-compatible install... /usr/bin/install -c
|
5
|
checking whether build environment is sane... yes
|
6
|
checking for arm-angstrom-linux-gnueabi-strip... arm-angstrom-linux-gnueabi-strip
|
7
|
checking for a thread-safe mkdir -p... /bin/mkdir -p
|
8
|
checking for gawk... gawk
|
9
|
checking whether make sets $(MAKE)... yes
|
10
|
checking whether make supports nested variables... yes
|
11
|
checking how to create a pax tar archive... gnutar
|
12
|
checking for style of include used by make... GNU
|
13
|
checking for arm-angstrom-linux-gnueabi-gcc... arm-angstrom-linux-gnueabi-gcc
|
14
|
checking whether the C compiler works... yes
|
15
|
checking for C compiler default output file name... a.out
|
16
|
checking for suffix of executables...
|
17
|
checking whether we are cross compiling... yes
|
18
|
checking for suffix of object files... o
|
19
|
checking whether we are using the GNU C compiler... yes
|
20
|
checking whether arm-angstrom-linux-gnueabi-gcc accepts -g... yes
|
21
|
checking for arm-angstrom-linux-gnueabi-gcc option to accept ISO C89... none needed
|
22
|
checking whether arm-angstrom-linux-gnueabi-gcc understands -c and -o together... yes
|
23
|
checking dependency style of arm-angstrom-linux-gnueabi-gcc... gcc3
|
24
|
checking for arm-angstrom-linux-gnueabi-gcc option to accept ISO C99... -std=gnu99
|
25
|
checking for arm-angstrom-linux-gnueabi-gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
|
26
|
checking how to run the C preprocessor... arm-angstrom-linux-gnueabi-gcc -std=gnu99 -E
|
27
|
checking for grep that handles long lines and -e... /bin/grep
|
28
|
checking for egrep... /bin/grep -E
|
29
|
checking for ANSI C header files... yes
|
30
|
checking for sys/types.h... yes
|
31
|
checking for sys/stat.h... yes
|
32
|
checking for stdlib.h... yes
|
33
|
checking for string.h... yes
|
34
|
checking for memory.h... yes
|
35
|
checking for strings.h... yes
|
36
|
checking for inttypes.h... yes
|
37
|
checking for stdint.h... yes
|
38
|
checking for unistd.h... yes
|
39
|
checking minix/config.h usability... no
|
40
|
checking minix/config.h presence... no
|
41
|
checking for minix/config.h... no
|
42
|
checking whether it is safe to define __EXTENSIONS__... yes
|
43
|
checking for special C compiler options needed for large files... no
|
44
|
checking for _FILE_OFFSET_BITS value needed for large files... 64
|
45
|
checking whether make supports nested variables... (cached) yes
|
46
|
checking build system type... i686-pc-linux-gnu
|
47
|
checking host system type... arm-angstrom-linux-gnueabi
|
48
|
checking how to print strings... printf
|
49
|
checking for a sed that does not truncate output... /bin/sed
|
50
|
checking for fgrep... /bin/grep -F
|
51
|
checking for ld used by arm-angstrom-linux-gnueabi-gcc -std=gnu99... /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld
|
52
|
checking if the linker (/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld) is GNU ld... yes
|
53
|
checking for BSD- or MS-compatible name lister (nm)... /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-nm -B
|
54
|
checking the name lister (/usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-nm -B) interface... BSD nm
|
55
|
checking whether ln -s works... no, using cp -pR
|
56
|
checking the maximum length of command line arguments... 1572864
|
57
|
checking how to convert i686-pc-linux-gnu file names to arm-angstrom-linux-gnueabi format... func_convert_file_noop
|
58
|
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
|
59
|
checking for /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld option to reload object files... -r
|
60
|
checking for arm-angstrom-linux-gnueabi-objdump... arm-angstrom-linux-gnueabi-objdump
|
61
|
checking how to recognize dependent libraries... pass_all
|
62
|
checking for arm-angstrom-linux-gnueabi-dlltool... no
|
63
|
checking for dlltool... no
|
64
|
checking how to associate runtime and link libraries... printf %s\n
|
65
|
checking for arm-angstrom-linux-gnueabi-ar... arm-angstrom-linux-gnueabi-ar
|
66
|
checking for archiver @FILE support... @
|
67
|
checking for arm-angstrom-linux-gnueabi-strip... (cached) arm-angstrom-linux-gnueabi-strip
|
68
|
checking for arm-angstrom-linux-gnueabi-ranlib... arm-angstrom-linux-gnueabi-ranlib
|
69
|
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
|
70
|
checking for sysroot... no
|
71
|
checking for a working dd... /bin/dd
|
72
|
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
|
73
|
checking for arm-angstrom-linux-gnueabi-mt... no
|
74
|
checking for mt... mt
|
75
|
configure: WARNING: using cross tools not prefixed with host triplet
|
76
|
checking if mt is a manifest tool... no
|
77
|
checking for dlfcn.h... yes
|
78
|
checking for objdir... .libs
|
79
|
checking if arm-angstrom-linux-gnueabi-gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
|
80
|
checking for arm-angstrom-linux-gnueabi-gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
|
81
|
checking if arm-angstrom-linux-gnueabi-gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
|
82
|
checking if arm-angstrom-linux-gnueabi-gcc -std=gnu99 static flag -static works... yes
|
83
|
checking if arm-angstrom-linux-gnueabi-gcc -std=gnu99 supports -c -o file.o... yes
|
84
|
checking if arm-angstrom-linux-gnueabi-gcc -std=gnu99 supports -c -o file.o... (cached) yes
|
85
|
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
|
86
|
checking whether -lc should be explicitly linked in... no
|
87
|
checking dynamic linker characteristics... GNU/Linux ld.so
|
88
|
checking how to hardcode library paths into programs... immediate
|
89
|
checking whether stripping libraries is possible... yes
|
90
|
checking if libtool supports shared libraries... yes
|
91
|
checking whether to build shared libraries... yes
|
92
|
checking whether to build static libraries... no
|
93
|
checking arpa/inet.h usability... yes
|
94
|
checking arpa/inet.h presence... yes
|
95
|
checking for arpa/inet.h... yes
|
96
|
checking byteswap.h usability... yes
|
97
|
checking byteswap.h presence... yes
|
98
|
checking for byteswap.h... yes
|
99
|
checking errno.h usability... yes
|
100
|
checking errno.h presence... yes
|
101
|
checking for errno.h... yes
|
102
|
checking fcntl.h usability... yes
|
103
|
checking fcntl.h presence... yes
|
104
|
checking for fcntl.h... yes
|
105
|
checking limits.h usability... yes
|
106
|
checking limits.h presence... yes
|
107
|
checking for limits.h... yes
|
108
|
checking linux/serial.h usability... yes
|
109
|
checking linux/serial.h presence... yes
|
110
|
checking for linux/serial.h... yes
|
111
|
checking netdb.h usability... yes
|
112
|
checking netdb.h presence... yes
|
113
|
checking for netdb.h... yes
|
114
|
checking netinet/in.h usability... yes
|
115
|
checking netinet/in.h presence... yes
|
116
|
checking for netinet/in.h... yes
|
117
|
checking netinet/tcp.h usability... yes
|
118
|
checking netinet/tcp.h presence... yes
|
119
|
checking for netinet/tcp.h... yes
|
120
|
checking sys/ioctl.h usability... yes
|
121
|
checking sys/ioctl.h presence... yes
|
122
|
checking for sys/ioctl.h... yes
|
123
|
checking sys/params.h usability... no
|
124
|
checking sys/params.h presence... no
|
125
|
checking for sys/params.h... no
|
126
|
checking sys/socket.h usability... yes
|
127
|
checking sys/socket.h presence... yes
|
128
|
checking for sys/socket.h... yes
|
129
|
checking sys/time.h usability... yes
|
130
|
checking sys/time.h presence... yes
|
131
|
checking for sys/time.h... yes
|
132
|
checking for sys/types.h... (cached) yes
|
133
|
checking termios.h usability... yes
|
134
|
checking termios.h presence... yes
|
135
|
checking for termios.h... yes
|
136
|
checking time.h usability... yes
|
137
|
checking time.h presence... yes
|
138
|
checking for time.h... yes
|
139
|
checking for unistd.h... (cached) yes
|
140
|
checking for asciidoc... no
|
141
|
checking for xmlto... no
|
142
|
checking whether to build documentation... no
|
143
|
configure: WARNING: The tools to build the documentation aren't installed
|
144
|
checking whether __CYGWIN__ is declared... no
|
145
|
checking for pid_t... yes
|
146
|
checking vfork.h usability... no
|
147
|
checking vfork.h presence... no
|
148
|
checking for vfork.h... no
|
149
|
checking for fork... yes
|
150
|
checking for vfork... yes
|
151
|
checking for working fork... cross
|
152
|
configure: WARNING: result yes guessed because of cross compilation
|
153
|
checking for working vfork... (cached) yes
|
154
|
checking for stdlib.h... (cached) yes
|
155
|
checking for GNU libc compatible malloc... no
|
156
|
checking for accept4... no
|
157
|
checking for getaddrinfo... yes
|
158
|
checking for gettimeofday... yes
|
159
|
checking for inet_ntoa... yes
|
160
|
checking for memset... yes
|
161
|
checking for select... yes
|
162
|
checking for socket... yes
|
163
|
checking for strerror... yes
|
164
|
checking for strlcpy... no
|
165
|
checking for inline... inline
|
166
|
checking for arm-angstrom-linux-gnueabi-g++... arm-angstrom-linux-gnueabi-g++
|
167
|
checking whether we are using the GNU C++ compiler... yes
|
168
|
checking whether arm-angstrom-linux-gnueabi-g++ accepts -g... yes
|
169
|
checking dependency style of arm-angstrom-linux-gnueabi-g++... gcc3
|
170
|
checking how to run the C++ preprocessor... arm-angstrom-linux-gnueabi-g++ -E
|
171
|
checking for ld used by arm-angstrom-linux-gnueabi-g++... /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld
|
172
|
checking if the linker (/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld) is GNU ld... yes
|
173
|
checking whether the arm-angstrom-linux-gnueabi-g++ linker (/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld) supports shared libraries... yes
|
174
|
checking for arm-angstrom-linux-gnueabi-g++ option to produce PIC... -fPIC -DPIC
|
175
|
checking if arm-angstrom-linux-gnueabi-g++ PIC flag -fPIC -DPIC works... yes
|
176
|
checking if arm-angstrom-linux-gnueabi-g++ static flag -static works... yes
|
177
|
checking if arm-angstrom-linux-gnueabi-g++ supports -c -o file.o... yes
|
178
|
checking if arm-angstrom-linux-gnueabi-g++ supports -c -o file.o... (cached) yes
|
179
|
checking whether the arm-angstrom-linux-gnueabi-g++ linker (/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld) supports shared libraries... yes
|
180
|
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
|
181
|
checking how to hardcode library paths into programs... immediate
|
182
|
checking for int64_t... yes
|
183
|
checking for size_t... yes
|
184
|
checking for ssize_t... yes
|
185
|
checking for uint16_t... yes
|
186
|
checking for uint32_t... yes
|
187
|
checking for uint8_t... yes
|
188
|
checking winsock2.h usability... no
|
189
|
checking winsock2.h presence... no
|
190
|
checking for winsock2.h... no
|
191
|
checking whether TIOCSRS485 is declared... no
|
192
|
checking whether TIOCM_RTS is declared... yes
|
193
|
checking that generated files are newer than configure... done
|
194
|
configure: creating ./config.status
|
195
|
config.status: creating Makefile
|
196
|
config.status: creating src/Makefile
|
197
|
config.status: creating src/modbus-version.h
|
198
|
config.status: creating src/win32/modbus.dll.manifest
|
199
|
config.status: creating tests/Makefile
|
200
|
config.status: creating doc/Makefile
|
201
|
config.status: creating libmodbus.pc
|
202
|
config.status: creating config.h
|
203
|
config.status: creating tests/unit-test.h
|
204
|
config.status: tests/unit-test.h is unchanged
|
205
|
config.status: executing depfiles commands
|
206
|
config.status: executing libtool commands
|
207
|
|
208
|
libmodbus 3.1.4
|
209
|
===============
|
210
|
|
211
|
prefix: /usr/local
|
212
|
sysconfdir: ${prefix}/etc
|
213
|
libdir: ${exec_prefix}/lib
|
214
|
includedir: ${prefix}/include
|
215
|
|
216
|
compiler: arm-angstrom-linux-gnueabi-gcc -std=gnu99
|
217
|
cflags: -g -O2
|
218
|
ldflags:
|
219
|
|
220
|
documentation: no
|
221
|
tests: yes
|
222
|
|
223
|
mitydsp@mitydsp-dev:/media/MityDSP/Modbuslibrary/libmodbus-3.1.4$ make
|
224
|
make --no-print-directory all-recursive
|
225
|
Making all in src
|
226
|
CC modbus.lo
|
227
|
CC modbus-data.lo
|
228
|
modbus-data.c: In function ?modbus_get_float_badc?:
|
229
|
modbus-data.c:147: warning: declaration of ?__bsx? shadows a previous local
|
230
|
modbus-data.c:147: warning: shadowed declaration is here
|
231
|
modbus-data.c:147: warning: declaration of ?__bsx? shadows a previous local
|
232
|
modbus-data.c:147: warning: shadowed declaration is here
|
233
|
CC modbus-rtu.lo
|
234
|
CC modbus-tcp.lo
|
235
|
CCLD libmodbus.la
|
236
|
Making all in doc
|
237
|
make[2]: Nothing to be done for `all'.
|
238
|
Making all in tests
|
239
|
make all-am
|
240
|
CC bandwidth-server-one.o
|
241
|
CCLD bandwidth-server-one
|
242
|
../src/.libs/libmodbus.so: undefined reference to `rpl_malloc'
|
243
|
collect2: ld returned 1 exit status
|
244
|
make[3]: *** [bandwidth-server-one] Error 1
|
245
|
make[2]: *** [all] Error 2
|
246
|
make[1]: *** [all-recursive] Error 1
|
247
|
make: *** [all] Error 2
|
248
|
mitydsp@mitydsp-dev:/media/MityDSP/Modbuslibrary/libmodbus-3.1.4$
|
249
|
|
250
|
mitydsp@mitydsp-dev:/media/MityDSP/Modbuslibrary/libmodbus-3.1.4$ make install DESTDIR=$PWD/ARM
|
251
|
Making install in src
|
252
|
/bin/mkdir -p '/media/MityDSP/Modbuslibrary/libmodbus-3.1.4/ARM/usr/local/lib'
|
253
|
/bin/sh ../libtool --mode=install /usr/bin/install -c libmodbus.la '/media/MityDSP/Modbuslibrary/libmodbus-3.1.4/ARM/usr/local/lib'
|
254
|
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
|
255
|
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; }; })
|
256
|
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; }; })
|
257
|
libtool: install: /usr/bin/install -c .libs/libmodbus.lai /media/MityDSP/Modbuslibrary/libmodbus-3.1.4/ARM/usr/local/lib/libmodbus.la
|
258
|
libtool: warning: remember to run 'libtool --finish /usr/local/lib'
|
259
|
/bin/mkdir -p '/media/MityDSP/Modbuslibrary/libmodbus-3.1.4/ARM/usr/local/include/modbus'
|
260
|
/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'
|
261
|
Making install in doc
|
262
|
make[2]: Nothing to be done for `install-exec-am'.
|
263
|
Making install in tests
|
264
|
CCLD bandwidth-server-one
|
265
|
../src/.libs/libmodbus.so: undefined reference to `rpl_malloc'
|
266
|
collect2: ld returned 1 exit status
|
267
|
make[1]: *** [bandwidth-server-one] Error 1
|
268
|
make: *** [install-recursive] Error 1
|