LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-17-2004, 06:43 AM   #1
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Rep: Reputation: 31
What is trap program??


creating mkheaders
creating auto-host.h
trap: usage: trap [-lp] [[arg] signal_spec ...]
root@lfs:/usr/src/packages/gcc-build#

I ran into this while running ./configure The above is all it outputs. I cannot even find trap in any of my PATH's but its a command. Ive searched through everything I installed and none of them is listed by lfs, blfs book as installing trap.



Installed Linux From Scratch – Version 6.0-testing-20040913
Installing Beyond Linux From Scratch – Version svn-20040914

The install went perfectly and now have gcc-3.4.1 installed and trying to install gcc-3.3.3 becuase java (and other blfs packages) have not been updated to be compilable by gcc-3.4.1

There is no man page or help for this program that I found.
I dont even know what trap does and so dont know where to begin on how to fix it.
I have seen this only one other time in all the years I ran linux, that was just a few weeks ago after installing Slackware 10 and tyring to install a program.

I went ahead and ignored it and issued make bootstrap to compile gcc to see what happens and it compiled without error.

Any ideas on what this program is? And was it safe to ignore it as I did or will it come back to haunt me....
 
Old 09-17-2004, 07:51 PM   #2
p.l.zink
LQ Newbie
 
Registered: Jul 2004
Posts: 4

Rep: Reputation: 0
possibly in the kernal scource -- traps.c ? traps.h
su -- slocate trap ?
 
Old 09-17-2004, 09:07 PM   #3
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Uh, No.............trap is a "bash" built-in command...............

man trap

http://man.linuxquestions.org/index....ction=0&type=2
 
  


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
how to send snmp trap & recieve trap in C program minil Programming 3 07-10-2010 09:22 AM
Kernel trap (Fatal trap 12) m!k@EL *BSD 4 09-05-2007 11:58 PM
trap signals AMMullan Programming 3 10-19-2003 04:31 PM
shell script - trap program termination dnijaguar Linux - Software 0 07-19-2003 12:27 AM
setting a trap antken Linux - Security 6 01-11-2003 06:45 AM

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

All times are GMT -5. The time now is 03:38 PM.

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