Compiling code
Keith Clark
keithclark at k-wbookworm.com
Sat Jul 26 02:52:28 UTC 2008
David Fox wrote:
> On Fri, Jul 25, 2008 at 6:47 PM, Keith Clark <keithclark at k-wbookworm.com> wrote:
>
>> I'm trying to compile some device drivers to no avail. All I get is a huge
>> string of error codes each time. With a stock Ubuntu 8.04 install, does
>> this allow a su to compile code?
>>
>
> In looking at the errors it would seem that you don't have the
> kernel-headers package installed for the running kernel.
>
> Of course, I could be wrong. One way to tell would be to look at some
> of the driver source files, look at include statements and then
> attempt to derive (via wajig whichpkg or other method) the package
> that provides that header. By a process of elimination, you can bring
> in all the needed packages. Unless something borks, then you don't
> need to do that again to compile other sources, unless they have
> headers that you don't have installed.
>
> That's the approach I have taken when trying to compile things. Or you
> could use build-dep and get the build dependencies that way (via an
> apt command).
>
>
Holy cow! That is a lot of learning to do. All I wanted to do is
install a printer and an adapter!
I have no issues learning all of this, and one day I will, but for now I
just want my printer to work and all of the drivers are in source code.
What a pita this is!
I will keep learning I suppose.
Thanks for your help though, I don't want to sound ungrateful, just
exhausted!
Keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keithclark.vcf
Type: text/x-vcard
Size: 245 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080725/c630ae94/attachment.vcf>
More information about the ubuntu-users
mailing list