Luigi Rizzo's webcam pkg compile error

yang yang kk_q at msn.com
Tue Feb 6 16:27:50 UTC 2007


cvsup, and edit devel/linux-kmod-compat/Mikefile, remark these 3 lines:
#.if ${OSVERSION} < 602100
#IGNORE=  requires a recent USB stack, not present in ${OSVERSION}
#.endif

devel/linux-kmod-compat
multimedia/linux-gspca-kmod
make install clean, successfully.

# kldload gspca.ko
kldload: can't load gspca.ko: Exec format error

/var/log/message:
kernel: link_elf_obj: symbol __start_set_ldev_info undefined
kernel: kldload: Unsupported file type

# pkg_info | grep linux
linux-gspca-kmod-1.0.12 A port of the linux gspcav1 webcam driver
linux-kmod-compat-20070203 Adaptation layer to build linux drivers on 
FreeBSD
linux_base-fc-4_9   Base set of packages needed in Linux mode (for 
i386/amd64)
#mount
linprocfs on /usr/compat/linux/proc (linprocfs, local)

kernel conf:
options         COMPAT_43               # Needed by COMPAT_LINUX32
options         COMPAT_IA32             # Compatible with i386 binaries
options         COMPAT_FREEBSD4         # Compatible with FreeBSD4
options         COMPAT_FREEBSD5         # Compatible with FreeBSD5
options         COMPAT_LINUX32          # Compatible with i386 linux 
binaries

help!

>try the ports which i just committed and updated for 64-bit archs
>
>devel/linux-kmod-compat
>multimedia/linux-gspca-kmod
>
>(you may need to disable the version check in 
>devel/linux-kmod-compat/Makefile)
>
>	cheers
>	luigi

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



More information about the freebsd-multimedia mailing list