ACX100: Building Error

Hello

Whenever I try to build the ACX100 driver i get this error:

 make[1]: Entering directory `/usr/src/kernel-headers-2.4.27-2-386'         ▒
 │ make: Entering an unknown directorymake: Leaving an unknown                ▒
 │ directorymake[1]: Leaving directory  

I am running Debian Sarge 3.1

Anyone have any ideas?

Kind Regards

DAniel
dcarrionAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dcarrionAuthor Commented:
Here is the full error:

touch config.mk \                                                          #
 │ && /usr/bin/make -C "/usr/src/linux" M="/usr/src/modules/acx100" clean      make[1]: Entering directory `/usr/src/kernel-headers-2.4.27-2-386'          make: Entering an unknown directorymake: Leaving an unknown                
 │ directorymake[1]: Leaving directory                                        
 │ `/usr/src/kernel-headers-2.4.27-2-386'                                    
 │ /usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules    
 │ make[1]: Entering directory `/usr/src/modules/acx100'                      
 │ touch config.mk \                                                          
 │ && /usr/bin/make -C "/usr/src/linux" M="/usr/src/modules/acx100" clean    
 │ make[2]: Entering directory `/usr/src/kernel-headers-2.4.27-2-386'        
 │ make: *** arch/i386/boot: No such file or directory.  Stop.                
 │ make: Entering an unknown directorymake: Leaving an unknown                
 │ directorymake[2]: *** [archclean] Error 2                                  
 │ make[2]: Leaving directory `/usr/src/kernel-headers-2.4.27-2-386'    
 make[1]: *** [kdist_clean] Error 2                                        
 │ make[1]: Leaving directory `/usr/src/modules/acx100'                      
 │ make: *** [kdist_build] Error 2      
rindiCommented:
Your kernel source is missing. You'll have to install that first.
dcarrionAuthor Commented:
By Kernel source do you mean Kernel headers because the Kernel headers are installed correctly.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

dcarrionAuthor Commented:
Okay found source and installed it...still same problem.
dcarrionAuthor Commented:
When I do uname -a I get:

Linux server2 2.4.27-2-386 #1 Wed Aug 17 09:33:35 UTC 2005 i686 GNU/Linux

The Kernel Headers, Image and Source are all installed for the above version.
rindiCommented:
Do have this folder:

/usr/src/linux/arch/i386/boot ?

(it might have a different name, but should be similar). This folder is normally part of the linux source. You might have to find the downloaded kernel source, unpack it and make a symlink of that to /usr/src/linux
Duncan RoeSoftware DeveloperCommented:
Have you actually built linux from source first? The driver will likely require that you have at least got as far as finishing "make config" (or xconfig, menuconfig, oldconfig, &c)
Duncan RoeSoftware DeveloperCommented:
You might have more success with a 2.6 kernel. Have you looked for answers at http://acx100.sourceforge.net/wiki/Main_Page ?
dcarrionAuthor Commented:
rindi: all i see in there is makefile

duncan roe: I installed debian 3.1 using the automatic installation...I assume it has allready been built during installation.
When I try to make config I get this error:

server2:/usr/src/linux# make config
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
/bin/sh scripts/Configure arch/i386/config.in
#
# Using defaults found in .config
#
scripts/Configure: line 556: arch/i386/config.in: No such file or directory
make: *** [config] Error 1


Since I haven't done that much I will do a reinstallation today.
Duncan RoeSoftware DeveloperCommented:
A normal installation will not do a source build, so don't waste your time reinstalling (at least, it'd be a waste for this issue).
Possibly your /usr/src/linux is incomplete somehow(?) - try "make mrproper" in there first. Does that work?
"make config" itself is a real pain to run - try at least "make menuconfig"
dcarrionAuthor Commented:
debian:/usr/src/linux# make mrpoper
make: *** No rule to make target `mrpoper'.  Stop.

---------------------------------------------

debian:/usr/src/linux# make config
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
/bin/sh scripts/Configure arch/i386/config.in
#
# Using defaults found in .config
#
scripts/Configure: line 556: arch/i386/config.in: No such file or directory
make: *** [config] Error 1

------------------------------------------------

debian:/usr/src/linux# make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/kernel-headers-2.4.27-2/scripts/lxdialog'
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status

>> Unable to find the Ncurses libraries.
>>
>> You must have Ncurses installed in order
>> to use 'make menuconfig'

make[1]: *** [ncurses] Error 1
make[1]: Leaving directory `/usr/src/kernel-headers-2.4.27-2/scripts/lxdialog'
make: *** [menuconfig] Error 2

dcarrionAuthor Commented:
I cannot build the ACX100 module on my other linux machine either. it is using the same distribution.
dcarrionAuthor Commented:
I am able to build other modules
Duncan RoeSoftware DeveloperCommented:
You don't have a complete source tree. Get a *vanilla* source from kernel.org or a mirror - 2.6.15 was current last I looked . The web page I posted earlier says the ACX100 driver works with vanilla 2.6. Upgrade software as required by Documentation/Changes in the new linux source directory - you'll likely find most of your system is OK as_is. Copy .config from the old source directory. Try make oldconfig.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Duncan RoeSoftware DeveloperCommented:
What other modules can you build? Can you post a sample?
dcarrionAuthor Commented:
Okay I can now build that module with Kernel 2.6 so you've solved my problem...now i just have to get the module working. Thanks for your assistance.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.