LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 01-14-2005, 05:06 PM   #1
lik
Newbie
 
Registered: Jan 2005
Posts: 8

Rep: Reputation: 0
ncurses compilation problem in LFS 5.1.1


Hi,

I am learning LFS 5.1.1. The reason not going to 6.0 is that I don't have 2.6 kernel as required in 6.0. I followed the instructions and preceeded to the ncurses section in chapter 5, where I got compilation errors as follows:

cd ../obj_s; /usr/bin/g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG -I/tools/include -O2 -fPIC -c ../c++/demo.cc
/usr/bin/g++ -o demo ../obj_s/demo.o -L../lib -lncurses++ -L../lib -lform -lmenu -lpanel -lncurses -Wl,-rpath,/mnt/lfs/sources/ncurses-5.4/lib -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG -I/tools/include -O2 -fPIC
/lib/libc.so.6: undefined reference to `_dl_tls_symaddr@GLIBC_PRIVATE'
/lib/libc.so.6: undefined reference to `__libc_stack_end@GLIBC_PRIVATE'
collect2: ld returned 1 exit status
make[1]: *** [demo] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/ncurses-5.4/c++'
make: *** [all] Error 2

The host system is Knoppix 3.4. I searched the internet including this forum but could not find a solution. Can anybody here give me any hint?

Thank you for your time.

-lik
 
Old 01-14-2005, 06:49 PM   #2
Yerp
Member
 
Registered: Jun 2004
Distribution: Turtle Kevux 0.8.8
Posts: 129

Rep: Reputation: 15
well as far as not going to 2.6. you can download a bootable iso image for the LFS 6.0. It contains the 2.6 kernel and has all the packages, lynx, and the entire manual. Download and burn it and you can work from there. This way you can build a 2.6 without even installing one.

http://lfs-mirror.tpegg.org/lfs/packages.html

then scroll to the very bottom. You should see two links for bootable ISO's (Germany and Belgium)
 
Old 01-14-2005, 10:25 PM   #3
lik
Newbie
 
Registered: Jan 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Finally I figured out the problem: I didn't correctly generate g++ in previous step (gcc pass 2). I really don't know how I can miss that but keep preceeding. It is just amazing that I can go this far.

Thank for the information of LFS live CD.

-lik
 
  


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
ncurses problem sjp Programming 7 01-26-2005 07:15 AM
Error compiling ncurses in lfs 6.0 Drunkalot Linux From Scratch 2 12-26-2004 12:21 AM
ncurses problem ina Linux - Software 2 09-30-2002 12:26 PM
Problem ncurses ina Linux - General 0 09-19-2002 02:50 AM
ncurses-5.2-28 conflicts with file from package ncurses-5.2-12 tubby Linux - Software 4 06-16-2002 01:00 AM


All times are GMT -5. The time now is 07:52 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