Project

General

Profile

ARM Software FAQs » libmodbus_build.log

Jonathan Cormier, 07/27/2016 01:42 PM

 
1
 $ git clone git://github.com/stephane/libmodbus
2
Cloning into 'libmodbus'...
3
remote: Counting objects: 4362, done.
4
remote: Total 4362 (delta 0), reused 0 (delta 0), pack-reused 4362
5
Receiving objects: 100% (4362/4362), 1.47 MiB | 2.17 MiB/s, done.
6
Resolving deltas: 100% (2924/2924), done.
7
Checking connectivity... done.
8
Checking out files: 100% (113/113), done.
9
 $ cd libmodbus/
10
 $ ls
11
acinclude.m4  configure.ac     doc                m4           NEWS       tests
12
AUTHORS       CONTRIBUTING.md  ISSUE_TEMPLATE.md  Makefile.am  README.md
13
autogen.sh    COPYING.LESSER   libmodbus.pc.in    MIGRATION    src
14
 $ . /usr/local/oecore-i686/environment-setup-armv5te-angstrom-linux-gnueabi
15
 $ ./autogen.sh
16
main::scan_file() called too early to check prototype at /usr/local/oecore-i686/sysroots/i686-angstromsdk-linux/usr/bin/aclocal line 621.
17
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
18
libtoolize: linking file `build-aux/ltmain.sh'
19
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
20
libtoolize: linking file `m4/libtool.m4'
21
libtoolize: linking file `m4/ltoptions.m4'
22
libtoolize: linking file `m4/ltsugar.m4'
23
libtoolize: linking file `m4/ltversion.m4'
24
libtoolize: linking file `m4/lt~obsolete.m4'
25
main::scan_file() called too early to check prototype at /usr/local/oecore-i686/sysroots/i686-angstromsdk-linux/usr/bin/aclocal line 621.
26
configure.ac:56: installing `build-aux/config.guess'
27
configure.ac:56: installing `build-aux/config.sub'
28
configure.ac:32: installing `build-aux/install-sh'
29
configure.ac:32: installing `build-aux/missing'
30
src/Makefile.am: installing `build-aux/depcomp'
31

    
32
------------------------------------------------------
33
Initialized build system. You can now run ./configure 
34
------------------------------------------------------
35

    
36
 $ ./configure --host=arm-angstrom-linux-gnueabi
37
configure: WARNING: if you wanted to set the --build type, don't use --host.
38
    If a cross compiler is detected then cross compile mode will be used
39
configure: loading site script /usr/local/oecore-i686/site-config-armv5te-angstrom-linux-gnueabi
40
checking for a BSD-compatible install... /usr/bin/install -c
41
checking whether build environment is sane... yes
42
checking for arm-angstrom-linux-gnueabi-strip... arm-angstrom-linux-gnueabi-strip
43
checking for a thread-safe mkdir -p... /bin/mkdir -p
44
checking for gawk... gawk
45
checking whether make sets $(MAKE)... yes
46
checking how to create a pax tar archive... gnutar
47
checking for style of include used by make... GNU
48
checking for arm-angstrom-linux-gnueabi-gcc... arm-angstrom-linux-gnueabi-gcc
49
checking whether the C compiler works... yes
50
checking for C compiler default output file name... a.out
51
checking for suffix of executables... 
52
checking whether we are cross compiling... yes
53
checking for suffix of object files... o
54
checking whether we are using the GNU C compiler... yes
55
checking whether arm-angstrom-linux-gnueabi-gcc accepts -g... yes
56
checking for arm-angstrom-linux-gnueabi-gcc option to accept ISO C89... none needed
57
checking dependency style of arm-angstrom-linux-gnueabi-gcc... gcc3
58
checking for arm-angstrom-linux-gnueabi-gcc option to accept ISO C99... -std=gnu99
59
checking for arm-angstrom-linux-gnueabi-gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
60
checking how to run the C preprocessor... arm-angstrom-linux-gnueabi-gcc -std=gnu99 -E
61
checking for grep that handles long lines and -e... /bin/grep
62
checking for egrep... /bin/grep -E
63
checking for ANSI C header files... (cached) yes
64
checking for sys/types.h... (cached) yes
65
checking for sys/stat.h... (cached) yes
66
checking for stdlib.h... (cached) yes
67
checking for string.h... (cached) yes
68
checking for memory.h... (cached) yes
69
checking for strings.h... (cached) yes
70
checking for inttypes.h... (cached) yes
71
checking for stdint.h... (cached) yes
72
checking for unistd.h... (cached) yes
73
checking minix/config.h usability... no
74
checking minix/config.h presence... no
75
checking for minix/config.h... no
76
checking whether it is safe to define __EXTENSIONS__... yes
77
checking for special C compiler options needed for large files... no
78
checking for _FILE_OFFSET_BITS value needed for large files... 64
79
checking build system type... x86_64-unknown-linux-gnu
80
checking host system type... arm-angstrom-linux-gnueabi
81
checking how to print strings... printf
82
checking for a sed that does not truncate output... /bin/sed
83
checking for fgrep... /bin/grep -F
84
checking for ld used by arm-angstrom-linux-gnueabi-gcc -std=gnu99... /usr/local/oecore-i686/sysroots/i686-angstromsdk-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/ld
85
checking if the linker (/usr/local/oecore-i686/sysroots/i686-angstromsdk-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/ld) is GNU ld... yes
86
checking for BSD- or MS-compatible name lister (nm)... /usr/local/oecore-i686/sysroots/i686-angstromsdk-linux/usr/bin/armv5te-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-nm -B
87
checking the name lister (/usr/local/oecore-i686/sysroots/i686-angstromsdk-linux/usr/bin/armv5te-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-nm -B) interface... BSD nm
88
checking whether ln -s works... yes
89
checking the maximum length of command line arguments... 1572864
90
checking whether the shell understands some XSI constructs... yes
91
checking whether the shell understands "+="... yes
92
checking how to convert x86_64-unknown-linux-gnu file names to arm-angstrom-linux-gnueabi format... func_convert_file_noop
93
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
94
checking for /usr/local/oecore-i686/sysroots/i686-angstromsdk-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/ld option to reload object files... -r
95
checking for arm-angstrom-linux-gnueabi-objdump... arm-angstrom-linux-gnueabi-objdump
96
checking how to recognize dependent libraries... pass_all
97
checking for arm-angstrom-linux-gnueabi-dlltool... no
98
checking for dlltool... no
99
checking how to associate runtime and link libraries... printf %s\n
100
checking for arm-angstrom-linux-gnueabi-ar... arm-angstrom-linux-gnueabi-ar
101
checking for archiver @FILE support... @
102
checking for arm-angstrom-linux-gnueabi-strip... (cached) arm-angstrom-linux-gnueabi-strip
103
checking for arm-angstrom-linux-gnueabi-ranlib... arm-angstrom-linux-gnueabi-ranlib
104
checking command to parse /usr/local/oecore-i686/sysroots/i686-angstromsdk-linux/usr/bin/armv5te-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-nm -B output from arm-angstrom-linux-gnueabi-gcc -std=gnu99 object... ok
105
checking for sysroot... no
106
checking for arm-angstrom-linux-gnueabi-mt... no
107
checking for mt... mt
108
configure: WARNING: using cross tools not prefixed with host triplet
109
checking if mt is a manifest tool... no
110
checking for dlfcn.h... yes
111
checking for objdir... .libs
112
checking if arm-angstrom-linux-gnueabi-gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
113
checking for arm-angstrom-linux-gnueabi-gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
114
checking if arm-angstrom-linux-gnueabi-gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
115
checking if arm-angstrom-linux-gnueabi-gcc -std=gnu99 static flag -static works... no
116
checking if arm-angstrom-linux-gnueabi-gcc -std=gnu99 supports -c -o file.o... yes
117
checking if arm-angstrom-linux-gnueabi-gcc -std=gnu99 supports -c -o file.o... (cached) yes
118
checking whether the arm-angstrom-linux-gnueabi-gcc -std=gnu99 linker (/usr/local/oecore-i686/sysroots/i686-angstromsdk-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/ld) supports shared libraries... yes
119
checking whether -lc should be explicitly linked in... no
120
checking dynamic linker characteristics... GNU/Linux ld.so
121
checking how to hardcode library paths into programs... immediate
122
checking whether stripping libraries is possible... yes
123
checking if libtool supports shared libraries... yes
124
checking whether to build shared libraries... yes
125
checking whether to build static libraries... no
126
checking arpa/inet.h usability... yes
127
checking arpa/inet.h presence... yes
128
checking for arpa/inet.h... yes
129
checking byteswap.h usability... yes
130
checking byteswap.h presence... yes
131
checking for byteswap.h... yes
132
checking errno.h usability... yes
133
checking errno.h presence... yes
134
checking for errno.h... yes
135
checking fcntl.h usability... yes
136
checking fcntl.h presence... yes
137
checking for fcntl.h... yes
138
checking limits.h usability... yes
139
checking limits.h presence... yes
140
checking for limits.h... yes
141
checking linux/serial.h usability... yes
142
checking linux/serial.h presence... yes
143
checking for linux/serial.h... yes
144
checking netdb.h usability... yes
145
checking netdb.h presence... yes
146
checking for netdb.h... yes
147
checking netinet/in.h usability... yes
148
checking netinet/in.h presence... yes
149
checking for netinet/in.h... yes
150
checking netinet/tcp.h usability... yes
151
checking netinet/tcp.h presence... yes
152
checking for netinet/tcp.h... yes
153
checking sys/ioctl.h usability... yes
154
checking sys/ioctl.h presence... yes
155
checking for sys/ioctl.h... yes
156
checking sys/params.h usability... no
157
checking sys/params.h presence... no
158
checking for sys/params.h... no
159
checking sys/socket.h usability... yes
160
checking sys/socket.h presence... yes
161
checking for sys/socket.h... yes
162
checking sys/time.h usability... yes
163
checking sys/time.h presence... yes
164
checking for sys/time.h... yes
165
checking for sys/types.h... (cached) yes
166
checking termios.h usability... yes
167
checking termios.h presence... yes
168
checking for termios.h... yes
169
checking time.h usability... yes
170
checking time.h presence... yes
171
checking for time.h... yes
172
checking for unistd.h... (cached) yes
173
checking for asciidoc... no
174
checking for xmlto... no
175
checking whether to build documentation... no
176
configure: WARNING: The tools to build the documentation aren't installed
177
checking whether __CYGWIN__ is declared... no
178
checking for pid_t... yes
179
checking vfork.h usability... no
180
checking vfork.h presence... no
181
checking for vfork.h... no
182
checking for fork... yes
183
checking for vfork... yes
184
checking for working fork... cross
185
configure: WARNING: result yes guessed because of cross compilation
186
checking for working vfork... (cached) yes
187
checking for stdlib.h... (cached) yes
188
checking for GNU libc compatible malloc... (cached) yes
189
checking for accept4... yes
190
checking for getaddrinfo... (cached) yes
191
checking for gettimeofday... yes
192
checking for inet_ntoa... yes
193
checking for memset... yes
194
checking for select... yes
195
checking for socket... yes
196
checking for strerror... (cached) yes
197
checking for strlcpy... no
198
checking for inline... inline
199
checking whether we are using the GNU C++ compiler... yes
200
checking whether arm-angstrom-linux-gnueabi-g++ accepts -g... yes
201
checking dependency style of arm-angstrom-linux-gnueabi-g++... gcc3
202
checking how to run the C++ preprocessor... arm-angstrom-linux-gnueabi-g++ -E
203
checking for ld used by arm-angstrom-linux-gnueabi-g++... /usr/local/oecore-i686/sysroots/i686-angstromsdk-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/ld
204
checking if the linker (/usr/local/oecore-i686/sysroots/i686-angstromsdk-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/ld) is GNU ld... yes
205
checking whether the arm-angstrom-linux-gnueabi-g++ linker (/usr/local/oecore-i686/sysroots/i686-angstromsdk-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/ld) supports shared libraries... yes
206
checking for arm-angstrom-linux-gnueabi-g++ option to produce PIC... -fPIC -DPIC
207
checking if arm-angstrom-linux-gnueabi-g++ PIC flag -fPIC -DPIC works... yes
208
checking if arm-angstrom-linux-gnueabi-g++ static flag -static works... no
209
checking if arm-angstrom-linux-gnueabi-g++ supports -c -o file.o... yes
210
checking if arm-angstrom-linux-gnueabi-g++ supports -c -o file.o... (cached) yes
211
checking whether the arm-angstrom-linux-gnueabi-g++ linker (/usr/local/oecore-i686/sysroots/i686-angstromsdk-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/ld) supports shared libraries... yes
212
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
213
checking how to hardcode library paths into programs... immediate
214
checking for int64_t... yes
215
checking for size_t... yes
216
checking for ssize_t... yes
217
checking for uint16_t... yes
218
checking for uint32_t... yes
219
checking for uint8_t... yes
220
checking winsock2.h usability... no
221
checking winsock2.h presence... no
222
checking for winsock2.h... no
223
checking whether TIOCSRS485 is declared... yes
224
checking whether TIOCM_RTS is declared... yes
225
configure: creating ./config.status
226
config.status: creating Makefile
227
config.status: creating src/Makefile
228
config.status: creating src/modbus-version.h
229
config.status: creating src/win32/modbus.dll.manifest
230
config.status: creating tests/Makefile
231
config.status: creating doc/Makefile
232
config.status: creating libmodbus.pc
233
config.status: creating config.h
234
config.status: creating tests/unit-test.h
235
config.status: executing depfiles commands
236
config.status: executing libtool commands
237

    
238
        libmodbus 3.1.4
239
        ===============
240

    
241
        prefix:                 /usr/local
242
        sysconfdir:             ${prefix}/etc
243
        libdir:                 ${exec_prefix}/lib
244
        includedir:             ${prefix}/include
245

    
246
        compiler:               arm-angstrom-linux-gnueabi-gcc -std=gnu99
247
        cflags:                  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/usr/local/oecore-i686/sysroots/armv5te-angstrom-linux-gnueabi
248
        ldflags:                 --sysroot=/usr/local/oecore-i686/sysroots/armv5te-angstrom-linux-gnueabi
249

    
250
        documentation:          no
251
        tests:                  yes
252

    
253
 $ make
254
/usr/bin/make --no-print-directory all-recursive
255
Making all in src
256
  CC     modbus.lo
257
  CC     modbus-data.lo
258
  CC     modbus-rtu.lo
259
  CC     modbus-tcp.lo
260
  CCLD   libmodbus.la
261
Making all in doc
262
make[2]: Nothing to be done for `all'.
263
Making all in tests
264
(CDPATH="${ZSH_VERSION+.}:" && cd .. && /bin/sh /home/jcormier/projects/l138/libmodbus/build-aux/missing --run autoheader)
265
rm -f stamp-h2
266
touch unit-test.h.in
267
cd .. && /bin/sh ./config.status tests/unit-test.h
268
config.status: creating tests/unit-test.h
269
config.status: tests/unit-test.h is unchanged
270
/usr/bin/make  all-am
271
  CC     bandwidth-server-one.o
272
  CC     bandwidth-server-many-up.o
273
  CC     bandwidth-client.o
274
  CC     random-test-client.o
275
  CC     random-test-server.o
276
  CC     unit-test-server.o
277
  CC     unit-test-client.o
278
  CC     version.o
279
  CCLD   bandwidth-server-one
280
  CCLD   bandwidth-client
281
  CCLD   random-test-server
282
  CCLD   unit-test-client
283
  CCLD   bandwidth-server-many-up
284
  CCLD   unit-test-server
285
  CCLD   random-test-client
286
  CCLD   version
287

    
288
real	0m4.725s
289
user	0m1.463s
290
sys	0m0.852s
291
 $ make install DESTDIR=$PWD/ARM
292
Making install in src
293
test -z "/usr/local/lib" || /bin/mkdir -p "/home/jcormier/projects/l138/libmodbus/ARM/usr/local/lib"
294
test -z "/usr/local/include/modbus" || /bin/mkdir -p "/home/jcormier/projects/l138/libmodbus/ARM/usr/local/include/modbus"
295
 ../arm-angstrom-linux-gnueabi-libtool   --mode=install /usr/bin/install -c   libmodbus.la '/home/jcormier/projects/l138/libmodbus/ARM/usr/local/lib'
296
 /usr/bin/install -c -m 644 modbus.h modbus-version.h modbus-rtu.h modbus-tcp.h '/home/jcormier/projects/l138/libmodbus/ARM/usr/local/include/modbus'
297
arm-angstrom-linux-gnueabi-libtool: install: /usr/bin/install -c .libs/libmodbus.so.5.1.0 /home/jcormier/projects/l138/libmodbus/ARM/usr/local/lib/libmodbus.so.5.1.0
298
arm-angstrom-linux-gnueabi-libtool: install: (cd /home/jcormier/projects/l138/libmodbus/ARM/usr/local/lib && { ln -s -f libmodbus.so.5.1.0 libmodbus.so.5 || { rm -f libmodbus.so.5 && ln -s libmodbus.so.5.1.0 libmodbus.so.5; }; })
299
arm-angstrom-linux-gnueabi-libtool: install: (cd /home/jcormier/projects/l138/libmodbus/ARM/usr/local/lib && { ln -s -f libmodbus.so.5.1.0 libmodbus.so || { rm -f libmodbus.so && ln -s libmodbus.so.5.1.0 libmodbus.so; }; })
300
arm-angstrom-linux-gnueabi-libtool: install: /usr/bin/install -c .libs/libmodbus.lai /home/jcormier/projects/l138/libmodbus/ARM/usr/local/lib/libmodbus.la
301
arm-angstrom-linux-gnueabi-libtool: install: warning: remember to run `arm-angstrom-linux-gnueabi-libtool --finish /usr/local/lib'
302
Making install in doc
303
make[2]: Nothing to be done for `install-exec-am'.
304
test -z "/usr/local/share/man/man3" || /bin/mkdir -p "/home/jcormier/projects/l138/libmodbus/ARM/usr/local/share/man/man3"
305
test -z "/usr/local/share/man/man7" || /bin/mkdir -p "/home/jcormier/projects/l138/libmodbus/ARM/usr/local/share/man/man7"
306
Making install in tests
307
make[2]: Nothing to be done for `install-exec-am'.
308
make[2]: Nothing to be done for `install-data-am'.
309
make[2]: Nothing to be done for `install-exec-am'.
310
test -z "/usr/local/share/doc/libmodbus" || /bin/mkdir -p "/home/jcormier/projects/l138/libmodbus/ARM/usr/local/share/doc/libmodbus"
311
test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p "/home/jcormier/projects/l138/libmodbus/ARM/usr/local/lib/pkgconfig"
312
 /usr/bin/install -c -m 644 libmodbus.pc '/home/jcormier/projects/l138/libmodbus/ARM/usr/local/lib/pkgconfig'
313
 /usr/bin/install -c -m 644 MIGRATION README.md '/home/jcormier/projects/l138/libmodbus/ARM/usr/local/share/doc/libmodbus'
314

    
315
real	0m1.502s
316
user	0m0.072s
317
sys	0m0.106s
318
 $ tree ARM/
319
ARM/
320
└── usr
321
    └── local
322
        ├── include
323
        │   └── modbus
324
        │       ├── modbus.h
325
        │       ├── modbus-rtu.h
326
        │       ├── modbus-tcp.h
327
        │       └── modbus-version.h
328
        ├── lib
329
        │   ├── libmodbus.la
330
        │   ├── libmodbus.so -> libmodbus.so.5.1.0
331
        │   ├── libmodbus.so.5 -> libmodbus.so.5.1.0
332
        │   ├── libmodbus.so.5.1.0
333
        │   └── pkgconfig
334
        │       └── libmodbus.pc
335
        └── share
336
            ├── doc
337
            │   └── libmodbus
338
            │       ├── MIGRATION
339
            │       └── README.md
340
            └── man
341
                ├── man3
342
                └── man7
343

    
344
12 directories, 11 files
    (1-1/1)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)