cant install modem driver!!

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

cant install modem driver!!

Postby nemanaldin » Sat Sep 01, 2007 16:43

hi all
i use sabayon(x86_64-2.6.19-gentoo-r4) on amd 64 athlon +3000
my modem is creative (ess 2898) and i have driver but cant install it
i compiled this driver without any problem in ubuntu feisty but cant compiled it on sabayon
this error when i want to compile
Code: Select all
nemanaldin@mshome ~/ess_2.6-v0.3 $ ./setup
checking for running kernel version...2.6.19
checking for gcc...4.1.1
checking for kernel gcc version...4.1.1
searching for kernel includes...found at /lib/modules/2.6.19-gentoo-r4/build/include
checking for autoconf.h.../lib/modules/2.6.19-gentoo-r4/build/include/linux/autoconf.h
checking for asm/mach-default...** error
include/asm/mach-default directory could not be found
you probably need to configure your kernel, please read the FAQ
about no include/asm/mach-default directory.
** compilation error
please read the FAQ about reporting compilation problems
and report this problem.  A transcript of the build process
has been saved in make.log.  When reporting problems to
the development team, please send us this file.

thanks
nemanaldin
Baby Hen
 
Posts: 6
Joined: Sun Aug 26, 2007 19:22

Re: cant install modem driver!!

Postby WarraWarra » Sun Sep 02, 2007 23:40

Code: Select all
checking for asm/mach-default...** error
include/asm/mach-default directory could not be found
you probably need to configure your kernel, please read the FAQ
about no include/asm/mach-default directory.
** compilation error


Ignore what you know / have done already , proper info is in the wiki on top of this page.

The kernel config it complains about is the .config file in /usr/src/linux/.config or it should be there. Problem = you might need to have run "emerge sabayon-sources" I think or any kernel of your choice as this will populate the /usr/src/???? and then the symlink can be done using "eselect kernel list" and "eselect kernel set 4" if eselect is installed. ( emerge eselect )
Then in /usr/src/linux run "make menuconfig" or "make xconfig" both works and this will do a new kernel config.

Alternatively:
You should be able to copy .config from " /proc/config.gz" to /usr/src/linux or using the ones listed on:
viewtopic.php?t=9281
viewtopic.php?p=49841#49841
labeled kernel config and paste it to the /usr/src/linux as .config .
Just make sure it has everything you might need active or =y . Might still have to run "make menuconfig" and just exit ?? not sure .

Then install the modem driver. This should fix the error when installing. Also check /etc/make.conf for missing parts that this driver might need.

Hope this helps.
User avatar
WarraWarra
Sagely Hen
 
Posts: 1989
Joined: Wed Jan 03, 2007 21:01
Location: 31.324270, -113.585511


Return to Hardware

Who is online

Users browsing this forum: No registered users and 2 guests