Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
10-01-2004, 03:31 PM
|
#1
|
LQ Newbie
Registered: Sep 2004
Posts: 13
Rep:
|
can't compile/configure/make anything
i know it sounds like a bad case of no gcc or something to that effect but i have versions coming back from gcc --version and make --version. i'll just cut to the chase and show you.
root@localhost acx100-0.2.0pre8_plus_fixes_33 # ./Configure
WARNING: kernel build/output directory not found!
You probably need to install the kernel development/header file package! (whichmatches your currently running kernel)
Kernel version file: /lib/modules/2.6.8.1-3/build/include/linux/version.h
Kernel configuration file: /lib/modules/2.6.8.1-3/build/.config
Make damn sure these really match your currently running kernel!!
grep: /lib/modules/2.6.8.1-3/build/include/linux/version.h: No such file or directory
WARNING: Unable to find kernel configuration file (/lib/modules/2.6.8.1-3/build/.config) -> unable to perform sanity checks
Make sure your kernel has the required options enabled, see README
*** Potential problems found above, waiting 5 seconds to let you know about it.***
------------------------------------------
root@localhost acx100-0.2.0pre8_plus_fixes_33 # make
make -C src
make[1]: Entering directory `/root/acx100-0.2.0pre8_plus_fixes_33/src'
gcc -Wall -Wstrict-prototypes -Wno-trigraphs -O -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=4 -march=i586 -DACX_DEBUG=1 -DACX_IO_WIDTH=32 -D__KERNEL__ -DMODULE -DWLAN_HOSTIF=WLAN_PCI -I/lib/modules/2.6.8.1-3/build/include -I../include -c -o acx100.o acx100.c
In file included from /usr/include/linux/prefetch.h:13,
from /usr/include/linux/list.h:6,
from /usr/include/linux/module.h:12,
from acx100.c:70:
/usr/include/asm/processor.h:56: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/processor.h:56: error: requested alignment is not a constant
In file included from /usr/include/linux/if_arp.h:26,
from acx100.c:76:
/usr/include/linux/netdevice.h:171: error: requested alignment is not a constant
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:52,
from /usr/include/linux/netdevice.h:469,
from /usr/include/linux/if_arp.h:26,
from acx100.c:76:
/usr/include/linux/irq.h:65: error: requested alignment is not a constant
In file included from /usr/include/linux/interrupt.h:52,
from /usr/include/linux/netdevice.h:469,
from /usr/include/linux/if_arp.h:26,
from acx100.c:76:
/usr/include/asm/hardirq.h:16: error: requested alignment is not a constant
In file included from /usr/include/linux/netdevice.h:469,
from /usr/include/linux/if_arp.h:26,
from acx100.c:76:
/usr/include/linux/interrupt.h:135: error: requested alignment is not a constant
In file included from /usr/include/linux/if_arp.h:26,
from acx100.c:76:
/usr/include/linux/netdevice.h:525: error: requested alignment is not a constant
acx100.c:80:28: net/iw_handler.h: No such file or directory
In file included from acx100.c:102:
../include/acx100.h:1310: error: field `spy_data' has incomplete type
../include/acx100.h:1420: warning: `packed' attribute ignored
acx100.c: In function `acx_rx':
acx100.c:2106: warning: passing arg 1 of `__builtin_expect' makes integer from pointer without a cast
make[1]: *** [acx100.o] Error 1
make[1]: Leaving directory `/root/acx100-0.2.0pre8_plus_fixes_33/src'
make: *** [driver] Error 2
it seems to be some problem relating to the kernel. i have Yoper v2.1 with a 2.6.8 kernel. when i go to /usr/src all i see is the kernel rpm file and this is more than likely the problem. could someone help me out here. thanks
|
|
|
10-01-2004, 03:34 PM
|
#2
|
LQ Newbie
Registered: Sep 2004
Posts: 13
Original Poster
Rep:
|
i forgot to add this:
root@localhost acx100-0.2.0pre8_plus_fixes_33 # cd /usr/src
root@localhost src # ls
config pcmcia-cs-3.2.7-1.6.i686.rpm yoper_boot.bmp
kernel-2.6.8.1-3.i686.rpm terminal.tgz
makesys yoper
root@localhost src #
|
|
|
10-03-2004, 06:57 PM
|
#3
|
LQ Newbie
Registered: Sep 2004
Posts: 13
Original Poster
Rep:
|
maybe here is a simpler answer i can get: when i goto ./configure something it complains about not being able to read /lib/modules/<kernel version>/build.... when i goto the directory containing build and list its contents i have 'build' listed but it is blinking with a red background. i have tried cd'ing into it and opening it with a text editor... no avail on either...is it a permissions thing? keep in mind i am in as root. thanks
|
|
|
10-03-2004, 09:46 PM
|
#4
|
LQ Addict
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661
Rep:
|
you need to install the kernel sources. There should be a package with the kernel sources for your distro.
|
|
|
10-26-2004, 02:30 PM
|
#5
|
Member
Registered: Jun 2004
Location: Nova Scotia, Canada!
Distribution: Ubuntu
Posts: 170
Rep:
|
Quote:
Originally posted by quatsch
you need to install the kernel sources. There should be a package with the kernel sources for your distro.
|
I have this very same problem with SUSE 9.1. Do you know where I can get the kernel sources and what I do with them once I get them? It's running Kernel 2.6.4 something....
Thanks!
Jon
|
|
|
10-27-2004, 03:01 PM
|
#6
|
LQ Newbie
Registered: Oct 2004
Distribution: suse 9.1
Posts: 2
Rep:
|
Exact same problem with 9.1 for me also, and looking for answers in these forums. Unfortunately, some of these answers are NOT for beginners, the pros need to remember they were new at this once too.
|
|
|
10-28-2004, 08:26 AM
|
#7
|
Member
Registered: Jun 2004
Location: Nova Scotia, Canada!
Distribution: Ubuntu
Posts: 170
Rep:
|
Quote:
Originally posted by ozonedman
Exact same problem with 9.1 for me also, and looking for answers in these forums. Unfortunately, some of these answers are NOT for beginners, the pros need to remember they were new at this once too.
|
I managed to solve this one by throwing SUSE in the garbage. I gave it an honest try - I spent 3 days trying to get it configured for my machine. In the end, their decision to not include any of the development tools in the personal edition was the deciding factor. I needed them to get my network card working and since they weren't there I wasn't able to do that.
I then tried a few more distros that all had some problem or other with my screen or dev tools again until I landed on Fedora Core 2. It comes on 4 CDs and has everything I needed. I installed it once, adjusted the screen refresh, made and installed my wireless network card drivers and was done. What I never accomplished in 3 days with SUSE took me 3 hours with FC2.
SUSE Pro might be OK, it's on multiple CDs and therefore (I assume) comes with the dev tools, but SUSE personal is just a broken, incomplete distro IMHO.
So that's my recommendation - ditch SUSE personal and try something else. I'm running Debian on my server, but it didn't fare well with my laptop. FC2 handled everything perfectly.
Jon
|
|
|
10-28-2004, 09:55 AM
|
#8
|
LQ Newbie
Registered: Oct 2004
Distribution: suse 9.1
Posts: 2
Rep:
|
Fortunately I had the pro version, after some (hours) experimenting, I found how to install the development tools in yast. Once the source and everything was installed, compiling was easy. Well, kinda. I tried 4 different modems (winmodems) because I don't have any older PCI ones laying around. Mostly the compiling went bad, even after revising the makefile. Finally found a recent driver on a manuf website that DID compile. (a netodragon, of all things) and got things working.
I actually don't mind the command line, but I need to go back 12 or 15 years to remember my DOS training. Then it becomes more comfortable.
|
|
|
All times are GMT -5. The time now is 02:20 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|