LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-14-2010, 12:51 PM   #1
Couling
Member
 
Registered: Oct 2007
Posts: 30

Rep: Reputation: 15
Confused: Which headers are "The Headers"?


Hi All

A little background:
I've been a programmer for a while; on windows mostly but I'm starting to learn all that I can about linux software.

To help me with this I've picked up a funky little NAS which has ssh access to its (i believe uLinux) environment. I've also managed to find a compiler for it (gcc compiled for ARM - GNU/Linux).

The plot thickens
I've had some headaches but I've now managed to compile Apache2 without DSO support... so far so good.

In getting this far I've been told by a number of people i will need "the headers" specific to the device (the NAS didn't come with source code).

Since Apache 2 (without DSO) compiled fine I know i definitely have some headers. But DSO won't build with errors that lead me to believe it may be a header issue.

The question:
So i have some headers which educated guess work suggests to me that these are the headers for the std c/c++ libraries.

It would help me greatly in finding "the headers" to know what they are the headers for. Any suggestions on which headers would have come with the compiler i downloaded.


Sorry if this is a silly question without a meaningful answer, but if this is the case any clarification would be greatly appreciated.

Thanks.
 
Old 06-14-2010, 02:17 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
We don't really have enough information to tell you. It would help if you posted the errors you are getting!
 
Old 06-14-2010, 05:01 PM   #3
Couling
Member
 
Registered: Oct 2007
Posts: 30

Original Poster
Rep: Reputation: 15
In this particular case the error is as follows.

Code:
../httpd-2.2.15/configure
<...snip>

Checking for DSO...
checking for dlopen... no
checking for dlopen in -ldl... no
checking for load_image in -lroot... no
configure: error: Could not detect suitable DSO implementation
configure failed for srclib/apr
This says to me that either my system does not support DSO (another avenue I can look into), or I'm missing the headers for the support that it does have.

Last edited by Couling; 06-14-2010 at 05:03 PM.
 
Old 06-14-2010, 05:59 PM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Looks like DSO is in APR, so.. install APR, or try the --with-included-apr configure flag
 
Old 06-15-2010, 01:29 PM   #5
Couling
Member
 
Registered: Oct 2007
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by AlucardZero View Post
Looks like DSO is in APR, so.. install APR, or try the --with-included-apr configure flag
No. APR provides a wrapper for DSO, it doesnt seem to provide DSO itself (DSO in APR API).
Reading into what DSO is (DSO in Apache 2.2 Documentation), I doubt it's a part of apache at all, but something provided by the OS.
Most likely this will be something provided by the kernel as it gives support for dynamically loading share object (.so) files.

My question re-worded
Since asking this question I've cleared up a lot of my confusion.
It would be better to state my question as:

I have a linux box that came without source code and I wish to set up a build environment for it.

I know that I will need:
Standard c/c++ headers.
Kernel headers (is it possible to find out what modules are in my kernel???)
Headers for libraries in my /lib /usr/lib /opt/lib directories.

Is there anything else I will need to get?
 
  


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
apt-get returning: "couldn't find package linux-headers-2.6..." compused Linux - Distributions 12 03-06-2009 10:04 PM
Superkaramba won't compile in Slack 12.1- "missing python headers and libraries" maniac matt Slackware 2 05-11-2008 12:42 AM
Error Installing the "linux-headers-2.6.22-14-generic" update. solitaire Linux - Newbie 1 02-15-2008 08:09 PM
"make headers_check" gives errors during "5.5.1 Installation of Linux API headers " void_man() Linux From Scratch 3 09-26-2007 09:16 PM
Running yum asks for "sysadmin to update headers" Equisilus Fedora 0 06-25-2004 04:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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