LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 05-10-2009, 07:21 AM   #1
phoenix12345
LQ Newbie
 
Registered: Apr 2008
Posts: 15

Rep: Reputation: 1
Findutils compilation errors


I use Ubuntu 9.04 and i'm following the instructions from LFS 6.4 and gcc 4.3.2. I've googled it a little and this seems to be a gcc 4.4.0 specific problem. The only thing i compiled with gcc 4.4.0 was glibc(which refused to work with 4.3.2) but i don't think that has something to do with the problem. The errors are:
Code:
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..  -I../../intl   -g -O2 -MT mbchar.o -MD -MP -MF $depbase.Tpo -c -o mbchar.o mbchar.c &&\
	mv -f $depbase.Tpo $depbase.Po
In file included from mbchar.h:157,
                 from mbchar.c:21:
/tools/include/wctype.h:112: error: expected ')' before '__wc'
/tools/include/wctype.h:118: error: expected ')' before '__wc'
/tools/include/wctype.h:121: error: expected ')' before '__wc'
/tools/include/wctype.h:125: error: expected ')' before '__wc'
/tools/include/wctype.h:129: error: expected ')' before '__wc'
/tools/include/wctype.h:134: error: expected ')' before '__wc'
/tools/include/wctype.h:137: error: expected ')' before '__wc'
/tools/include/wctype.h:142: error: expected ')' before '__wc'
/tools/include/wctype.h:147: error: expected ')' before '__wc'
/tools/include/wctype.h:152: error: expected ')' before '__wc'
/tools/include/wctype.h:157: error: expected ')' before '__wc'
/tools/include/wctype.h:163: error: expected ')' before '__wc'
/tools/include/wctype.h:176: error: expected ')' before '__wc'
/tools/include/wctype.h:195: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'towlower'
/tools/include/wctype.h:198: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'towupper'
/tools/include/wctype.h:222: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'towctrans'
/tools/include/wctype.h:231: error: expected ')' before '__wc'
/tools/include/wctype.h:237: error: expected ')' before '__wc'
/tools/include/wctype.h:240: error: expected ')' before '__wc'
/tools/include/wctype.h:244: error: expected ')' before '__wc'
/tools/include/wctype.h:248: error: expected ')' before '__wc'
/tools/include/wctype.h:253: error: expected ')' before '__wc'
/tools/include/wctype.h:256: error: expected ')' before '__wc'
/tools/include/wctype.h:261: error: expected ')' before '__wc'
/tools/include/wctype.h:266: error: expected ')' before '__wc'
/tools/include/wctype.h:271: error: expected ')' before '__wc'
/tools/include/wctype.h:276: error: expected ')' before '__wc'
/tools/include/wctype.h:281: error: expected ')' before '__wc'
/tools/include/wctype.h:290: error: expected ')' before '__wc'
/tools/include/wctype.h:299: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'towlower_l'
/tools/include/wctype.h:302: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'towupper_l'
/tools/include/wctype.h:310: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'towctrans_l'
In file included from mbchar.c:21:
mbchar.h:239: error: expected ')' before 'wc'
make[4]: *** [mbchar.o] Error 1
make[4]: Leaving directory `/media/sda8/sources/findutils-4.4.0/gnulib/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/media/sda8/sources/findutils-4.4.0/gnulib/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/media/sda8/sources/findutils-4.4.0/gnulib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/sda8/sources/findutils-4.4.0'
make: *** [all] Error 2
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Qt Compilation Errors grsandeep85 Linux - Newbie 3 05-10-2009 03:07 AM
compilation errors in g++ manikan Linux - Software 1 02-03-2006 05:31 AM
C++ compilation errors ??? glevine Programming 1 07-16-2004 03:15 PM
Compilation Errors ! vipinsharma Programming 0 06-01-2004 02:24 AM
kernel compilation errors spork545 Red Hat 4 10-15-2003 08:03 PM


All times are GMT -5. The time now is 02:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration