[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: modversions.h ?



if the program you are compiling requires 2.2.x i suggest re linking
/usr/include/linux to /usr/src/linux/include/linux (i think thats
right) .. rename /usr/include/linux

the program is probably looking for something 2.1/2.2/2.3 specific and
debian's default headers in /usr/include dont cut it for that(i had the
similar problems trying to compile smbmount from samba 3)

nate

On Thu, 20 Jan 2000, Pollywog wrote:

pollyw >What is the story behind modversions.h ?
pollyw >
pollyw >I am using kernel 2.2.14 and I don't have this file, but I see it is listed
pollyw >for kernel-headers package 2.2.13.  I built a custom kernel and I am not using
pollyw >the default Debian kernel image.
pollyw >
pollyw >gcc  -L../lib -I../include/ -Wall -O6    -c -o bcreencrypt.o bcreencrypt.c
pollyw >bcreencrypt.c:258: warning: `#ifdef' argument starts with a digit
pollyw >gcc  -L../lib -I../include/ -Wall -O6    -c -o bcfsck.o bcfsck.c
pollyw >gcc  -L../lib -I../include/ -Wall -O6   -o bctool bctool.c alg.o config.o
pollyw >error.o misc.o bcmount.o bcpasswd.o bcinfo.o  bccreate.o bcformat.o
pollyw >bcreencrypt.o bcfsck.o -lkgsha
pollyw >cp -f bctool ../bin/
pollyw >make[1]: Leaving directory `/usr/src/redhat/BUILD/bcrypt-0.3b/src'
pollyw >make[1]: Entering directory `/usr/src/redhat/BUILD/bcrypt-0.3b/mod'
pollyw >gcc -o mkver mkver.c
pollyw >touch bc_dev.ver ;
pollyw >gcc -E bc_dev.c -I../include -D__GENKSYMS__ | /sbin/genksyms  -k 2.2.13 >
pollyw >bc_dev.ver
pollyw >gcc -O6 -Wall -fno-strength-reduce -D__KERNEL__ -DMODULE -I../include     -c
pollyw >-o bc_dev.o bc_dev.c
pollyw >In file included from bc_dev.c:30:
pollyw >bc_cfg.h:39: linux/modversions.h: No such file or directory
pollyw >make[1]: *** [bc_dev.o] Error 1
pollyw >make[1]: Leaving directory `/usr/src/redhat/BUILD/bcrypt-0.3b/mod'
pollyw >make: *** [subdirs] Error 2
pollyw >Bad exit status from /var/tmp/rpm-tmp.99181 (%build)
pollyw >
pollyw >
pollyw >BTW I was trying to build an rpm so that I could use Alien to make a Debian
pollyw >package from it.
pollyw >
pollyw >
pollyw >
pollyw >
pollyw >thanks
pollyw >
pollyw >--
pollyw >Andrew
pollyw >
pollyw >-----------------------------
pollyw >GnuPG Public KeyID: 0x48109681
pollyw >
pollyw >
pollyw >
pollyw >-- 
pollyw >Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
pollyw >

----------------------------------------[mailto:aphro@aphroland.org ]--
   Vice President Network Operations       http://www.firetrail.com/
  Firetrail Internet Services Limited      http://www.aphroland.org/
       Everett, WA 425-348-7336            http://www.linuxpowered.net/
            Powered By:                    http://comedy.aphroland.org/
    Debian 2.1 Linux 2.0.36 SMP            http://yahoo.aphroland.org/
-----------------------------------------[mailto:aphro@netquest.net ]--
2:02pm up 154 days, 2:06, 2 users, load average: 1.99, 1.67, 1.62


Reply to: