LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 06-27-2004, 06:49 PM   #1
pengStudent
Member
 
Registered: Nov 2003
Location: California
Distribution: Slackware 14
Posts: 55

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: 48
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



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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:31 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration