Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm having my first go at compiling an application, namingly DHCP3.
As per the instructions included with the distribution, I first ran the .configure script, and then ran make.
Make however returns approximately 70 lines complaining of missing header files. Try as I might, I have been unable to determine to which libraries the (missing) header files belong.
I installed gcc & make from the packages on the distribution CD. Is installing them "out of the box" sufficient, or does either tool require configuration?
How does one determine which libraries are required to compile an application, if that information is not found in the application source distribution?
neo77777--ldd appears to require an executable. I don't have an executable yet, I'm compiling the source files. Perhaps I misunderstand?
Aussie--here are some of the errors which are being generated:
In file included from /usr/include/bits/posix1_lim.h:126,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/include/limits.h:117,
from /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/include/syslimits.h:7,
from /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/include/limits.h:11,
from /usr/include/bits/socket.h:31,
from /usr/include/netinet/in.h:212,
from /root/dhcp-3.0/includes/dhcpd.h:46,
from raw.c:62:
/usr/include/bits/local_lim.h:36: linux/limits.h: No such file or directory
In file included from /usr/include/netinet/in.h:212,
from /root/dhcp-3.0/includes/dhcpd.h:46,
from raw.c:62:
/usr/include/bits/socket.h:298: asm/socket.h: No such file or directory
In file included from /usr/include/errno.h:36,
from /root/dhcp-3.0/includes/cf/linux.h:66,
from /root/dhcp-3.0/includes/osdep.h:118,
from /root/dhcp-3.0/includes/dhcpd.h:66,
from raw.c:62:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
In file included from /usr/include/signal.h:307,
from /usr/include/sys/wait.h:30,
from /root/dhcp-3.0/includes/cf/linux.h:68,
from /root/dhcp-3.0/includes/osdep.h:118,
from /root/dhcp-3.0/includes/dhcpd.h:66,
from raw.c:62:
/usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or directory
I've managed to make some progress... As it turns out, the errors I posted were not due to a missing installation of the gnu c libraries, rather I had neglected to install the kernel source.
Now... make attempts are still failing though, this time complaining of "cc: installation problem, cannot exec `as': No such file or directory".
'as' is an assembler, correct? Can I use as86 from the bin86 package, or do I need to look elsewhere?
Hmmm... I appear to be having a conversation with myself lately.
In any case, the package I needed was binutils, not bin86.
That was the last piece which I needed... DHCP 3 is now happily compiled and running. I'm tempted to have a go at putting together a package and posting it to LinuxPackages.net
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.