Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Feb 2007 00:27:46 +0800
From:      "yang yang" <kk_q@msn.com>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: Luigi Rizzo's webcam pkg compile error
Message-ID:  <BAY110-F2455A424B5D78D3F96BAD4EB9F0@phx.gbl>
In-Reply-To: <20070205022434.D34136@xorpc.icir.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY110-F2455A424B5D78D3F96BAD4EB9F0>