re: Wine's configure script when cross-compiling
26 Oct
2011
26 Oct
'11
4:49 a.m.
Welcome to the wonderful world of autoconf!
The code that generates conftest.c does not provide for an argument to strerror. Why doesn't it? And how does the configure script succeed when compiling for x86?
If I recall correctly: Because conftest.c doesn't include the .h file that declares strerror(), and C doesn't have typesafe linkage, checking for the presence of a function by linking to it with a totally bogus call with no arguments should work fine. It's not clear why the compiler is complaining - did it somehow see a .h file that declared strerror()? What compiler are you using?
5162
Age (days ago)
5162
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dan Kegel