Hello All,

Not sure if this means anything but I peaked at config.log after
building fossil from source:

FreeBSD 10.2-release:

% cat config.log
Invoked as: ./configure --with-openssl=/usr/local/bin/openssl
Failed: cc -g -O2 conftest__.c -o conftest__
/tmp/conftest__-f2b4ed.o: In function `main':
/home/sean/fossil-repos/fossil/conftest__.c:3: undefined reference to
`inflateEnd'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
child process exited abnormally
============
The failed code was:
extern void inflateEnd(void);
int main(void) {
inflateEnd();
return 0;
}
============
Failed: cc -g -O2 conftest__.c -o conftest__
/tmp/conftest__-64aa69.o: In function `main':
/home/sean/fossil-repos/fossil/conftest__.c:3: undefined reference to
`getpassphrase'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
child process exited abnormally
============
The failed code was:
extern void getpassphrase(void);
int main(void) {
getpassphrase();
return 0;
}
============
Failed: cc -g -O2 conftest__.c -o conftest__
conftest__.c:1:13: warning: incompatible redeclaration of library
function 'sin' [-Wincompatible-library-redeclaration]
extern void sin(void);
            ^
conftest__.c:1:13: note: 'sin' is a builtin with type 'double (double)'
1 warning generated.
/tmp/conftest__-067203.o: In function `main':
/home/sean/fossil-repos/fossil/conftest__.c:3: undefined reference to `sin'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
child process exited abnormally
============
The failed code was:
extern void sin(void);
int main(void) {
sin();
return 0;
}
============
Failed: cc -g -O2 conftest__.c -o conftest__
/tmp/conftest__-7ec391.o: In function `main':
/home/sean/fossil-repos/fossil/conftest__.c:3: undefined reference to
`fuse_mount'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
child process exited abnormally
============
The failed code was:
extern void fuse_mount(void);
int main(void) {
fuse_mount();
return 0;
}
============
Failed: cc -g -O2 conftest__.c -o conftest__ -lfuse
/usr/bin/ld: cannot find -lfuse
cc: error: linker command failed with exit code 1 (use -v to see invocation)
child process exited abnormally
============
The failed code was:
extern void fuse_mount(void);
int main(void) {
fuse_mount();
return 0;
}
============




Below is from an openBSD snapshot on the 18th of October for the
octeon processor:

# cat config.log
Invoked as: ./configure
Failed: cc -g -O2 conftest__.c -o conftest__
/usr/bin/ld: Dwarf Error: found dwarf version '0', this reader only
handles version 2 information.
/tmp//ccy5EMOh.o: In function `main':
conftest__.c:(.text+0x18): undefined reference to `inflateEnd'
conftest__.c:(.text+0x1c): undefined reference to `inflateEnd'
collect2: ld returned 1 exit status
============
The failed code was:
extern void inflateEnd(void);
int main(void) {
inflateEnd();
return 0;
}
============
Failed: cc -g -O2 conftest__.c -o conftest__
/usr/bin/ld: Dwarf Error: found dwarf version '0', this reader only
handles version 2 information.
/tmp//cc8lCLHD.o: In function `main':
conftest__.c:(.text+0x18): undefined reference to `iconv'
conftest__.c:(.text+0x1c): undefined reference to `iconv'
collect2: ld returned 1 exit status
============
The failed code was:
extern void iconv(void);
int main(void) {
iconv();
return 0;
}
============
Failed: cc -g -O2 conftest__.c -o conftest__ -liconv
/usr/bin/ld: cannot find -liconv
collect2: ld returned 1 exit status
============
The failed code was:
extern void iconv(void);
int main(void) {
iconv();
return 0;
}
============
Failed: cc -g -O2 conftest__.c -o conftest__
/usr/bin/ld: Dwarf Error: found dwarf version '0', this reader only
handles version 2 information.
/tmp//ccBaPfcX.o: In function `main':
conftest__.c:(.text+0x18): undefined reference to `strchrnul'
conftest__.c:(.text+0x1c): undefined reference to `strchrnul'
collect2: ld returned 1 exit status
============
The failed code was:
extern void strchrnul(void);
int main(void) {
strchrnul();
return 0;
}
============
Failed: cc -g -O2 conftest__.c -o conftest__
/usr/bin/ld: Dwarf Error: found dwarf version '0', this reader only
handles version 2 information.
/tmp//cc7GmaMZ.o: In function `main':
conftest__.c:(.text+0x18): undefined reference to `getpassphrase'
conftest__.c:(.text+0x1c): undefined reference to `getpassphrase'
collect2: ld returned 1 exit status
============
The failed code was:
extern void getpassphrase(void);
int main(void) {
getpassphrase();
return 0;
}
============
Failed: cc -g -O2 conftest__.c -o conftest__
conftest__.c:1: warning: conflicting types for built-in function 'sin'
/usr/bin/ld: Dwarf Error: found dwarf version '0', this reader only
handles version 2 information.
/tmp//ccKfyeCE.o: In function `main':
conftest__.c:(.text+0x18): undefined reference to `sin'
conftest__.c:(.text+0x1c): undefined reference to `sin'
collect2: ld returned 1 exit status
============
The failed code was:
extern void sin(void);
int main(void) {
sin();
return 0;
}
============
Failed: cc -g -O2 conftest__.c -o conftest__
/usr/bin/ld: Dwarf Error: found dwarf version '0', this reader only
handles version 2 information.
/tmp//ccHKD8Uw.o: In function `main':
conftest__.c:(.text+0x18): undefined reference to `fuse_mount'
conftest__.c:(.text+0x1c): undefined reference to `fuse_mount'
collect2: ld returned 1 exit status
============
The failed code was:
extern void fuse_mount(void);
int main(void) {
fuse_mount();
return 0;
}
============


Some ubuntu derivative:
Invoked as: ./configure
Failed: ccache cc -g -O2 conftest__.c -o conftest__
/tmp/ccRaldxr.o: In function `main':
/home/sean/fossil/conftest__.c:3: undefined reference to `inflateEnd'
collect2: error: ld returned 1 exit status
child process exited abnormally
============
The failed code was:
extern void inflateEnd(void);
int main(void) {
inflateEnd();
return 0;
}
============
Failed: ccache cc -g -O2 conftest__.c -o conftest__
/tmp/cckaz1fq.o: In function `main':
/home/sean/fossil/conftest__.c:3: undefined reference to `getpassphrase'
collect2: error: ld returned 1 exit status
child process exited abnormally
============
The failed code was:
extern void getpassphrase(void);
int main(void) {
getpassphrase();
return 0;
}
============
Failed: ccache cc -g -O2 conftest__.c -o conftest__
/tmp/cczDVrWt.o: In function `main':
/home/sean/fossil/conftest__.c:3: undefined reference to `dlopen'
collect2: error: ld returned 1 exit status
child process exited abnormally
============
The failed code was:
extern void dlopen(void);
int main(void) {
dlopen();
return 0;
}
============
Failed: ccache cc -g -O2 conftest__.c -o conftest__
conftest__.c:1:13: warning: conflicting types for built-in function
‘sin’ [enabled by default]
 extern void sin(void);
             ^
/tmp/ccq9LkZF.o: In function `main':
/home/sean/fossil/conftest__.c:3: undefined reference to `sin'
collect2: error: ld returned 1 exit status
child process exited abnormally
============
The failed code was:
extern void sin(void);
int main(void) {
sin();
return 0;
}
============
Failed: ccache cc -g -O2 conftest__.c -o conftest__
/tmp/ccSw4VqT.o: In function `main':
/home/sean/fossil/conftest__.c:3: undefined reference to `fuse_mount'
collect2: error: ld returned 1 exit status
child process exited abnormally
============
The failed code was:
extern void fuse_mount(void);
int main(void) {
fuse_mount();
return 0;
}
============
Failed: ccache cc -g -O2 conftest__.c -o conftest__ -lfuse
/usr/bin/ld.bfd.real: cannot find -lfuse
collect2: error: ld returned 1 exit status
child process exited abnormally
============
The failed code was:
extern void fuse_mount(void);
int main(void) {
fuse_mount();
return 0;
}
============





-- 
-------
inum: 883510009027723
sip: jungleboo...@sip2sip.info
xmpp: jungle-boo...@jit.si
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to