Posted to tcl by Stu at Tue Nov 08 06:09:30 GMT 2011view raw

  1. Invoked as: /usr/ports/pobj/jim-0.72/jimtcl/configure
  2. Failed: cc -O2 -pipe -c conftest__.c -o conftest__.o
  3. conftest__.c:2:25: error: crt_externs.h: No such file or directory
  4. child process exited abnormally
  5. ============
  6. The failed code was:
  7. #include <sys/types.h>
  8. #include <crt_externs.h>
  9. int main(void) {
  10.  
  11. return 0;
  12. }
  13. ============
  14. Failed: cc -O2 -pipe conftest__.c -o conftest__
  15. conftest__.c:2: error: conflicting types for 'select'
  16. /usr/include/sys/select.h:91: error: previous declaration of 'select' was here
  17. child process exited abnormally
  18. ============
  19. The failed code was:
  20. #include <sys/types.h>
  21. extern void select(void);
  22. int main(void) {
  23. select();
  24. return 0;
  25. }
  26. ============
  27. Failed: cc -O2 -pipe conftest__.c -o conftest__
  28. /tmp//ccLKlTpW.o(.text+0x5): In function `main':
  29. : undefined reference to `backtrace'
  30. collect2: ld returned 1 exit status
  31. child process exited abnormally
  32. ============
  33. The failed code was:
  34. #include <sys/types.h>
  35. extern void backtrace(void);
  36. int main(void) {
  37. backtrace();
  38. return 0;
  39. }
  40. ============
  41. Failed: cc -O2 -pipe conftest__.c -o conftest__
  42. conftest__.c:2: error: conflicting types for 'strptime'
  43. /usr/include/time.h:115: error: previous declaration of 'strptime' was here
  44. child process exited abnormally
  45. ============
  46. The failed code was:
  47. #include <sys/types.h>
  48. extern void strptime(void);
  49. int main(void) {
  50. strptime();
  51. return 0;
  52. }
  53. ============
  54. Failed: cc -O2 -pipe conftest__.c -o conftest__
  55. conftest__.c:2: error: conflicting types for 'gettimeofday'
  56. /usr/include/sys/time.h:360: error: previous declaration of 'gettimeofday' was here
  57. child process exited abnormally
  58. ============
  59. The failed code was:
  60. #include <sys/types.h>
  61. extern void gettimeofday(void);
  62. int main(void) {
  63. gettimeofday();
  64. return 0;
  65. }
  66. ============
  67. Failed: cc -O2 -pipe conftest__.c -o conftest__
  68. conftest__.c:2: error: conflicting types for 'utimes'
  69. /usr/include/sys/time.h:363: error: previous declaration of 'utimes' was here
  70. child process exited abnormally
  71. ============
  72. The failed code was:
  73. #include <sys/types.h>
  74. extern void utimes(void);
  75. int main(void) {
  76. utimes();
  77. return 0;
  78. }
  79. ============
  80. Failed: cc -O2 -pipe conftest__.c -o conftest__
  81. /tmp//cckk0KDe.o(.text+0x5): In function `main':
  82. : undefined reference to `sysinfo'
  83. collect2: ld returned 1 exit status
  84. child process exited abnormally
  85. ============
  86. The failed code was:
  87. #include <sys/types.h>
  88. extern void sysinfo(void);
  89. int main(void) {
  90. sysinfo();
  91. return 0;
  92. }
  93. ============
  94. Failed: cc -O2 -pipe conftest__.c -o conftest__
  95. /tmp//ccF7mFDk.o(.text+0x5): In function `main':
  96. : undefined reference to `_NSGetEnviron'
  97. collect2: ld returned 1 exit status
  98. child process exited abnormally
  99. ============
  100. The failed code was:
  101. #include <sys/types.h>
  102. extern void _NSGetEnviron(void);
  103. int main(void) {
  104. _NSGetEnviron();
  105. return 0;
  106. }
  107. ============
  108. Failed: cc -O2 -pipe -c -D_GNU_SOURCE conftest__.c -o conftest__.o
  109. conftest__.c: In function 'main':
  110. conftest__.c:4: error: 'environ' undeclared (first use in this function)
  111. conftest__.c:4: error: (Each undeclared identifier is reported only once
  112. conftest__.c:4: error: for each function it appears in.)
  113. child process exited abnormally
  114. ============
  115. The failed code was:
  116. #include <sys/types.h>
  117. #include <unistd.h>
  118. int main(void) {
  119. char **ep = environ;
  120. return 0;
  121. }
  122. ============
  123. Failed: cc -O2 -pipe -c conftest__.c -o conftest__.o
  124. conftest__.c: In function 'main':
  125. conftest__.c:5: error: too few arguments to function 'mkdir'
  126. child process exited abnormally
  127. ============
  128. The failed code was:
  129. #include <sys/types.h>
  130. #include <sys/types.h>
  131. #include <sys/stat.h>
  132. int main(void) {
  133. mkdir("/dummy");
  134. return 0;
  135. }
  136. ============
  137.