LinuxQuestions.org
Register a domain and help support LQ
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 06-27-2004, 06:49 PM   #1
pengStudent
Member
 
Registered: Nov 2003
Location: California
Distribution: Ubuntu 10.10
Posts: 52

Rep: Reputation: 15
Problem with compiling tcl8.4.6


Im currently trying to compile LFS from the 5.1.1 book. Im currently in chapter 5, trying to compile tcl8.4.6. Im able to ./configure --prefix=/tools without a problem but when I go to make I keep getting an error.


../compat/strstr.c: In function 'strstr' :
../compat/strstr.c:67: error: 'NULL' undeclared (fisrt use in this function)
../compat/strstr.c:67: error: (Each undeclared identifier is reported only once
../compat/strstr.c:67: error: for each function it appears in.)
make: *** [strstr.o] Error 1


Any idea what this could be? I followed all the other parts exactly how the book mentions them.
 
Old 06-27-2004, 07:19 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
well, open up "strstr.c" in a text editor and see if you can de-bug it........

it tells you what line to look for in the "c header file"............(67)
 
  


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
TCL8.6.4 strstr.c make error Cynric Linux From Scratch 0 08-21-2004 09:11 PM
tcl8.4.5 errors on install.. blfs book cvs Zero-0-Effect Linux From Scratch 5 03-15-2004 09:23 PM
sed errors while installing tcl8.4.5 Zero-0-Effect Linux - Software 2 03-15-2004 05:55 PM
Compiling problem.... pyrocrickett Linux - Software 2 09-11-2003 02:19 PM
compiling Tcl8.3.5 zLinuxz Linux - General 3 06-08-2003 12:02 PM


All times are GMT -5. The time now is 06:26 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
Open Source Consulting | Domain Registration