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

Invoked as: /usr/ports/pobj/jim-0.72/jimtcl/configure 
Failed: cc -O2 -pipe -c conftest__.c -o conftest__.o
conftest__.c:2:25: error: crt_externs.h: No such file or directory
child process exited abnormally
============
The failed code was:
#include <sys/types.h>
#include <crt_externs.h>
int main(void) {

return 0;
}
============
Failed: cc -O2 -pipe conftest__.c -o conftest__
conftest__.c:2: error: conflicting types for 'select'
/usr/include/sys/select.h:91: error: previous declaration of 'select' was here
child process exited abnormally
============
The failed code was:
#include <sys/types.h>
extern void select(void);
int main(void) {
select();
return 0;
}
============
Failed: cc -O2 -pipe conftest__.c -o conftest__
/tmp//ccLKlTpW.o(.text+0x5): In function `main':
: undefined reference to `backtrace'
collect2: ld returned 1 exit status
child process exited abnormally
============
The failed code was:
#include <sys/types.h>
extern void backtrace(void);
int main(void) {
backtrace();
return 0;
}
============
Failed: cc -O2 -pipe conftest__.c -o conftest__
conftest__.c:2: error: conflicting types for 'strptime'
/usr/include/time.h:115: error: previous declaration of 'strptime' was here
child process exited abnormally
============
The failed code was:
#include <sys/types.h>
extern void strptime(void);
int main(void) {
strptime();
return 0;
}
============
Failed: cc -O2 -pipe conftest__.c -o conftest__
conftest__.c:2: error: conflicting types for 'gettimeofday'
/usr/include/sys/time.h:360: error: previous declaration of 'gettimeofday' was here
child process exited abnormally
============
The failed code was:
#include <sys/types.h>
extern void gettimeofday(void);
int main(void) {
gettimeofday();
return 0;
}
============
Failed: cc -O2 -pipe conftest__.c -o conftest__
conftest__.c:2: error: conflicting types for 'utimes'
/usr/include/sys/time.h:363: error: previous declaration of 'utimes' was here
child process exited abnormally
============
The failed code was:
#include <sys/types.h>
extern void utimes(void);
int main(void) {
utimes();
return 0;
}
============
Failed: cc -O2 -pipe conftest__.c -o conftest__
/tmp//cckk0KDe.o(.text+0x5): In function `main':
: undefined reference to `sysinfo'
collect2: ld returned 1 exit status
child process exited abnormally
============
The failed code was:
#include <sys/types.h>
extern void sysinfo(void);
int main(void) {
sysinfo();
return 0;
}
============
Failed: cc -O2 -pipe conftest__.c -o conftest__
/tmp//ccF7mFDk.o(.text+0x5): In function `main':
: undefined reference to `_NSGetEnviron'
collect2: ld returned 1 exit status
child process exited abnormally
============
The failed code was:
#include <sys/types.h>
extern void _NSGetEnviron(void);
int main(void) {
_NSGetEnviron();
return 0;
}
============
Failed: cc -O2 -pipe -c -D_GNU_SOURCE conftest__.c -o conftest__.o
conftest__.c: In function 'main':
conftest__.c:4: error: 'environ' undeclared (first use in this function)
conftest__.c:4: error: (Each undeclared identifier is reported only once
conftest__.c:4: error: for each function it appears in.)
child process exited abnormally
============
The failed code was:
#include <sys/types.h>
#include <unistd.h>
int main(void) {
char **ep = environ;
return 0;
}
============
Failed: cc -O2 -pipe -c conftest__.c -o conftest__.o
conftest__.c: In function 'main':
conftest__.c:5: error: too few arguments to function 'mkdir'
child process exited abnormally
============
The failed code was:
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
int main(void) {
mkdir("/dummy");
return 0;
}
============