Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 05-13-2003, 06:44 PM   #1
Registered: Oct 2002
Posts: 44

Rep: Reputation: 15
Making tcl failure

-Wall -Wconversion -Wno-implicit-int -fPIC -I./../generic -I. -fno-inline -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1
../compat/strstr.c: In function `strstr':
../compat/strstr.c:67: `NULL' undeclared (first use in this function)
../compat/strstr.c:67: (Each undeclared identifier is reported only once
../compat/strstr.c:67: for each function it appears in.)
make: *** [strstr.o] Error 1

Not sure why NULL is considered undeclared???
Old 05-13-2003, 07:00 PM   #2
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
More info is needed, such as your host system.

Migh I suggets using the official LFS support medium like the lfs-support mailinglist, especially if you're working with CVS. Make sure you read the mailinglist archives, a lot of problems that come with CVS have been documented. You can save yourself a lot of time by reading the mailinglists and using the search engine.

Links to all these can be found on the website.
Old 05-14-2003, 07:17 AM   #3
Senior Member
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
Also, try the tcl/tk hint.
Old 06-19-2006, 01:37 AM   #4
LQ Newbie
Registered: Dec 2004
Posts: 2

Rep: Reputation: 0

I know this is probably bass-ackward - and it hurts me to admit it, but I just opened the strstr.c file and simple deleted NULL, so that it read:

return ;

Seemed to work fine so far. Remember, you can't get mad at me for trying this, as I'm still making this LFS deal for the first time.
Old 06-29-2006, 07:28 PM   #5
Lenard Spencer
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 329

Rep: Reputation: 199Reputation: 199
Best thing to do is read the book at least half a dozen times, and use post-its to mark the stuff you REALLY don't want to forget, before jumping in. I had to rebuild my temp tools today because I missed the part in the book that said the host system needs to be running the 2.6.2 kernel or newer or all kinds of bad things might happen (with me it was segfaults right and left )


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
Telnet : Temporary failure in name resolution : Host name lookup failure koodoo Linux - Newbie 10 02-11-2008 08:59 PM
Tcl/Tk 8.4.7 dakota rob Solaris / OpenSolaris 3 10-27-2004 03:51 PM
PostScript failure result in printing failure cawwt Linux - General 2 10-01-2004 02:06 PM
Tcl/tk ccarrieta28 Linux - Software 0 09-10-2003 03:49 PM
About TCL? JIV Programming 2 05-02-2003 04:27 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 08:57 PM.

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