Compiling code
Keith Clark
keithclark at k-wbookworm.com
Sat Jul 26 03:43:57 UTC 2008
Keith Clark wrote:
> 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
>
I've been googling around all night and all I find reference to are
problems with people in my very same situation.
Well, I'm out of ideas. I pulled my old XP laptop out and all works
with no issues there. I'll use that machine in production until I can
figure all this out.
Thanks for the help and I look forward to solving this problem in the
future.
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/f38a62e9/attachment.vcf>
More information about the ubuntu-users
mailing list