https://bugzilla.novell.com/show_bug.cgi?id=663745 https://bugzilla.novell.com/show_bug.cgi?id=663745#c15 Johannes Obermayr <johannesobermayr@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX | --- Comment #15 from Johannes Obermayr <johannesobermayr@gmx.de> 2011-02-04 17:59:37 UTC --- (In reply to comment #14) [...]
No, if you want this kref function, put it in your module instead of in the main kernel tree. [...]
So please just put it in your kmp and all will be good.
[...] CC [M] /usr/src/packages/BUILD/drm-intel-20110202/drm-all/obj/default/drivers/gpu/stub/poulsbo.o CC [M] /usr/src/packages/BUILD/drm-intel-20110202/drm-all/obj/default/lib/crc-ccitt.o CC [M] /usr/src/packages/BUILD/drm-intel-20110202/drm-all/obj/default/lib/crc16.o CC [M] /usr/src/packages/BUILD/drm-intel-20110202/drm-all/obj/default/lib/crc-itu-t.o CC [M] /usr/src/packages/BUILD/drm-intel-20110202/drm-all/obj/default/lib/crc7.o CC [M] /usr/src/packages/BUILD/drm-intel-20110202/drm-all/obj/default/lib/ts_kmp.o CC [M] /usr/src/packages/BUILD/drm-intel-20110202/drm-all/obj/default/lib/ts_bm.o CC [M] /usr/src/packages/BUILD/drm-intel-20110202/drm-all/obj/default/lib/ts_fsm.o CC [M] /usr/src/packages/BUILD/drm-intel-20110202/drm-all/obj/default/lib/cpu-notifier-error-inject.o CC [M] /usr/src/packages/BUILD/drm-intel-20110202/drm-all/obj/default/lib/lru_cache.o CC [M] /usr/src/packages/BUILD/drm-intel-20110202/drm-all/obj/default/lib/reed_solomon/reed_solomon.o CC [M] /usr/src/packages/BUILD/drm-intel-20110202/drm-all/obj/default/lib/zlib_deflate/deflate.o CC [M] /usr/src/packages/BUILD/drm-intel-20110202/drm-all/obj/default/lib/zlib_deflate/deftree.o CC [M] /usr/src/packages/BUILD/drm-intel-20110202/drm-all/obj/default/lib/zlib_deflate/deflate_syms.o LD [M] /usr/src/packages/BUILD/drm-intel-20110202/drm-all/obj/default/lib/zlib_deflate/zlib_deflate.o Building modules, stage 2. MODPOST 22 modules WARNING: "kref_sub" [/usr/src/packages/BUILD/drm-intel-20110202/drm-all/obj/default/drivers/gpu/drm/ttm/ttm.ko] undefined! [...] (see: https://build.opensuse.org/package/rawlog?arch=i586&package=drm-intel&project=home%3Ajobermayr&repository=openSUSE_Factory_Snapshot) You see I compile the lib/ dir but it doesn't compile kref.c. So please tell me what I must change: + cp -r drivers/ lib/ obj/default/ + echo 'obj-y += drivers/ lib/' + echo 'obj-y += char/ gpu/' + echo 'obj-y += agp/' + make -C /usr/src/linux-obj/i586/default modules M=/usr/src/packages/BUILD/drm-intel-20110202/drm-all/obj/default CONFIG_DRM_RADEON_KMS=n CONFIG_DRM_RADEON=n CONFIG_DRM_R128=n CONFIG_DRM_NOUVEAU_BACKLIGHT=n CONFIG_DRM_NOUVEAU_KMS=n CONFIG_DRM_NOUVEAU=n CONFIG_DRM_NOUVEAU_DEBUG=n CONFIG_DRM_I2C_CH7006=n CONFIG_DRM_TTM=m CONFIG_DRM_KMS_HELPER=m CONFIG_DRM_I810=m CONFIG_DRM_I830=m CONFIG_DRM_I915=m CONFIG_DRM_I915_KMS=y CONFIG_STUB_POULSBO=m CONFIG_DRM_TDFX=n CONFIG_DRM_MGA=n CONFIG_DRM_SIS=n CONFIG_DRM_SAVAGE=n CONFIG_DRM_VMWGFX=n CONFIG_DRM_VIA=n CONFIG_AGP_ALI=n CONFIG_AGP_ATI=n CONFIG_AGP_AMD=n CONFIG_AGP_AMD64=n CONFIG_AGP_ALPHA_CORE=n CONFIG_AGP_EFFICEON=n CONFIG_AGP_HP_ZX1=n CONFIG_AGP_PARISC=n CONFIG_AGP_I460=m CONFIG_AGP_INTEL=m CONFIG_AGP_NVIDIA=n CONFIG_AGP_SGI_TIOCA=n CONFIG_AGP_SIS=n CONFIG_AGP_SWORKS=n CONFIG_AGP_UNINORTH=n CONFIG_AGP_VIA=n CONFIG_RAID6_PQ=n 'CC=gcc -I/usr/src/packages/BUILD/drm-intel-20110202/drm-all/include/linux -I/usr/src/packages/BUILD/drm-intel-20110202/drm-all/include/drm -I/usr/src/packages/BUILD/drm-intel-20110202/drm-all/include' -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.