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
 
LinkBack Search this Thread
Old 12-13-2004, 04:25 PM   #1
Drunkalot
Member
 
Registered: Aug 2004
Distribution: Linux from Scratch
Posts: 69

Rep: Reputation: 15
Error compiling ncurses in lfs 6.0


When I try tocompile ncursesI received the folowing error:

gcc ../obj_s/clear.o -L../lib -lncurses -I../progs -I. -DHAVE_CONFIG_H -I.
-I../include -D_GNU_SOURCE -DNDEBUG -I/tools/include -O2 -fPIC -o clear
cd ../obj_s; gcc -I../progs -I. -DHAVE_CONFIG_H -I. -I../include
-D_GNU_SOURCE -DNDEBUG -I/tools/include -O2 -fPIC -c ../progs/tput.c
../progs/tput.c: In function heck_aliases':
../progs/tput.c:87: error: ROG_INIT' undeclared (first use in this function)
../progs/tput.c:87: error: (Each undeclared identifier is reported only once
../progs/tput.c:87: error: for each function it appears in.)
make[1]: *** [../obj_s/tput.o] Error 1
make[1]: Leaving directory /mnt/lfs/sources/ncurses-5.4/progs'
make: *** [all] Error 2

I erased the directory and started but get the same error...

Can someone help me...


Oh, my host distro is a fedora core 2...


[]s...
 
Old 12-13-2004, 08:15 PM   #2
Maulik Shah
LQ Newbie
 
Registered: Nov 2004
Location: Inida-Mumbai
Distribution: Red Hat Linux 9
Posts: 8

Rep: Reputation: 0
hi

hi,
it seems that your ncurses rpm got corrupted.
i think you must have the Linux CD with you. from there just check it our for the RPM avilable in that CD's.
it is under the RedHat/RPMs/..
just check it out...
once you find the rpm for the ncurses-{version of the RPM} ..
THEN type the command
rpm -ivh --force ncurses-{version}
it will install the RPMs and your prob will get over.

bye & cheers.
 
Old 12-25-2004, 11:21 PM   #3
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
this is a strange one cause the gcc command has -I. and that should do it
those symbols are defined in the included file transform.h
it's so simple it can't be wrong seems like to me
you could try putting the #include <transform.h> as #include "transform.h" instead
just to see if there is some naming conflict

one odd thing is some of the chars you posted are not appearing correctly here in either 8859-1 or utf-8
that's the only thing i see -- i wonder if encoding could cause stuff like this ?

anybody else ?

or you have a bad rpm (wink wink)
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Compiling GCC (1st Pass) in LFS 6.0 TGWDNGHN Linux From Scratch 1 06-30-2005 08:57 PM
ncurses compilation problem in LFS 5.1.1 lik Linux From Scratch 2 01-14-2005 09:25 PM
compiling program that uses ncurses calble Programming 4 08-10-2003 04:30 PM
GCC error when compiling it for LFS safrout Linux From Scratch 1 06-14-2003 06:16 AM
Error compiling Perl (making LFS system 3.3)... MatMan5959 Linux - Software 0 06-02-2002 04:36 PM


All times are GMT -5. The time now is 01:12 AM.

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