LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 08-05-2008, 06:16 PM   #1
Peter Shepard
Member
 
Registered: Apr 2005
Posts: 96

Rep: Reputation: 15
trouble with compiling a number of files are missing


Hello,

I am trying to compile PASA a program I downloaded from Sourceforge. there is a makefile in a /src directory that contains the following lines. I am missing most of these files? Any ides?

cmd_line_opts.o: /usr/include/sys/cdefs.h /usr/include/nl_types.h
cmd_line_opts.o: /usr/include/sys/types.h /usr/include/machine/types.h
cmd_line_opts.o: /usr/include/i386/types.h /usr/include/sys/wait.h
cmd_line_opts.o: /usr/include/sys/signal.h /usr/include/sys/appleapiopts.h
cmd_line_opts.o: /usr/include/machine/signal.h /usr/include/i386/signal.h
cmd_line_opts.o: /usr/include/sys/resource.h /usr/include/machine/endian.h
cmd_line_opts.o: /usr/include/i386/endian.h /usr/include/sys/_endian.h
cmd_line_opts.o: /usr/include/stdint.h /usr/include/libkern/OSByteOrder.h
cmd_line_opts.o: /usr/include/libkern/i386/OSByteOrder.h
cmd_line_opts.o: /usr/include/alloca.h /usr/include/machine/types.h
 
Old 08-05-2008, 07:42 PM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
Tell us what distro you're using, then we can tell you how to get what you need.
 
Old 08-05-2008, 07:45 PM   #3
Peter Shepard
Member
 
Registered: Apr 2005
Posts: 96

Original Poster
Rep: Reputation: 15
ubuntu 7.10 amd64
 
Old 08-06-2008, 04:32 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
Run sudo apt-get install build-essential. Or get it via Synaptic, plus anything else you might need for programming.

Last edited by brianL; 08-06-2008 at 04:35 AM.
 
Old 08-06-2008, 11:49 AM   #5
Peter Shepard
Member
 
Registered: Apr 2005
Posts: 96

Original Poster
Rep: Reputation: 15
That worked a little however there are still a number of folders and .h files missing..

/usr/include/i386 I'm guessing this is /asm-i386 on my cpu?
/usr/include/machine/ I'm guessing this is asm-x86_64??
/usr/include/libkern =no idea.
/usr/include/sys/appleapiopts.h no sign of this at all


appleapiopts.h not there at all


TIA
 
Old 08-07-2008, 04:31 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
Could you post the URL for PASA at Sourceforge? Debian and Ubuntu separate libraries into runtime and dev versions, so the only thing I can suggest is browsing through Synaptic -> Libraries (dev), see if anything looks as if it's what you need.
I found the sourceforge site, but didn't get any clues from it, such as dependencies.

Last edited by brianL; 08-07-2008 at 04:41 AM.
 
Old 08-11-2008, 01:47 PM   #7
Peter Shepard
Member
 
Registered: Apr 2005
Posts: 96

Original Poster
Rep: Reputation: 15
incompatible package for build essential

Here is the link http://pasa.sourceforge.net/

There are a number of redundant filenames and it is dIfficult to figure out which goes with which?

Here is what the Makefile requires

cmd_line_opts.o: /usr/include/sys/cdefs.h /usr/include/nl_types.h
cmd_line_opts.o: /usr/include/sys/types.h /usr/include/machine/types.h
cmd_line_opts.o: /usr/include/i386/types.h /usr/include/sys/wait.h
cmd_line_opts.o: /usr/include/sys/signal.h /usr/include/sys/appleapiopts.h
cmd_line_opts.o: /usr/include/machine/signal.h /usr/include/i386/signal.h
cmd_line_opts.o: /usr/include/sys/resource.h /usr/include/machine/endian.h
cmd_line_opts.o: /usr/include/i386/endian.h /usr/include/sys/_endian.h
cmd_line_opts.o: /usr/include/stdint.h /usr/include/libkern/OSByteOrder.h
cmd_line_opts.o: /usr/include/libkern/i386/OSByteOrder.h
cmd_line_opts.o: /usr/include/alloca.h /usr/include/machine/types.h

I can find most of the filenames although, some are not exactly the same, in my build-essential what bothers worries me is that there are redundant filenames and I want to be sure I pick the right folders.

Is there a way of knowing

what are the compatible folders?

ie

for OSByteOrder.h in the master Makefile I assume this = byteorder on my build-essential

here are my byteorder files

/usr/include/asm-i386/byteorder.h
/usr/include/asm-x86_64/byteorder.h
/usr/include/asm/byteorder.h

but what are the compatible directories?

The Makefile lists
/usr/include/libkern/OSByteOrder.h
/usr/include/libkern/i386/OSByteOrder.h


Does /machine= asm-x86-i386
Does /i386=asm-i386
What is the synonymous /libkern directory? /asm?
 
Old 08-12-2008, 04:32 AM   #8
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
I've no idea how to help any more. You'll have to hope someone with more knowledge notices this.
 
Old 08-12-2008, 04:37 AM   #9
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
For some of the headers, you need the glib-devel package. Try reading the README file. It should list what is required.
 
  


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 remane a number of files? AGazzaz Linux - General 3 10-01-2006 11:52 AM
after partition number change, 10.0 x64 root missing shshjun SUSE / openSUSE 2 05-12-2006 07:27 AM
Number of Open Files rjapenga Linux - General 2 04-14-2005 01:01 AM
ProFTPd gives 'number files' Worstje Linux - Newbie 1 05-05-2004 09:19 AM

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

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