[Clfs-support] (no subject)
Binghoo Dang
dangbinghoo at gmail.com
Sun Sep 14 19:22:11 PDT 2008
satish patel 写道:
> Clfs for arm sysroot book and I got this error when compile kernel
>
> CC lib/idr.o
> CC lib/int_sqrt.o
> CC lib/ioremap.o
> CC lib/irq_regs.o
> CC lib/klist.o
> CC lib/kobject.o
> CC lib/kobject_uevent.o
> CC lib/kref.o
> CC lib/prio_tree.o
> CC lib/radix-tree.o
> CC lib/rbtree.o
> CC lib/reciprocal_div.o
> CC lib/rwsem-spinlock.o
> CC lib/sha1.o
> CC lib/string.o
> CC lib/vsprintf.o
> AR lib/lib.a
> CC [M] lib/crc-ccitt.o
> CC [M] lib/libcrc32c.o
> GEN .version
> CHK include/linux/compile.h
> UPD include/linux/compile.h
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> drivers/built-in.o: In function `drm_notifier':
> /mnt/clfs/sources/linux-2.6.22.6/drivers/char/drm/drm_lock.c:335: undefined
> reference to `cmpxchg'
> drivers/built-in.o: In function `drm_idlelock_release':
> /mnt/clfs/sources/linux-2.6.22.6/drivers/char/drm/drm_lock.c:382: undefined
> reference to `cmpxchg'
> drivers/built-in.o: In function `drm_lock_transfer':
> /mnt/clfs/sources/linux-2.6.22.6/drivers/char/drm/drm_lock.c:264: undefined
> reference to `cmpxchg'
> drivers/built-in.o: In function `drm_lock_free':
> /mnt/clfs/sources/linux-2.6.22.6/drivers/char/drm/drm_lock.c:297: undefined
> reference to `cmpxchg'
> drivers/built-in.o: In function `drm_lock_take':
> /mnt/clfs/sources/linux-2.6.22.6/drivers/char/drm/drm_lock.c:221: undefined
> reference to `cmpxchg'
> make: *** [.tmp_vmlinux1] Error 1
> clfs:/mnt/clfs/sources/linux-2.6.22.6$
>
>
>
> Regards,
>
> Satish Patel
>
> _______________________________________________
> Clfs-support mailing list
> Clfs-support at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
>
This is quite common errors , check you kernel configuration !
More information about the Clfs-support
mailing list