RE: FC3 Getting Error during compile - modversions.h
"Michael Pruse" <[email protected]> Mon, 14 Feb 2005 16:37:30 -0600
| Newsgroups | gmane.linux.drivers.atmel-wlan |
|---|---|
| Message-ID | <[email protected]> |
Aye Russ,
Below are some ideas that might help you out or provide you with some
leads.
You might have to move the modversion.h to
/lib/modules/2.6.10-1.760_FC3/build/include/linux/ or edit the make file to
point to the source files where modversion.h is located; which might be
/usr/src/redhat/build/kernel-2.6.spec.
You might also try a search to see where modversion.h is located because it
might be part of a separate package though I don't think so.
---- from http://www.linuxquestions.org/questions/history/282835
You can always open the configure script in an editor, search for "checking
for Linux kernel sources", try to figure out what the script is looking for,
and then figure out a way of leading it by the hand to what it needs. It may
be expecting a symbolic link like /usr/src/linux that points to your actual
source tree. For instance:
code:
lrwxrwxr-x 1 root root 17 Jan 27 13:06 linux -> linux-2.6.5-1.358
drwxrwxr-x 2 root root 4096 Jan 27 13:06 linux-2.6.5-1.358
I had to do something similar once... some package was dead-set on finding
the gtk libraries in /usr/lib when I'd installed them to /usr/local. They
had hard coded the path in the script, so there was no command-line argument
to override it. A quick edit->save, and I was on my way.
Last edited by Dark_Helmet on 01-27-2005 at 07:07 PM
---
I hope this gives you some ideas.
Later,
Pruse
>From: Russ Wright <rwrigh10-odAbcf0Mc9JJm/[email protected]>
>Reply-To: Discussions on drivers for USB WLAN devices based on
>ATMELsAT76C503A <atmel-wlan-usb-ikZNBd7uB5wQUIZIPwn63sWURRETrGNnG9Ur7JDdleE@public.gmane.org>
>To: atmel-wlan-usb-ikZNBd7uB5wQUIZIPwn63sWURRETrGNnG9Ur7JDdleE@public.gmane.org
>Subject: [Atmel-WLAN-USB] FC3 Getting Error during compile - modversions.h
>Date: Fri, 11 Feb 2005 09:31:18 -0500
>
>Hello All
>
>I just grabbed the latest tarball from the website and when I attempt to
>compile I get an error message:
>
>
>$ make
>gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-
>common -Wn o-sign-compare -Wno-unused -D__KERNEL__ -DMODULE -
>DEXPORT_SYMTAB -DDRIVER_VERSIO N=\"v0.11\" -
>I/lib/modules/2.6.10-1.760_FC3/build/include -DMODVERSIONS -
>include /lib/modules/2.6.10-1.760_FC3/build/include/linux/modversions.h
>-c at76c503.c
>cc1: /lib/modules/2.6.10-1.760_FC3/build/include/linux/modversions.h: No
>such file or directory
>
>Notice the path where it is looking for modversions.h that is not the
>path to the kernel source.
>
>I did install the kernel source rpm for my kernel and I did run
>
>$rpmbuild -bp --target=noarch /usr/src/redhat/SPECS/kernel-2.6.spec
>so I know the kernel source is there.
>
>
>What is wrong here?
>
>Regards
>Russ
>
>
>
>
>_______________________________________________
>Atmel-wlan-usb mailing list
>Atmel-wlan-usb-ikZNBd7uB5wQUIZIPwn63sWURRETrGNnG9Ur7JDdleE@public.gmane.org
>https://iprserv.jura.uni-leipzig.de/mailman/listinfo/atmel-wlan-usb