forked from jabastien/ntripcaster2
-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.log
1996 lines (1973 loc) · 59.5 KB
/
config.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --prefix=/opt/ntripcaster2
## --------- ##
## Platform. ##
## --------- ##
hostname = zhanghairong-OptiPlex-7080
uname -m = x86_64
uname -r = 5.4.0-105-generic
uname -s = Linux
uname -v = #119~18.04.1-Ubuntu SMP Tue Mar 8 11:21:24 UTC 2022
/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/ros/melodic/bin
PATH: /usr/local/cuda/bin
PATH: /home/zhanghairong/anaconda3/condabin
PATH: /home/zhanghairong/.local/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
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2274: checking for a BSD-compatible install
configure:2342: result: /usr/bin/install -c
configure:2353: checking whether build environment is sane
configure:2408: result: yes
configure:2559: checking for a thread-safe mkdir -p
configure:2598: result: /bin/mkdir -p
configure:2605: checking for gawk
configure:2635: result: no
configure:2605: checking for mawk
configure:2621: found /usr/bin/mawk
configure:2632: result: mawk
configure:2643: checking whether make sets $(MAKE)
configure:2665: result: yes
configure:2747: checking whether to enable maintainer-specific portions of Makefiles
configure:2756: result: no
configure:2911: checking for ranlib
configure:2927: found /usr/bin/ranlib
configure:2938: result: ranlib
configure:3009: checking for gcc
configure:3025: found /usr/bin/gcc
configure:3036: result: gcc
configure:3265: checking for C compiler version
configure:3274: gcc --version >&5
gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 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:3285: $? = 0
configure:3274: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
configure:3285: $? = 0
configure:3274: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3285: $? = 1
configure:3274: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3285: $? = 1
configure:3305: checking whether the C compiler works
configure:3327: gcc conftest.c >&5
configure:3331: $? = 0
configure:3379: result: yes
configure:3382: checking for C compiler default output file name
configure:3384: result: a.out
configure:3390: checking for suffix of executables
configure:3397: gcc -o conftest conftest.c >&5
configure:3401: $? = 0
configure:3423: result:
configure:3445: checking whether we are cross compiling
configure:3453: gcc -o conftest conftest.c >&5
configure:3457: $? = 0
configure:3464: ./conftest
configure:3468: $? = 0
configure:3483: result: no
configure:3488: checking for suffix of object files
configure:3510: gcc -c conftest.c >&5
configure:3514: $? = 0
configure:3535: result: o
configure:3539: checking whether we are using the GNU C compiler
configure:3558: gcc -c conftest.c >&5
configure:3558: $? = 0
configure:3567: result: yes
configure:3576: checking whether gcc accepts -g
configure:3596: gcc -c -g conftest.c >&5
configure:3596: $? = 0
configure:3637: result: yes
configure:3654: checking for gcc option to accept ISO C89
configure:3718: gcc -c -g -O2 conftest.c >&5
configure:3718: $? = 0
configure:3731: result: none needed
configure:3762: checking for style of include used by make
configure:3790: result: GNU
configure:3816: checking dependency style of gcc
configure:3927: result: gcc3
configure:3949: checking for uname
configure:3965: found /bin/uname
configure:3976: result: uname
configure:3992: checking how to run the C preprocessor
configure:4023: gcc -E conftest.c
configure:4023: $? = 0
configure:4037: gcc -E conftest.c
conftest.c:16:10: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4037: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "ntripcaster"
| #define VERSION "2.0.21"
| #define VERSION "2.0.21"
| #define NTRIPCASTER_ETCDIR "conf"
| #define NTRIPCASTER_LOGDIR "logs"
| #define NTRIPCASTER_VARDIR "var"
| #define NTRIPCASTER_TEMPLATEDIR "templates"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4062: result: gcc -E
configure:4082: gcc -E conftest.c
configure:4082: $? = 0
configure:4096: gcc -E conftest.c
conftest.c:16:10: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4096: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "ntripcaster"
| #define VERSION "2.0.21"
| #define VERSION "2.0.21"
| #define NTRIPCASTER_ETCDIR "conf"
| #define NTRIPCASTER_LOGDIR "logs"
| #define NTRIPCASTER_VARDIR "var"
| #define NTRIPCASTER_TEMPLATEDIR "templates"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4125: checking for grep that handles long lines and -e
configure:4183: result: /bin/grep
configure:4188: checking for egrep
configure:4250: result: /bin/grep -E
configure:4255: checking for ANSI C header files
configure:4275: gcc -c -g -O2 -Wall conftest.c >&5
configure:4275: $? = 0
configure:4348: gcc -o conftest -g -O2 -Wall conftest.c >&5
configure:4348: $? = 0
configure:4348: ./conftest
configure:4348: $? = 0
configure:4359: result: yes
configure:4372: checking for sys/types.h
configure:4372: gcc -c -g -O2 -Wall conftest.c >&5
configure:4372: $? = 0
configure:4372: result: yes
configure:4372: checking for sys/stat.h
configure:4372: gcc -c -g -O2 -Wall conftest.c >&5
configure:4372: $? = 0
configure:4372: result: yes
configure:4372: checking for stdlib.h
configure:4372: gcc -c -g -O2 -Wall conftest.c >&5
configure:4372: $? = 0
configure:4372: result: yes
configure:4372: checking for string.h
configure:4372: gcc -c -g -O2 -Wall conftest.c >&5
configure:4372: $? = 0
configure:4372: result: yes
configure:4372: checking for memory.h
configure:4372: gcc -c -g -O2 -Wall conftest.c >&5
configure:4372: $? = 0
configure:4372: result: yes
configure:4372: checking for strings.h
configure:4372: gcc -c -g -O2 -Wall conftest.c >&5
configure:4372: $? = 0
configure:4372: result: yes
configure:4372: checking for inttypes.h
configure:4372: gcc -c -g -O2 -Wall conftest.c >&5
configure:4372: $? = 0
configure:4372: result: yes
configure:4372: checking for stdint.h
configure:4372: gcc -c -g -O2 -Wall conftest.c >&5
configure:4372: $? = 0
configure:4372: result: yes
configure:4372: checking for unistd.h
configure:4372: gcc -c -g -O2 -Wall conftest.c >&5
configure:4372: $? = 0
configure:4372: result: yes
configure:4385: checking minix/config.h usability
configure:4385: gcc -c -g -O2 -Wall conftest.c >&5
conftest.c:59:10: fatal error: minix/config.h: No such file or directory
#include <minix/config.h>
^~~~~~~~~~~~~~~~
compilation terminated.
configure:4385: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "ntripcaster"
| #define VERSION "2.0.21"
| #define VERSION "2.0.21"
| #define NTRIPCASTER_ETCDIR "conf"
| #define NTRIPCASTER_LOGDIR "logs"
| #define NTRIPCASTER_VARDIR "var"
| #define NTRIPCASTER_TEMPLATEDIR "templates"
| #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
| /* 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 <minix/config.h>
configure:4385: result: no
configure:4385: checking minix/config.h presence
configure:4385: gcc -E conftest.c
conftest.c:26:10: fatal error: minix/config.h: No such file or directory
#include <minix/config.h>
^~~~~~~~~~~~~~~~
compilation terminated.
configure:4385: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "ntripcaster"
| #define VERSION "2.0.21"
| #define VERSION "2.0.21"
| #define NTRIPCASTER_ETCDIR "conf"
| #define NTRIPCASTER_LOGDIR "logs"
| #define NTRIPCASTER_VARDIR "var"
| #define NTRIPCASTER_TEMPLATEDIR "templates"
| #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
| /* end confdefs.h. */
| #include <minix/config.h>
configure:4385: result: no
configure:4385: checking for minix/config.h
configure:4385: result: no
configure:4406: checking whether it is safe to define __EXTENSIONS__
configure:4424: gcc -c -g -O2 -Wall conftest.c >&5
configure:4424: $? = 0
configure:4431: result: yes
configure:4445: checking for library containing strerror
configure:4476: gcc -o conftest -g -O2 -Wall conftest.c >&5
configure:4476: $? = 0
configure:4493: result: none required
configure:4502: checking your OS
configure:4512: result: Linux
configure:4612: checking for socket
configure:4612: gcc -o conftest -g -O2 -Wall conftest.c >&5
configure:4612: $? = 0
configure:4612: result: yes
configure:4674: checking for connect
configure:4674: gcc -o conftest -g -O2 -Wall conftest.c >&5
configure:4674: $? = 0
configure:4674: result: yes
configure:4736: checking for log
configure:4736: gcc -o conftest -g -O2 -Wall conftest.c >&5
conftest.c:57:6: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch]
char log ();
^~~
/tmp/ccTwofsb.o: In function `main':
/home/zhanghairong/projects/ntripcaster2/conftest.c:68: undefined reference to `log'
collect2: error: ld returned 1 exit status
configure:4736: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "ntripcaster"
| #define VERSION "2.0.21"
| #define VERSION "2.0.21"
| #define NTRIPCASTER_ETCDIR "conf"
| #define NTRIPCASTER_LOGDIR "logs"
| #define NTRIPCASTER_VARDIR "var"
| #define NTRIPCASTER_TEMPLATEDIR "templates"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define LINUX /**/
| #define HAVE_SOCKET 1
| #define HAVE_CONNECT 1
| /* end confdefs.h. */
| /* Define log to an innocuous variant, in case <limits.h> declares log.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define log innocuous_log
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char log (); 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 log
|
| /* 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 log ();
| /* 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_log || defined __stub___log
| choke me
| #endif
|
| int
| main ()
| {
| return log ();
| ;
| return 0;
| }
configure:4736: result: no
configure:4749: checking for log in -lm
configure:4774: gcc -o conftest -g -O2 -Wall conftest.c -lm >&5
conftest.c:41:6: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch]
char log ();
^~~
configure:4774: $? = 0
configure:4784: result: yes
configure:4800: checking for gethostbyname
configure:4800: gcc -o conftest -g -O2 -Wall conftest.c -lm >&5
configure:4800: $? = 0
configure:4800: result: yes
configure:4861: checking for nanosleep
configure:4861: gcc -o conftest -g -O2 -Wall conftest.c -lm >&5
configure:4861: $? = 0
configure:4861: result: yes
configure:4951: checking for poll
configure:4951: gcc -o conftest -g -O2 -Wall conftest.c -lm >&5
configure:4951: $? = 0
configure:4951: result: yes
configure:4963: checking poll.h usability
configure:4963: gcc -c -g -O2 -Wall conftest.c >&5
configure:4963: $? = 0
configure:4963: result: yes
configure:4963: checking poll.h presence
configure:4963: gcc -E conftest.c
configure:4963: $? = 0
configure:4963: result: yes
configure:4963: checking for poll.h
configure:4963: result: yes
configure:4963: checking sys/poll.h usability
configure:4963: gcc -c -g -O2 -Wall conftest.c >&5
configure:4963: $? = 0
configure:4963: result: yes
configure:4963: checking sys/poll.h presence
configure:4963: gcc -E conftest.c
configure:4963: $? = 0
configure:4963: result: yes
configure:4963: checking for sys/poll.h
configure:4963: result: yes
configure:5126: checking whether to use libwrap
configure:5214: result: no
configure:5292: checking whether to use crypted passwords
configure:5303: result: yes
configure:5305: checking for crypt in -lcrypt
configure:5330: gcc -o conftest -g -O2 -Wall conftest.c -lcrypt -lm >&5
configure:5330: $? = 0
configure:5339: result: yes
configure:5360: checking for pthread functions in standard libraries
configure:5373: gcc -o conftest -g -O2 -Wall conftest.c -lm >&5
conftest.c: In function 'main':
conftest.c:45:1: warning: implicit declaration of function 'pthread_create' [-Wimplicit-function-declaration]
pthread_create();
^~~~~~~~~~~~~~
/tmp/ccWfbAPv.o: In function `main':
/home/zhanghairong/projects/ntripcaster2/conftest.c:45: undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
configure:5373: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "ntripcaster"
| #define VERSION "2.0.21"
| #define VERSION "2.0.21"
| #define NTRIPCASTER_ETCDIR "conf"
| #define NTRIPCASTER_LOGDIR "logs"
| #define NTRIPCASTER_VARDIR "var"
| #define NTRIPCASTER_TEMPLATEDIR "templates"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define LINUX /**/
| #define HAVE_SOCKET 1
| #define HAVE_CONNECT 1
| #define HAVE_LIBM 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_POLL 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define USE_CRYPT /**/
| /* end confdefs.h. */
|
| int
| main ()
| {
| pthread_create();
| ;
| return 0;
| }
configure:5377: result: no
configure:5410: checking for pthread_create in -lpthread
configure:5435: gcc -o conftest -g -O2 -Wall conftest.c -lpthread -lm >&5
configure:5435: $? = 0
configure:5445: result: yes
configure:5622: gcc -c -g -O2 -Wall conftest.c >&5
conftest.c: In function 'main':
conftest.c:45:5: warning: unused variable 'foo' [-Wunused-variable]
int foo = LOG_DAEMON;
^~~
configure:5622: $? = 0
configure:5631: checking for ANSI C header files
configure:5735: result: yes
configure:5743: checking for sys/wait.h that is POSIX.1 compatible
configure:5769: gcc -c -g -O2 -Wall conftest.c >&5
configure:5769: $? = 0
configure:5776: result: yes
configure:5787: checking for dirent.h that defines DIR
configure:5806: gcc -c -g -O2 -Wall conftest.c >&5
configure:5806: $? = 0
configure:5814: result: yes
configure:5827: checking for library containing opendir
configure:5858: gcc -o conftest -g -O2 -Wall conftest.c -lm -lpthread >&5
configure:5858: $? = 0
configure:5875: result: none required
configure:5945: checking fcntl.h usability
configure:5945: gcc -c -g -O2 -Wall conftest.c >&5
configure:5945: $? = 0
configure:5945: result: yes
configure:5945: checking fcntl.h presence
configure:5945: gcc -E conftest.c
configure:5945: $? = 0
configure:5945: result: yes
configure:5945: checking for fcntl.h
configure:5945: result: yes
configure:5945: checking sys/time.h usability
configure:5945: gcc -c -g -O2 -Wall conftest.c >&5
configure:5945: $? = 0
configure:5945: result: yes
configure:5945: checking sys/time.h presence
configure:5945: gcc -E conftest.c
configure:5945: $? = 0
configure:5945: result: yes
configure:5945: checking for sys/time.h
configure:5945: result: yes
configure:5945: checking for unistd.h
configure:5945: result: yes
configure:5945: checking sys/soundcard.h usability
configure:5945: gcc -c -g -O2 -Wall conftest.c >&5
configure:5945: $? = 0
configure:5945: result: yes
configure:5945: checking sys/soundcard.h presence
configure:5945: gcc -E conftest.c
configure:5945: $? = 0
configure:5945: result: yes
configure:5945: checking for sys/soundcard.h
configure:5945: result: yes
configure:5945: checking machine/soundcard.h usability
configure:5945: gcc -c -g -O2 -Wall conftest.c >&5
conftest.c:81:10: fatal error: machine/soundcard.h: No such file or directory
#include <machine/soundcard.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
configure:5945: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "ntripcaster"
| #define VERSION "2.0.21"
| #define VERSION "2.0.21"
| #define NTRIPCASTER_ETCDIR "conf"
| #define NTRIPCASTER_LOGDIR "logs"
| #define NTRIPCASTER_VARDIR "var"
| #define NTRIPCASTER_TEMPLATEDIR "templates"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define LINUX /**/
| #define HAVE_SOCKET 1
| #define HAVE_CONNECT 1
| #define HAVE_LIBM 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_POLL 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define USE_CRYPT /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOUNDCARD_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
| #include <machine/soundcard.h>
configure:5945: result: no
configure:5945: checking machine/soundcard.h presence
configure:5945: gcc -E conftest.c
conftest.c:48:10: fatal error: machine/soundcard.h: No such file or directory
#include <machine/soundcard.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
configure:5945: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "ntripcaster"
| #define VERSION "2.0.21"
| #define VERSION "2.0.21"
| #define NTRIPCASTER_ETCDIR "conf"
| #define NTRIPCASTER_LOGDIR "logs"
| #define NTRIPCASTER_VARDIR "var"
| #define NTRIPCASTER_TEMPLATEDIR "templates"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define LINUX /**/
| #define HAVE_SOCKET 1
| #define HAVE_CONNECT 1
| #define HAVE_LIBM 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_POLL 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define USE_CRYPT /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOUNDCARD_H 1
| /* end confdefs.h. */
| #include <machine/soundcard.h>
configure:5945: result: no
configure:5945: checking for machine/soundcard.h
configure:5945: result: no
configure:5945: checking pthread.h usability
configure:5945: gcc -c -g -O2 -Wall conftest.c >&5
configure:5945: $? = 0
configure:5945: result: yes
configure:5945: checking pthread.h presence
configure:5945: gcc -E conftest.c
configure:5945: $? = 0
configure:5945: result: yes
configure:5945: checking for pthread.h
configure:5945: result: yes
configure:5945: checking assert.h usability
configure:5945: gcc -c -g -O2 -Wall conftest.c >&5
configure:5945: $? = 0
configure:5945: result: yes
configure:5945: checking assert.h presence
configure:5945: gcc -E conftest.c
configure:5945: $? = 0
configure:5945: result: yes
configure:5945: checking for assert.h
configure:5945: result: yes
configure:5945: checking sys/resource.h usability
configure:5945: gcc -c -g -O2 -Wall conftest.c >&5
configure:5945: $? = 0
configure:5945: result: yes
configure:5945: checking sys/resource.h presence
configure:5945: gcc -E conftest.c
configure:5945: $? = 0
configure:5945: result: yes
configure:5945: checking for sys/resource.h
configure:5945: result: yes
configure:5945: checking math.h usability
configure:5945: gcc -c -g -O2 -Wall conftest.c >&5
configure:5945: $? = 0
configure:5945: result: yes
configure:5945: checking math.h presence
configure:5945: gcc -E conftest.c
configure:5945: $? = 0
configure:5945: result: yes
configure:5945: checking for math.h
configure:5945: result: yes
configure:5945: checking signal.h usability
configure:5945: gcc -c -g -O2 -Wall conftest.c >&5
configure:5945: $? = 0
configure:5945: result: yes
configure:5945: checking signal.h presence
configure:5945: gcc -E conftest.c
configure:5945: $? = 0
configure:5945: result: yes
configure:5945: checking for signal.h
configure:5945: result: yes
configure:5945: checking sys/signal.h usability
configure:5945: gcc -c -g -O2 -Wall conftest.c >&5
configure:5945: $? = 0
configure:5945: result: yes
configure:5945: checking sys/signal.h presence
configure:5945: gcc -E conftest.c
configure:5945: $? = 0
configure:5945: result: yes
configure:5945: checking for sys/signal.h
configure:5945: result: yes
configure:5945: checking mcheck.h usability
configure:5945: gcc -c -g -O2 -Wall conftest.c >&5
configure:5945: $? = 0
configure:5945: result: yes
configure:5945: checking mcheck.h presence
configure:5945: gcc -E conftest.c
configure:5945: $? = 0
configure:5945: result: yes
configure:5945: checking for mcheck.h
configure:5945: result: yes
configure:5945: checking malloc.h usability
configure:5945: gcc -c -g -O2 -Wall conftest.c >&5
configure:5945: $? = 0
configure:5945: result: yes
configure:5945: checking malloc.h presence
configure:5945: gcc -E conftest.c
configure:5945: $? = 0
configure:5945: result: yes
configure:5945: checking for malloc.h
configure:5945: result: yes
configure:5945: checking history.h usability
configure:5945: gcc -c -g -O2 -Wall conftest.c >&5
conftest.c:89:10: fatal error: history.h: No such file or directory
#include <history.h>
^~~~~~~~~~~
compilation terminated.
configure:5945: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "ntripcaster"
| #define VERSION "2.0.21"
| #define VERSION "2.0.21"
| #define NTRIPCASTER_ETCDIR "conf"
| #define NTRIPCASTER_LOGDIR "logs"
| #define NTRIPCASTER_VARDIR "var"
| #define NTRIPCASTER_TEMPLATEDIR "templates"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define LINUX /**/
| #define HAVE_SOCKET 1
| #define HAVE_CONNECT 1
| #define HAVE_LIBM 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_POLL 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define USE_CRYPT /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOUNDCARD_H 1
| #define HAVE_PTHREAD_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_SIGNAL_H 1
| #define HAVE_MCHECK_H 1
| #define HAVE_MALLOC_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
| #include <history.h>
configure:5945: result: no
configure:5945: checking history.h presence
configure:5945: gcc -E conftest.c
conftest.c:56:10: fatal error: history.h: No such file or directory
#include <history.h>
^~~~~~~~~~~
compilation terminated.
configure:5945: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "ntripcaster"
| #define VERSION "2.0.21"
| #define VERSION "2.0.21"
| #define NTRIPCASTER_ETCDIR "conf"
| #define NTRIPCASTER_LOGDIR "logs"
| #define NTRIPCASTER_VARDIR "var"
| #define NTRIPCASTER_TEMPLATEDIR "templates"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define LINUX /**/
| #define HAVE_SOCKET 1
| #define HAVE_CONNECT 1
| #define HAVE_LIBM 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_POLL 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define USE_CRYPT /**/
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOUNDCARD_H 1
| #define HAVE_PTHREAD_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_SIGNAL_H 1
| #define HAVE_MCHECK_H 1
| #define HAVE_MALLOC_H 1
| /* end confdefs.h. */
| #include <history.h>
configure:5945: result: no
configure:5945: checking for history.h
configure:5945: result: no
configure:5945: checking Python.h usability