This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

catalyst_build_module

By: a guest on Dec 20th, 2010  |  syntax: None  |  size: 4.58 KB  |  views: 128  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. --------
  2. 2010-12-20 10:08:56
  3. Building fglrx module for 2.6.36-ARCH kernel ...
  4. --------
  5. + cp /usr/share/ati/build_mod /tmp/catalyst.ZGMwko -R
  6. + cd /tmp/catalyst.ZGMwko
  7. + patch -Np7 -i makefile_compat.patch
  8. patching file Makefile
  9. + patch -Np6 -i 2.6.36.patch
  10. patching file firegl_public.c
  11. patch unexpectedly ends in middle of line
  12. Hunk #2 succeeded at 411 with fuzz 1.
  13. + [[ 2.6.36 == \2\.\6\.\3\7 ]]
  14. + ati_make
  15. + SMP=0
  16. ++ uname -v
  17. + OsVersion='#1 SMP PREEMPT Fri Dec 10 20:32:37 CET 2010'
  18. ++ echo '#1' SMP PREEMPT Fri Dec 10 20:32:37 CET 2010
  19. ++ grep '[sS][mM][pP]' -c
  20. + '[' 1 -ne 0 ']'
  21. + SMP=1
  22. + echo 'OsVersion says: SMP=1'
  23. OsVersion says: SMP=1
  24. + src_file=/proc/kallsyms
  25. + '[' -e /proc/kallsyms ']'
  26. ++ fgrep smp /proc/kallsyms -c
  27. + '[' 72 -gt 10 ']'
  28. + SMP=1
  29. + echo 'file /proc/kallsyms says: SMP=1'
  30. file /proc/kallsyms says: SMP=1
  31. + '[' -f /lib/modules/2.6.36-ARCH/build/include/generated/autoconf.h ']'
  32. + autoconf_h=/lib/modules/2.6.36-ARCH/build/include/generated/autoconf.h
  33. + src_file=/lib/modules/2.6.36-ARCH/build/include/generated/autoconf.h
  34. + '[' '!' -e /lib/modules/2.6.36-ARCH/build/include/generated/autoconf.h ']'
  35. ++ cat /lib/modules/2.6.36-ARCH/build/include/generated/autoconf.h
  36. ++ grep '#undef'
  37. ++ grep CONFIG_SMP -c
  38. + '[' 0 = 0 ']'
  39. ++ cat /lib/modules/2.6.36-ARCH/build/include/generated/autoconf.h
  40. ++ grep CONFIG_SMP
  41. ++ cut '-d ' -f3
  42. + SMP=1
  43. + echo 'file /lib/modules/2.6.36-ARCH/build/include/generated/autoconf.h says: SMP=1'
  44. file /lib/modules/2.6.36-ARCH/build/include/generated/autoconf.h says: SMP=1
  45. + '[' 1 = 0 ']'
  46. + '[' '!' 1 = 0 ']'
  47. + smp=-SMP
  48. + def_smp=-D__SMP__
  49. + PAGE_ATTR_FIX=0
  50. + src_file=/proc/kallsyms
  51. + '[' -e /proc/kallsyms ']'
  52. ++ fgrep ' change_page_attr$' /proc/kallsyms -c
  53. + '[' 0 -gt 0 ']'
  54. + MODVERSIONS=0
  55. + src_file=/lib/modules/2.6.36-ARCH/build/include/generated/autoconf.h
  56. + '[' '!' -e /lib/modules/2.6.36-ARCH/build/include/generated/autoconf.h ']'
  57. ++ cat /lib/modules/2.6.36-ARCH/build/include/generated/autoconf.h
  58. ++ grep '#undef'
  59. ++ grep CONFIG_MODVERSIONS -c
  60. + '[' 0 = 0 ']'
  61. ++ cat /lib/modules/2.6.36-ARCH/build/include/generated/autoconf.h
  62. ++ grep CONFIG_MODVERSIONS
  63. ++ cut '-d ' -f3
  64. + MODVERSIONS=
  65. + echo 'file /lib/modules/2.6.36-ARCH/build/include/generated/autoconf.h says: MODVERSIONS='
  66. file /lib/modules/2.6.36-ARCH/build/include/generated/autoconf.h says: MODVERSIONS=
  67. + '[' '' = 0 ']'
  68. + '[' '!' '' = 0 ']'
  69. + def_modversions=-DMODVERSIONS
  70. + COMPAT_ALLOC_USER_SPACE=compat_alloc_user_space
  71. + src_file=/lib/modules/2.6.36-ARCH/build/arch/x86/include/asm/compat.h
  72. + '[' '!' -e /lib/modules/2.6.36-ARCH/build/arch/x86/include/asm/compat.h ']'
  73. ++ cat /lib/modules/2.6.36-ARCH/build/arch/x86/include/asm/compat.h
  74. ++ grep -c arch_compat_alloc_user_space
  75. + '[' 1 -gt 0 ']'
  76. + COMPAT_ALLOC_USER_SPACE=arch_compat_alloc_user_space
  77. + echo 'file /lib/modules/2.6.36-ARCH/build/arch/x86/include/asm/compat.h says: COMPAT_ALLOC_USER_SPACE=arch_compat_alloc_user_space'
  78. file /lib/modules/2.6.36-ARCH/build/arch/x86/include/asm/compat.h says: COMPAT_ALLOC_USER_SPACE=arch_compat_alloc_user_space
  79. ++ pwd
  80. + make -C /lib/modules/2.6.36-ARCH/build SUBDIRS=/tmp/catalyst.ZGMwko ARCH=x86_64 'MODFLAGS=-DMODULE -DATI -DFGL -DPAGE_ATTR_FIX=0 -DCOMPAT_ALLOC_USER_SPACE=arch_compat_alloc_user_space -D__SMP__ -DMODVERSIONS' PAGE_ATTR_FIX=0 COMPAT_ALLOC_USER_SPACE=arch_compat_alloc_user_space modules
  81. make: Entering directory `/usr/src/linux-2.6.36-ARCH'
  82.   CC [M]  /tmp/catalyst.ZGMwko/firegl_public.o
  83. /tmp/catalyst.ZGMwko/firegl_public.c:415:5: warning: initialization from incompatible pointer type
  84.   CC [M]  /tmp/catalyst.ZGMwko/kcl_acpi.o
  85.   CC [M]  /tmp/catalyst.ZGMwko/kcl_agp.o
  86.   CC [M]  /tmp/catalyst.ZGMwko/kcl_debug.o
  87. /tmp/catalyst.ZGMwko/kcl_debug.c:51:49: warning: ‘struct tty_struct’ declared inside parameter list
  88. /tmp/catalyst.ZGMwko/kcl_debug.c:51:49: warning: its scope is only this definition or declaration, which is probably not what you want
  89. /tmp/catalyst.ZGMwko/kcl_debug.c:58:5: warning: initialization from incompatible pointer type
  90.   CC [M]  /tmp/catalyst.ZGMwko/kcl_ioctl.o
  91.   CC [M]  /tmp/catalyst.ZGMwko/kcl_io.o
  92.   CC [M]  /tmp/catalyst.ZGMwko/kcl_pci.o
  93.   CC [M]  /tmp/catalyst.ZGMwko/kcl_str.o
  94.   CC [M]  /tmp/catalyst.ZGMwko/kcl_wait.o
  95.   LD [M]  /tmp/catalyst.ZGMwko/fglrx.o
  96.   Building modules, stage 2.
  97.   MODPOST 1 modules
  98.   CC      /tmp/catalyst.ZGMwko/fglrx.mod.o
  99.   LD [M]  /tmp/catalyst.ZGMwko/fglrx.ko
  100. make: Leaving directory `/usr/src/linux-2.6.36-ARCH'
  101. + install -m755 -d /lib/modules/2.6.36-ARCH/video/
  102. + install -m644 fglrx.ko /lib/modules/2.6.36-ARCH/video/
  103. + depmod 2.6.36-ARCH
  104. + rm -rf /tmp/catalyst.ZGMwko
  105. + set +x
  106. Ok.
clone this paste RAW Paste Data