>On Fri, 04 Nov 2011 13:44:19 -0400 (EDT)
>Danny Vukobratovich <dvukobratov...@marianinc.com> wrote:

> I am getting this error: 
> 
> configure: error: cannot run C compiled programs. 
> If you mean to cross configure, use '--host'. 
> 
> Does any one have any insight into how I can fix this? I am working
> on a 64-bit system. Thank you, 

Your compiler is borked.

Look through binutils-build/config.log. It contains a log of everything
the build system did, including the detailed compiler error.

You are looking for something like this (this is a sample from xpdf):

[...]
configure:4048: checking for DOS (with DJGPP)
configure:4064: gcc -std=gnu99 -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:14: error: '__DJGPP__' undeclared (first use in this function)
conftest.c:14: error: (Each undeclared identifier is reported only once
conftest.c:14: error: for each function it appears in.)
configure:4064: $? = 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 SYSTEM_XPDFRC "/usr/local/etc/xpdfrc"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| __DJGPP__
|   ;
|   return 0;
| }
configure:4071: result: no
[...]

-- 
   Fourth law of programming:
   Anything that can go wrong wi
sendmail: segmentation violation - core dumped
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to