[Solved] Error compiling kernel 2.6.36.2 patched with MOSIX

Hi, I'm a new user in this forum!
I'm trying to compile manually the kernel version with MOSIX-2.29.0.1 for computer clustering. But When I try to compile it with make command there is an error:
In file included from arch/x86/kernel/signal.c:17:0:
include/linux/tracehook.h: In function ‘tracehook_unsafe_exec’:
include/linux/tracehook.h:164:40: error: ‘struct task_struct’ has no member named ‘mflags’
arch/x86/kernel/signal.c: In function ‘do_notify_resume’:
arch/x86/kernel/signal.c:884:44: error: ‘struct task_struct’ has no member named ‘parent_waiting’
make[2]: *** [arch/x86/kernel/signal.o] Error 1
make[1]: *** [arch/x86/kernel] Error 2
make: *** [arch/x86] Error 2
I have launched make menuconfig and I have configured the kernel in this way:
Configure the following option:
      CONFIG_FUSE_FS
        File systems  --->  FUSE (Filesystem in Userspace) support
      CONFIG_SYSVIPC
        General setup  --->  System V IPC
   But make sure that the following is NOT CONFIGURED:
   CONFIG_HEADERS_CHECK"
        'Kernel hacking' ---> 'Run 'make headers_check' when building vmlinux'
What is the problem?
Last edited by andychaser (2011-02-17 12:37:50)

I've solved the issue, infact there was a problem with the patch. Now I am able to compile the kernel.
Thanks anyway!

Similar Messages

  • [SOLVED] error compiling kernel 2.6.29

    Hi,
    Due to having the DVD-S card mentioned here
    http://www.linuxtv.org/pipermail/linux- … 23265.html
    I am trying to compile kernel 2.6.29.6 with the above mentioned patch but get an error:
    include/sound/soc-dai.h: At top level:
    include/sound/soc-dai.h:224:25: error: duplicate member ‘codec’
    sound/soc/soc-core.c: In function ‘snd_soc_init_card’:
    sound/soc/soc-core.c:1360:18: warning: variable ‘ac97’ set but not used
    [-Wunused-but-set-variable]
    make[2]: *** [sound/soc/soc-core.o] Error 1
    make[1]: *** [sound/soc] Error 2
    make: *** [sound] Error 2
    bash: vim include/sound/soc-dai.h
            /* DAI runtime info */
            struct snd_pcm_runtime *runtime;
            struct snd_soc_codec *codec;
            unsigned int active;
            unsigned char pop_wait:1;
            void *dma_data;
            /* DAI private data */
            void *private_data;
            /* parent codec/platform */
            union {
                    struct snd_soc_codec *codec;
                    struct snd_soc_platform *platform;
    Note:
    I found a solution:
    http://mailman.alsa-project.org/piperma … 16949.html
    Last edited by casacristo (2011-10-19 07:46:01)

    I've solved the issue, infact there was a problem with the patch. Now I am able to compile the kernel.
    Thanks anyway!

  • [Solved]Error compiling kernel from abs

    Hello Everyone,
    I've hit a wall trying to compile the kernel from the abs. I get this error message:
    patching file fs/fat/inode.c
    Hunk #1 succeeded at 800 (offset 74 lines).
    HOSTCC scripts/basic/fixdep
    /bin/sh: scripts/basic/fixdep: cannot execute binary file
    make[2]: *** [scripts/basic/fixdep] Error 126
    make[1]: *** [scripts_basic] Error 2
    SYSHDR arch/x86/syscalls/../include/generated/asm/unistd_32.h
    SYSHDR arch/x86/syscalls/../include/generated/asm/unistd_64.h
    make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
    make: *** Waiting for unfinished jobs....
    HOSTCC scripts/basic/fixdep
    SYSHDR arch/x86/syscalls/../include/generated/asm/unistd_x32.h
    SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_32.h
    /bin/sh: scripts/basic/fixdep: cannot execute binary file
    make[1]: *** [scripts/basic/fixdep] Error 126
    make: *** [scripts_basic] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    While trying to figure this out I came across this post: https://bbs.archlinux.org/viewtopic.php?id=99089 and have tried the solutions presented. I did end up having to change my fstab to include defaults,
    /dev/sda3 /home ext4 defaults,exec,rw,relatime,data=ordered 0 2
    and the permissions on scripts/basic/fixdep are: -rwxr-xr-x which i think it correct.
    Unfortunately, the problem still exists and I don't know how to continue trouble shooting. Can someone point me in a direction to troubleshoot this?
    Last edited by magyarm (2012-12-20 01:55:00)

    magyarm wrote:So now, I need to figure out a good way to handle multiple compilers on my system to prevent this from happening again. If anyone has any tips I would love to hear them.
    Set up a file that you source from bash to prepend the cross compiler to your path, that would only be active for that shell, and when you're done just close it. Means you only activate the cross compiler when you need it.

  • How do I solve 'error compiling movie. unknown error'?

    how do I solve 'error compiling movie. unknown error' when trying to export? I think a file is damaged or conflicting but how do I know which one?
    Also, how did this happen in the first place and how can I avoid it in the future?
    Thank you very much!!

    BSHF
    The answers are in the details which are lacking in your report.
    What version of Premiere Elements are you using and on what computer operating system is it running?
    Please check out the Adobe troubleshooting documents for this issue
    Error "Error compiling movie" during render or export
    Troubleshoot damaged projects | Adobe Premiere Elements
    After you review those documents and determine if either suggested troubleshooting scheme will work for you,
    then we can discuss the immediate and future actions.
    Looking forward to your follow up. Depending on your reply, next posts may require of you details
    a. project settings
    b. properties of your source media
    c. edits and inspection of Timeline content with the Timeline expanded with the -+ slider above the Timeline.
    More later.
    ATR

  • Error compiling Kernel SOCKS Bouncer

    I am trying to compile this ksb26 downloaded from official site http://ksb.sourceforge.net/ but no success.
    Please help. I dont know if thats right, but I have already tried doing "s/asm\/semaphore.h/linux\/semaphore.h" in the source code but no success.
    shadyabhi@archlinux-N210 ~/Downloads/ksb26 $ ./install.sh
    Kernel Socks Bouncer for 2.6.x kernels Installer v0.0.1
    Checking components of ksb26:
    kernel/ksb26.c -> found!
    user/ksb26manager.c -> found!
    Building kernel/ksb26.c
    make: Entering directory `/usr/src/linux-2.6.35-ARCH'
    test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
    echo; \
    echo " ERROR: Kernel configuration is invalid."; \
    echo " include/generated/autoconf.h or include/config/auto.conf are missing.";\
    echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
    echo; \
    /bin/false)
    mkdir -p /home/shadyabhi/Downloads/ksb26/kernel/.tmp_versions ; rm -f /home/shadyabhi/Downloads/ksb26/kernel/.tmp_versions/*
    make -f scripts/Makefile.build obj=/home/shadyabhi/Downloads/ksb26/kernel
    gcc -Wp,-MD,/home/shadyabhi/Downloads/ksb26/kernel/.ksb26.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/include -I/usr/src/linux-2.6.35-ARCH/arch/x86/include -Iinclude -include include/generated/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(ksb26)" -D"KBUILD_MODNAME=KBUILD_STR(ksb26)" -c -o /home/shadyabhi/Downloads/ksb26/kernel/ksb26.o /home/shadyabhi/Downloads/ksb26/kernel/ksb26.c
    In file included from /home/shadyabhi/Downloads/ksb26/kernel/ksb26.c:20:0:
    /home/shadyabhi/Downloads/ksb26/kernel/ksb26.h:29:27: fatal error: asm/semaphore.h: No such file or directory
    compilation terminated.
    make[1]: *** [/home/shadyabhi/Downloads/ksb26/kernel/ksb26.o] Error 1
    make: *** [_module_/home/shadyabhi/Downloads/ksb26/kernel] Error 2
    make: Leaving directory `/usr/src/linux-2.6.35-ARCH'
    shadyabhi@archlinux-N210 ~/Downloads/ksb26 $
    Changing it to linux/semaphore.h gives me another set of errors.
    In file included from /home/shadyabhi/Downloads/ksb26/kernel/ksb26.h:108:0,
    from /home/shadyabhi/Downloads/ksb26/kernel/ksb26.c:20:
    /home/shadyabhi/Downloads/ksb26/kernel/ksb26_core.h: In function 'ksb26_socks5hs':
    /home/shadyabhi/Downloads/ksb26/kernel/ksb26_core.h:118:4: warning: format '%c' expects type 'int', but argument 5 has type 'size_t'
    /home/shadyabhi/Downloads/ksb26/kernel/ksb26.c: In function 'patch_unix_stream_connect':
    /home/shadyabhi/Downloads/ksb26/kernel/ksb26.c:37:45: warning: assignment discards qualifiers from pointer target type
    /home/shadyabhi/Downloads/ksb26/kernel/ksb26.c: In function 'modcleanup':
    /home/shadyabhi/Downloads/ksb26/kernel/ksb26.c:124:2: error: void value not ignored as it ought to be
    make[1]: *** [/home/shadyabhi/Downloads/ksb26/kernel/ksb26.o] Error 1
    make: *** [_module_/home/shadyabhi/Downloads/ksb26/kernel] Error 2
    make: Leaving directory `/usr/src/linux-2.6.35-ARCH'
    shadyabhi@archlinux-N210 ~/Downloads/ksb26 $
    Last edited by shadyabhi (2010-11-23 16:13:39)

    I've solved the issue, infact there was a problem with the patch. Now I am able to compile the kernel.
    Thanks anyway!

  • [SOLVED] error compiling from source Broadcom BCM70015 driver

    Hi,
    This is my first post.
    I have one HP Thin Client T5740 with Intel Atom 1.66 MHz, 1Gb RAM and Broadcom BCM70015 decoder card installed on it.
    I have install the last version of archlinux on T5740 and this working very well.
    Now, I want compile from source Broadcom BCM70015 but result this error when compiling libcrystalhd:
    ==> Continue building libcrystalhd-git ? [Y/n]
    ==> ------------------------------------------
    ==>
    ==> Building and installing package
    ==> ERROR: Missing package() function in /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/./PKGBUILD
    ==> ERROR: Makepkg was unable to build libcrystalhd-git.
    ==> Restart building libcrystalhd-git ? [y/N]
    ==> -----------------------------------------
    ==>
    Where is the problem
    Please help me. Thanks
    Last edited by Eugen1968 (2015-02-08 22:53:17)

    Thank you, for help.
    This is the full output :
    [eugen@HP-T5740 ~]$ yaourt crystalhd
    1 aur/crystalhd-firmware 20120110-2 (3)
    Crystal HD Video Decoder firmware
    2 aur/crystalhd-git 20130503-1 (10)
    Broadcom CrystalHD kernel module
    3 aur/crystalhd-snapshot 3.8.0-2 (0)
    Broadcom CrystalHD kernel module & library, tagged releases from Google Code SVN tree
    4 aur/gst-plugin-crystalhd-git 20120115-1 (4)
    Broadcom Crystal HD GST Plugin (Totem for instance) from git.wilsonet.com
    5 aur/libcrystalhd 20100703-3 (2)
    Broadcom Crystal HD library
    6 aur/libcrystalhd-git 20130503-2 (13)
    Broadcom CrystalHD library
    ==> Enter n of packages to be installed (ex: 1 2 3 or 1-3)
    ==> --------------------------------------------------------
    ==> 2
    ==> Downloading crystalhd-git PKGBUILD from AUR...
    bsdtar: Failed to set default locale
    x PKGBUILD
    x devinitFix.patch
    x crystalhd-git.install
    Comment by rhon (2013-04-20 12:58)
    Have you installed kernel headers ?
    Comment by rhon (2013-05-03 12:08)
    Patch is now included in package.
    Comment by binaryjay (2013-08-07 11:47)
    Is there a reason that after all of this time this is still only available in AUR, why isn't this module available in the package repository?
    Comment by rhon (2013-08-22 04:46)
    I guess it's because the package doesn't get enough votes.
    Comment by rhon (2013-09-26 20:36)
    Package is now orphan because I don't use the devices anymore, so I can't test the module.
    crystalhd-git 20130503-1 (Thu Feb 4 13:38:05 UTC 2010)
    This package is orphaned
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> y
    Please add $EDITOR to your environment variables
    for example:
    export EDITOR="vim" (in ~/.bashrc)
    (replace vim with your favorite editor)
    ==> Edit PKGBUILD with: nano
    ==> crystalhd-git dependencies:
    - linux>=3.0 (already installed)
    - autoconf (already installed)
    - make (already installed)
    - libcrystalhd-git (building from AUR)
    - linux-headers>=3.0 (package found)
    - git (package found)
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> y
    ==> crystalhd-git dependencies:
    - linux>=3.0 (already installed)
    - autoconf (already installed)
    - make (already installed)
    - libcrystalhd-git (building from AUR)
    - linux-headers>=3.0 (package found)
    - git (package found)
    ==> Edit crystalhd-git.install ? [Y/n] ("A" to abort)
    ==> -------------------------------------------------
    ==> y
    ==> Continue building crystalhd-git ? [Y/n]
    ==> ---------------------------------------
    ==>
    ==> Building and installing package
    ==> Install or build missing dependencies for crystalhd-git:
    resolving dependencies...
    looking for conflicting packages...
    Packages (3) perl-error-0.17022-1 git-2.2.2-1 linux-headers-3.18.4-1
    Total Download Size: 10.26 MiB
    Total Installed Size: 57.07 MiB
    :: Proceed with installation? [Y/n] y
    :: Retrieving packages ...
    linux-headers-3.18.4-1-i686 6.1 MiB 377K/s 00:17 [###########################################] 100%
    perl-error-0.17022-1-any 18.3 KiB 0.00B/s 00:00 [###########################################] 100%
    git-2.2.2-1-i686 4.1 MiB 538K/s 00:08 [###########################################] 100%
    (3/3) checking keys in keyring [###########################################] 100%
    (3/3) checking package integrity [###########################################] 100%
    (3/3) loading package files [###########################################] 100%
    (3/3) checking for file conflicts [###########################################] 100%
    (3/3) checking available disk space [###########################################] 100%
    (1/3) installing linux-headers [###########################################] 100%
    (2/3) installing perl-error [###########################################] 100%
    (3/3) installing git [###########################################] 100%
    Optional dependencies for git
    tk: gitk and git gui
    perl-libwww: git svn
    perl-term-readkey: git svn
    perl-mime-tools: git send-email
    perl-net-smtp-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    python2: various helper scripts
    subversion: git svn
    cvsps2: git cvsimport
    gnome-keyring: GNOME keyring credential helper
    ==> Downloading libcrystalhd-git PKGBUILD from AUR...
    bsdtar: Failed to set default locale
    x crystalhd-3cb6786-fix_typo.patch
    x crystalhd-3cb6786-crosscompiling-0.1.patch
    x crystalhd-3cb6786-lower_THRESHOLD_globals.patch
    x crystalhd-3cb6786-use_8_DMA_buffers.patch
    x PKGBUILD
    Comment by rudolf (2012-11-21 11:49)
    I'm orphaning the crystalhd-git and libcrystalhd-git, because I don't have the hardware anymore.
    Comment by rhon (2013-04-03 21:12)
    Updated with patches from Openelec (https://github.com/OpenELEC/OpenELEC.tv/tree/master/packages/multimedia/crystalhd/patches)
    Comment by rhon (2013-05-03 12:21)
    Instead of fetching patches from github, there are now in the package.
    Comment by rhon (2013-09-26 20:36)
    Package is now orphan because I don't use the devices anymore, so I can't test the module.
    Comment by Eugen1968 (2015-01-25 10:58)
    I want compile from source Broadcom BCM70015 but result this error when compiling libcrystalhd:
    == Continue building libcrystalhd-git ? [Y/n]
    == ------------------------------------------
    ==
    == Building and installing package
    == ERROR: Missing package() function in /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/./PKGBUILD
    == ERROR: Makepkg was unable to build libcrystalhd-git.
    == Restart building libcrystalhd-git ? [y/N]
    == -----------------------------------------
    ==
    libcrystalhd-git 20130503-2 (Thu Feb 4 13:38:37 UTC 2010)
    This package is orphaned
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> y
    ==> libcrystalhd-git dependencies:
    - gcc-libs (already installed)
    - git (already installed)
    - make (already installed)
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> y
    ==> libcrystalhd-git dependencies:
    - gcc-libs (already installed)
    - git (already installed)
    - make (already installed)
    ==> Continue building libcrystalhd-git ? [Y/n]
    ==> ------------------------------------------
    ==>
    ==> Building and installing package
    ==> Making package: libcrystalhd-git 20130503-2 (Sun Feb 1 14:04:15 UTC 2015)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Found crystalhd-3cb6786-crosscompiling-0.1.patch
    -> Found crystalhd-3cb6786-fix_typo.patch
    -> Found crystalhd-3cb6786-lower_THRESHOLD_globals.patch
    -> Found crystalhd-3cb6786-use_8_DMA_buffers.patch
    ==> Validating source files with md5sums...
    crystalhd-3cb6786-crosscompiling-0.1.patch ... Passed
    crystalhd-3cb6786-fix_typo.patch ... Passed
    crystalhd-3cb6786-lower_THRESHOLD_globals.patch ... Passed
    crystalhd-3cb6786-use_8_DMA_buffers.patch ... Passed
    ==> Extracting sources...
    ==> Entering fakeroot environment...
    ==> Starting package()...
    ==> Connecting to the GIT server....
    Cloning into 'crystalhd'...
    remote: Counting objects: 2006, done.
    remote: Compressing objects: 100% (385/385), done.
    remote: Total 2006 (delta 1351), reused 2006 (delta 1351)
    Receiving objects: 100% (2006/2006), 3.55 MiB | 347.00 KiB/s, done.
    Resolving deltas: 100% (1351/1351), done.
    Checking connectivity... done.
    patching file linux_lib/libcrystalhd/Makefile
    patching file linux_lib/libcrystalhd/libcrystalhd_fwdiag_if.cpp
    patching file linux_lib/libcrystalhd/libcrystalhd_priv.h
    patching file include/bc_dts_glob_lnx.h
    OBJFILES = libcrystalhd_if.o libcrystalhd_int_if.o libcrystalhd_fwcmds.o libcrystalhd_priv.o libcrystalhd_fwdiag_if.o libcrystalhd_fwload_if.o libcrystalhd_parser.o
    SRCFILES = libcrystalhd_if.cpp libcrystalhd_int_if.cpp libcrystalhd_fwcmds.cpp libcrystalhd_priv.cpp libcrystalhd_fwdiag_if.cpp libcrystalhd_fwload_if.cpp libcrystalhd_parser.cpp
    LNM = libcrystalhd.so.3.6 libcrystalhd.so.3
    g++ -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -c -o libcrystalhd_if.o libcrystalhd_if.cpp
    g++ -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -c -o libcrystalhd_int_if.o libcrystalhd_int_if.cpp
    libcrystalhd_int_if.cpp: In function 'BC_STATUS DtsDevMemRd(HANDLE, uint32_t*, uint32_t, uint32_t)':
    libcrystalhd_int_if.cpp:741:15: warning: variable 'IOcCode' set but not used [-Wunused-but-set-variable]
    uint32_t IOcCode,size_in_dword;
    ^
    libcrystalhd_int_if.cpp: In function 'BC_STATUS DtsDevMemWr(HANDLE, uint32_t*, uint32_t, uint32_t)':
    libcrystalhd_int_if.cpp:879:10: warning: passing NULL to non-pointer argument 8 of 'BOOL DtsDrvIoctl(HANDLE, DWORD, LPVOID, DWORD, LPVOID, DWORD, LPDWORD, BOOL)' [-Wconversion-null]
    NULL))
    ^
    libcrystalhd_int_if.cpp:824:15: warning: variable 'IOcCode' set but not used [-Wunused-but-set-variable]
    uint32_t IOcCode,size_in_dword;
    ^
    libcrystalhd_int_if.cpp: In function 'BC_STATUS DtsCopyRawDataToOutBuff(DTS_LIB_CONTEXT*, BC_DTS_PROC_OUT*, BC_DTS_PROC_OUT*)':
    libcrystalhd_int_if.cpp:1218:33: warning: variable 'srcHeightInPixels' set but not used [-Wunused-but-set-variable]
    uint32_t srcWidthInPixels = 0, srcHeightInPixels;
    ^
    libcrystalhd_int_if.cpp: In function 'BC_STATUS DtsCopyNV12ToYV12(DTS_LIB_CONTEXT*, BC_DTS_PROC_OUT*, BC_DTS_PROC_OUT*)':
    libcrystalhd_int_if.cpp:1283:29: warning: variable 'srcHeightInPixels' set but not used [-Wunused-but-set-variable]
    uint32_t srcWidthInPixels, srcHeightInPixels;
    ^
    libcrystalhd_int_if.cpp: In function 'BC_STATUS DtsCopyNV12(DTS_LIB_CONTEXT*, BC_DTS_PROC_OUT*, BC_DTS_PROC_OUT*)':
    libcrystalhd_int_if.cpp:1366:31: warning: variable 'srcHeightInPixels' set but not used [-Wunused-but-set-variable]
    uint32_t srcWidthInPixels=0, srcHeightInPixels;
    ^
    libcrystalhd_int_if.cpp: At global scope:
    libcrystalhd_int_if.cpp:1472:18: warning: 'BC_STATUS DtsCopy422ToYV12(uint8_t*, uint8_t*, const uint8_t*, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)' defined but not used [-Wunused-function]
    static BC_STATUS DtsCopy422ToYV12(uint8_t *dstY, uint8_t *dstUV, const uint8_t *srcY, uint32_t srcWidth, uint32_t dstWidth, uint32_t height, uint32_t strideY, uint32_t strideUV)
    ^
    libcrystalhd_int_if.cpp:1675:18: warning: 'BC_STATUS DtsCopy420ToYV12(uint8_t*, uint8_t*, const uint8_t*, const uint8_t*, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)' defined but not used [-Wunused-function]
    static BC_STATUS DtsCopy420ToYV12(uint8_t *dstY, uint8_t *dstUV, const uint8_t *srcY, const uint8_t *srcUV, uint32_t srcWidth, uint32_t dstWidth, uint32_t height, uint32_t strideY, uint32_t strideUV)
    ^
    g++ -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -c -o libcrystalhd_fwcmds.o libcrystalhd_fwcmds.cpp
    g++ -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -c -o libcrystalhd_priv.o libcrystalhd_priv.cpp
    g++ -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -c -o libcrystalhd_fwdiag_if.o libcrystalhd_fwdiag_if.cpp
    g++ -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -c -o libcrystalhd_fwload_if.o libcrystalhd_fwload_if.cpp
    g++ -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -c -o libcrystalhd_parser.o libcrystalhd_parser.cpp
    libcrystalhd_parser.cpp: In function 'BC_STATUS DtsAddH264SCode(HANDLE, uint8_t**, uint32_t*, uint64_t*)':
    libcrystalhd_parser.cpp:542:11: warning: variable 'pNALU' set but not used [-Wunused-but-set-variable]
    uint8_t *pNALU = NULL;
    ^
    libcrystalhd_parser.cpp:543:11: warning: variable 'ulNalSize' set but not used [-Wunused-but-set-variable]
    uint32_t ulNalSize = 0;
    ^
    g++ -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -Wl,-soname,libcrystalhd.so.3 -pthread -o libcrystalhd.so.3.6 libcrystalhd_if.o libcrystalhd_int_if.o libcrystalhd_fwcmds.o libcrystalhd_priv.o libcrystalhd_fwdiag_if.o libcrystalhd_fwload_if.o libcrystalhd_parser.o
    ln -sf libcrystalhd.so.3.6 libcrystalhd.so
    ln -sf libcrystalhd.so.3.6 libcrystalhd.so.3
    mkdir -p /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/lib
    mkdir -p /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/lib/firmware
    mkdir -p /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd
    cp libcrystalhd_if.h /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/
    chmod 0644 /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/libcrystalhd_if.h
    cp ../../include/bc_dts_defs.h /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/
    chmod 0644 /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/bc_dts_defs.h
    cp ../../include/bc_dts_types.h /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/
    chmod 0644 /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/bc_dts_types.h
    cp ../../include/libcrystalhd_version.h /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/
    chmod 0644 /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/libcrystalhd_version.h
    cp ../../firmware/fwbin/70012/bcm70012fw.bin /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/lib/firmware/
    chmod 0644 /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/lib/firmware/bcm70012fw.bin
    cp ../../firmware/fwbin/70015/bcm70015fw.bin /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/lib/firmware/
    chmod 0644 /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/lib/firmware/bcm70015fw.bin
    install -m 755 libcrystalhd.so.3.6 /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/lib
    (cd /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/lib; ln -sf libcrystalhd.so.3.6 libcrystalhd.so)
    (cd /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/lib; ln -sf libcrystalhd.so.3.6 libcrystalhd.so.3)
    ==> Tidying install...
    -> Purging unwanted files...
    -> Removing libtool files...
    -> Removing static library files...
    -> Compressing man and info pages...
    -> Stripping unneeded symbols from binaries and libraries...
    ==> Creating package "libcrystalhd-git"...
    -> Generating .PKGINFO file...
    -> Generating .MTREE file...
    -> Compressing package...
    ==> Leaving fakeroot environment.
    ==> Finished making: libcrystalhd-git 20130503-2 (Sun Feb 1 14:04:45 UTC 2015)
    ==> Continue installing libcrystalhd-git ? [Y/n]
    ==> [v]iew package contents [c]heck package with namcap
    ==> ---------------------------------------------------
    ==> y
    loading packages...
    resolving dependencies...
    looking for conflicting packages...
    Packages (1) libcrystalhd-git-20130503-2
    Total Installed Size: 3.67 MiB
    :: Proceed with installation? [Y/n] y
    (1/1) checking keys in keyring [###########################################] 100%
    (1/1) checking package integrity [###########################################] 100%
    (1/1) loading package files [###########################################] 100%
    (1/1) checking for file conflicts [###########################################] 100%
    (1/1) checking available disk space [###########################################] 100%
    (1/1) installing libcrystalhd-git [###########################################] 100%
    ==> Making package: crystalhd-git 20130503-1 (Sun Feb 1 14:04:59 UTC 2015)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Found devinitFix.patch
    ==> Validating source files with md5sums...
    devinitFix.patch ... Passed
    ==> Extracting sources...
    ==> Entering fakeroot environment...
    ==> Starting package()...
    ==> Connecting to the GIT server....
    Cloning into 'crystalhd'...
    remote: Counting objects: 2006, done.
    remote: Compressing objects: 100% (385/385), done.
    remote: Total 2006 (delta 1351), reused 2006 (delta 1351)
    Receiving objects: 100% (2006/2006), 3.55 MiB | 616.00 KiB/s, done.
    Resolving deltas: 100% (1351/1351), done.
    Checking connectivity... done.
    patching file driver/linux/crystalhd_cmds.c
    patching file driver/linux/crystalhd_lnx.c
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    autoreconf: Entering directory `.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal --force
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    autoreconf: configure.ac: tracing
    autoreconf: configure.ac: not using Libtool
    autoreconf: running: /usr/bin/autoconf --force
    autoreconf: configure.ac: not using Autoheader
    autoreconf: configure.ac: not using Automake
    autoreconf: Leaving directory `.'
    checking for ld... ld
    configure: creating ./config.status
    config.status: creating ./Makefile
    make -C /lib/modules/3.18.4-1-ARCH/build SUBDIRS=/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux modules
    make[1]: Entering directory '/usr/lib/modules/3.18.4-1-ARCH/build'
    test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
    echo >&2; \
    echo >&2 " ERROR: Kernel configuration is invalid."; \
    echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
    echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
    echo >&2 ; \
    /bin/false)
    mkdir -p /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_versions ; rm -f /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_versions/*
    make -f ./scripts/Makefile.build obj=/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux
    gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd_lnx.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd_lnx)" -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_crystalhd_lnx.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_lnx.c
    if [ "-pg" = "-pg" ]; then if [ /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_lnx.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_lnx.o"; fi; fi;
    gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd_misc.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd_misc)" -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_crystalhd_misc.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_misc.c
    if [ "-pg" = "-pg" ]; then if [ /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_misc.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_misc.o"; fi; fi;
    gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd_cmds.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd_cmds)" -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_crystalhd_cmds.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_cmds.c
    if [ "-pg" = "-pg" ]; then if [ /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_cmds.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_cmds.o"; fi; fi;
    gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd_hw.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd_hw)" -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_crystalhd_hw.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.c
    if [ "-pg" = "-pg" ]; then if [ /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.o"; fi; fi;
    gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd_linkfuncs.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd_linkfuncs)" -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_crystalhd_linkfuncs.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_linkfuncs.c
    if [ "-pg" = "-pg" ]; then if [ /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_linkfuncs.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_linkfuncs.o"; fi; fi;
    gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd_fleafuncs.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd_fleafuncs)" -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_crystalhd_fleafuncs.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c
    /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c: In function 'crystalhd_flea_set_power_state':
    /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c:619:14: warning: 'regVal' may be used uninitialized in this function [-Wmaybe-uninitialized]
    if(!(regVal & BCHP_DDR23_CTL_REGS_0_CTL_STATUS_idle_MASK))
    ^
    /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c:566:11: note: 'regVal' was declared here
    uint32_t regVal;
    ^
    if [ "-pg" = "-pg" ]; then if [ /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.o"; fi; fi;
    gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd_flea_ddr.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd_flea_ddr)" -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_crystalhd_flea_ddr.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c
    if [ "-pg" = "-pg" ]; then if [ /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.o"; fi; fi;
    ld -m elf_i386 -r -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_lnx.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_misc.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_cmds.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_linkfuncs.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.o ; scripts/mod/modpost /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o
    WARNING: /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o(.init.text+0x292): Section mismatch in reference from the function chd_dec_pci_probe() to the function .exit.text:chd_pci_release_mem()
    The function __init chd_dec_pci_probe() references
    a function __exit chd_pci_release_mem().
    This is often seen when error handling in the init function
    uses functionality in the exit path.
    The fix is often to remove the __exit annotation of
    chd_pci_release_mem() so it may be used outside an exit section.
    WARNING: /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o(.init.text+0x47a): Section mismatch in reference from the function chd_dec_pci_probe() to the function .exit.text:chd_dec_release_chdev()
    The function __init chd_dec_pci_probe() references
    a function __exit chd_dec_release_chdev().
    This is often seen when error handling in the init function
    uses functionality in the exit path.
    The fix is often to remove the __exit annotation of
    chd_dec_release_chdev() so it may be used outside an exit section.
    WARNING: /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o(.data+0x10): Section mismatch in reference from the variable bc_chd_driver to the function .init.text:chd_dec_pci_probe()
    The variable bc_chd_driver references
    the function __init chd_dec_pci_probe()
    If the reference is valid then annotate the
    variable with __init* or __refdata (see linux/init.h) or name the variable:
    *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
    (cat /dev/null; echo kernel//tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.ko;) > /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/modules.order
    make -f ./scripts/Makefile.modpost
    find /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_versions -name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost -m -i ./Module.symvers -I /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/Module.symvers -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/Module.symvers -w -s -T -
    WARNING: /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o(.init.text+0x292): Section mismatch in reference from the function chd_dec_pci_probe() to the function .exit.text:chd_pci_release_mem()
    The function __init chd_dec_pci_probe() references
    a function __exit chd_pci_release_mem().
    This is often seen when error handling in the init function
    uses functionality in the exit path.
    The fix is often to remove the __exit annotation of
    chd_pci_release_mem() so it may be used outside an exit section.
    WARNING: /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o(.init.text+0x47a): Section mismatch in reference from the function chd_dec_pci_probe() to the function .exit.text:chd_dec_release_chdev()
    The function __init chd_dec_pci_probe() references
    a function __exit chd_dec_release_chdev().
    This is often seen when error handling in the init function
    uses functionality in the exit path.
    The fix is often to remove the __exit annotation of
    chd_dec_release_chdev() so it may be used outside an exit section.
    WARNING: /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o(.data+0x10): Section mismatch in reference from the variable bc_chd_driver to the function .init.text:chd_dec_pci_probe()
    The variable bc_chd_driver references
    the function __init chd_dec_pci_probe()
    If the reference is valid then annotate the
    variable with __init* or __refdata (see linux/init.h) or name the variable:
    *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
    gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd.mod.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd.mod)" -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -DMODULE -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.mod.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.mod.c
    ld -r -m elf_i386 -T ./scripts/module-common.lds --build-id -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.ko /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.mod.o
    make[1]: Leaving directory '/usr/lib/modules/3.18.4-1-ARCH/build'
    ==> Tidying install...
    -> Purging unwanted files...
    -> Removing libtool files...
    -> Removing static library files...
    -> Compressing man and info pages...
    -> Stripping unneeded symbols from binaries and libraries...
    ==> Creating package "crystalhd-git"...
    -> Generating .PKGINFO file...
    -> Adding install file...
    -> Generating .MTREE file...
    -> Compressing package...
    ==> Leaving fakeroot environment.
    ==> Finished making: crystalhd-git 20130503-1 (Sun Feb 1 14:05:44 UTC 2015)
    ==> Continue installing crystalhd-git ? [Y/n]
    ==> [v]iew package contents [c]heck package with namcap
    ==> ---------------------------------------------------
    ==> y
    loading packages...
    resolving dependencies...
    looking for conflicting packages...
    Packages (1) crystalhd-git-20130503-1
    Total Installed Size: 0.10 MiB
    :: Proceed with installation? [Y/n] y
    (1/1) checking keys in keyring [###########################################] 100%
    (1/1) checking package integrity [###########################################] 100%
    (1/1) loading package files [###########################################] 100%
    (1/1) checking for file conflicts [###########################################] 100%
    error: failed to commit transaction (conflicting files)
    crystalhd-git: /lib exists in filesystem
    Errors occurred, no packages were upgraded.
    ==> WARNING: Your packages are saved in /tmp/yaourt-tmp-eugen

  • [SOLVED] Problem compiling kernel for an Arch install on USB pendrive

    I've installed Arch linux to a USB pendrive and I'm building a kernel for my specific hardware (Acer Aspire One) so as there is no kernel26.img file needed. 
    I've used gothicknight's custom kernel but it doesn't work for me as it doesn't recognise my USB stick (/dev/sdb).  Instead, it just recognises the SSD (/dev/sda).  I believe the standard Arch kernel uses a "hook" called "usb" in order to work from a USB stick - at least that's how I've got the current (default) Archlinux kernel working.
    I'm not that skilled at linux and am still quite new to kernel compilation (I've done it once or twice before and, yes, I've read the ArchWiki articles - both of them).  Can anyone tell me what I should do to get things working on a USB stick install?
    Kind regards
    Last edited by Shagbag (2008-09-30 20:27:49)

    Solved it.  I didn't need to recompile.  I just needed to add 'rootdelay=5' as a kernel boot parameter.

  • [SOLVED] Error compiling systray patch for dwm 6.0

    Hello folks.
    This is makepkg's output.
    ┌─[parazyd][archbox][~/dwm]
    └──╼ makepkg -ef
    ==> Making package: dwm 6.0-1 (Wed Nov 19 17:33:05 CET 2014)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> WARNING: Using existing src/ tree
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    dwm build options:
    CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/include/X11 -D_FORTIFY_SOURCE=2 -DVERSION="6.0" -DXINERAMA
    LDFLAGS = -s -L/usr/lib -lc -L/usr/lib/X11 -lX11 -L/usr/lib/X11 -lXinerama
    CC = cc
    CC dwm.c
    In file included from dwm.c:329:0:
    config.h:67:1: warning: initialization from incompatible pointer type
    static const char *scratchpadcmd[] = { termcmd, "-title", scratchpadname, "-geometry", "150x40", NULL };
    ^
    config.h:67:1: warning: (near initialization for ‘scratchpadcmd[0]’)
    dwm.c: In function ‘cleanup’:
    dwm.c:551:5: error: ‘showsystray’ undeclared (first use in this function)
    if(showsystray) {
    ^
    dwm.c:551:5: note: each undeclared identifier is reported only once for each function it appears in
    dwm.c: In function ‘clientmessage’:
    dwm.c:593:5: error: ‘showsystray’ undeclared (first use in this function)
    if(showsystray && cme->window == systray->win && cme->message_type == netatom[NetSystemTrayOP]) {
    ^
    dwm.c: In function ‘drawbar’:
    dwm.c:866:6: error: ‘showsystray’ undeclared (first use in this function)
    if(showsystray && m == selmon)
    ^
    dwm.c: In function ‘getsystraywidth’:
    dwm.c:1124:5: error: ‘showsystray’ undeclared (first use in this function)
    if(showsystray)
    ^
    dwm.c:1125:42: error: ‘systrayspacing’ undeclared (first use in this function)
    for(i = systray->icons; i; w += i->w + systrayspacing, i = i->next);
    ^
    dwm.c:1125:56: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    for(i = systray->icons; i; w += i->w + systrayspacing, i = i->next);
    ^
    dwm.c: In function ‘keypress’:
    dwm.c:1252:2: warning: ‘XKeycodeToKeysym’ is deprecated (declared at /usr/include/X11/Xlib.h:1699) [-Wdeprecated-declarations]
    keysym = XKeycodeToKeysym(dpy, (KeyCode)ev->keycode, 0);
    ^
    dwm.c: In function ‘removesystrayicon’:
    dwm.c:1541:6: error: ‘showsystray’ undeclared (first use in this function)
    if(!showsystray || !i)
    ^
    dwm.c: In function ‘resizebarwin’:
    dwm.c:1560:5: error: ‘showsystray’ undeclared (first use in this function)
    if(showsystray && m == selmon)
    ^
    dwm.c: In function ‘togglebar’:
    dwm.c:1996:5: error: ‘showsystray’ undeclared (first use in this function)
    if(showsystray) {
    ^
    dwm.c: In function ‘updatebars’:
    dwm.c:2130:6: error: ‘showsystray’ undeclared (first use in this function)
    if(showsystray && m == selmon)
    ^
    dwm.c: In function ‘updatesystrayiconstate’:
    dwm.c:2343:6: error: ‘showsystray’ undeclared (first use in this function)
    if(!showsystray || !i || ev->atom != xatom[XembedInfo] ||
    ^
    dwm.c: In function ‘updatesystray’:
    dwm.c:2372:6: error: ‘showsystray’ undeclared (first use in this function)
    if(!showsystray)
    ^
    dwm.c:2378:79: error: ‘DC’ has no member named ‘sel’
    systray->win = XCreateSimpleWindow(dpy, root, x, selmon->by, w, bh, 0, 0, dc.sel[ColBG]);
    ^
    dwm.c:2382:28: error: ‘DC’ has no member named ‘norm’
    wa.background_pixel = dc.norm[ColBG];
    ^
    dwm.c:2402:8: error: ‘systrayspacing’ undeclared (first use in this function)
    w += systrayspacing;
    ^
    dwm.c: In function ‘wintosystrayicon’:
    dwm.c:2509:6: error: ‘showsystray’ undeclared (first use in this function)
    if(!showsystray || !w)
    ^
    Makefile:18: recipe for target 'dwm.o' failed
    make: *** [dwm.o] Error 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    I'm trying to apply systray to my dwm-6.0, but I get errors when compiling and I'm not exactly sure what's the problem. Could anyone help?
    Here's the dwm.c after applying the patch: http://pastebin.com/Aie3Uw0n
    This is my dwm.c prior to patching (this one works): http://pastebin.com/ra0NhGnV
    And here's Unia's patch I'm trying to use: https://github.com/Unia/dwm-patches/blo … stray.diff
    Any help would be kindly appreciated.
    -- mod note: split from https://bbs.archlinux.org/viewtopic.php?id=92895&p=28 - Trilby --
    Last edited by parazyd (2014-11-19 17:03:03)

    Thanks a lot for that. Now I seem to be stuck on another thing :-/
    I have no idea what to do...
    ==> Making package: dwm 6.0-1 (Wed Nov 19 17:39:04 CET 2014)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> WARNING: Using existing src/ tree
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    dwm build options:
    CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/include/X11 -D_FORTIFY_SOURCE=2 -DVERSION="6.0" -DXINERAMA
    LDFLAGS = -s -L/usr/lib -lc -L/usr/lib/X11 -lX11 -L/usr/lib/X11 -lXinerama
    CC = cc
    CC dwm.c
    In file included from dwm.c:329:0:
    config.h:25:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
    tatic const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */
    ^
    In file included from dwm.c:329:0:
    config.h:71:1: warning: initialization from incompatible pointer type
    static const char *scratchpadcmd[] = { termcmd, "-title", scratchpadname, "-geometry", "150x40", NULL };
    ^
    config.h:71:1: warning: (near initialization for ‘scratchpadcmd[0]’)
    dwm.c: In function ‘keypress’:
    dwm.c:1252:2: warning: ‘XKeycodeToKeysym’ is deprecated (declared at /usr/include/X11/Xlib.h:1699) [-Wdeprecated-declarations]
    keysym = XKeycodeToKeysym(dpy, (KeyCode)ev->keycode, 0);
    ^
    dwm.c: In function ‘updatesystray’:
    dwm.c:2378:79: error: ‘DC’ has no member named ‘sel’
    systray->win = XCreateSimpleWindow(dpy, root, x, selmon->by, w, bh, 0, 0, dc.sel[ColBG]);
    ^
    dwm.c:2382:28: error: ‘DC’ has no member named ‘norm’
    wa.background_pixel = dc.norm[ColBG];
    ^
    Makefile:18: recipe for target 'dwm.o' failed
    make: *** [dwm.o] Error 1
    ==> ERROR: A failure occurred in build().
    Aborting...

  • [SOLVED] Error compiling compat-wireless

    Bugged by permanent connection drops with ath9k, I want to try out compat-wireless. Got compat-wireless-2.6.31-rc7 from here. The driver-select script mentioned on the website is not present in the source, and the included readme makes no mention of it.
    When I run "make", it aborts with following error:
    [user@arch compat-wireless-2.6.31-rc7]$ make
    make -C /lib/modules/2.6.31-ARCH/build M=/home/user/compat-wireless-2.6.31-rc7 modules
    make[1]: Entering directory `/usr/src/linux-2.6.31-ARCH'
    make[3]: *** No rule to make target `/home/user/compat-wireless-2.6.31-rc7/drivers/misc/eeprom/max6875.c', needed by `/home/user/compat-wireless-2.6.31-rc7/drivers/misc/eeprom/max6875.o'. Stop.
    make[2]: *** [/home/user/compat-wireless-2.6.31-rc7/drivers/misc/eeprom] Error 2
    make[1]: *** [_module_/home/user/compat-wireless-2.6.31-rc7] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.31-ARCH'
    make: *** [modules] Error 2
    The PKBUILD in Aur seems to have a typo and tries to install kernel26<=2.6.31 as a dependency, however since I do not understand what else it does I am not overly confident to just remove the dependency line in question.
    Anyone else got compat-wireless to compile?
    Last edited by hokasch (2009-10-28 09:58:47)

    Hmm, not overly enthusiastic to search for windows drivers at the moment... The problem got worse recently, before I just had a hotkey for "netcfg2 -r", now the module has to be unloaded/loaded also...
    However, just got a "Mission Accomplished" moment by changing wpa mode in the router config to "wpa2 only" (before: auto wpa/wpa2), no connection drops anymore for an unusual long period of time... Also, copying large files over the network would force it to break before, which is not happening now.
    But if this indeed fixes anything is still too early to say.
    edit: surfing, torrent running, copying 15gb from a network disk and no connection drop - this is unheard of so far. the only thing why I remain suspicious, there is no one else home, so maybe it will fail again when more people use the network. don't know what speed is considered "standard", I had ~2,7Mb/sec copying files.
    edit II: Crap. The connection was still dropping, but reconnected automatically. Before the connection was just broken, without any output in dmesg, and did not come up again by itself. That's where I'm back now.
    Last edited by hokasch (2009-10-27 16:56:38)

  • [SOLVED]Error compiling packettracer

    Today I downloaded a copy of packettracer from the AUR(which is awesome because I didn't think you could get it for free) and when I ran makepkg after extracting the package I ran into this:
    ==> Making package: packettracer 5.3.3-1 (Mon Feb 11 23:00:23 UTC 2013)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    ==> ERROR: PacketTracer533_Generic_Fedora.tar.gz was not found in the build directory and is not a URL.
    I'm not exactly sure what it means but I'm assuming that I need a Fedora package to go along with this? Seems odd.
    Last edited by xworld (2013-02-12 05:58:39)

    Oh I see. So it isn't free.. Oh well. Thanks for the quick response.
    EDIT: Hmmm, what if I happen to have PacketTracer533_Generic_Fedora.tar.gz? Nevermind. Solved.
    Last edited by xworld (2013-02-12 05:58:22)

  • [solved] Error compiling wpa_supplicant with broadcom_wl support

    Hello friends.
    I'm using the broadcom_wl driver for my bcm4312 card in my Dell XPS m1530 laptop. Unsecured wifi is tested and works fine.
    I need to use wpa_supplicant to connect to my university's wifi. The core package for wpa_supplicant is not compiled with broadcom support. I tried using the generic wext option, but I get
    Trying to associate with 00:11:92:90:de:e1 (SSID='restricted.utexas.edu' freq=2462 MHz)
    ioctl[SIOCSIWAP]: Device or resource busy
    Association request to the driver failed
    It looks like the generic wext option doesn't work for the bcm4312.
    So I tried to compile wpa_supplicant with broadcom support using ABS with this package: http://aur.archlinux.org/packages.php?ID=18511 from AUR. I enabled broadcom support in the config file and pointed it toward my local copy of wlioctl.h.
    Unfortunately, build() dies with
    In file included from /var/abs/local/broadcom/src/src/include/proto/802.11.h:39,
    from /var/abs/local/broadcom/src/src/include/wlioctl.h:38,
    from ../src/drivers/driver_broadcom.c:34:
    /var/abs/local/broadcom/src/src/include/proto/wpa.h:109:1: warning: this is the location of the previous definition
    ../src/drivers/driver_broadcom.c: In function 'wpa_driver_broadcom_event_receive':
    ../src/drivers/driver_broadcom.c:229: error: 'wl_wpa_header_t' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:229: error: (Each undeclared identifier is reported only once
    ../src/drivers/driver_broadcom.c:229: error: for each function it appears in.)
    ../src/drivers/driver_broadcom.c:229: error: 'wwh' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:240: error: expected expression before ')' token
    ../src/drivers/driver_broadcom.c:242: error: 'WL_WPA_ETHER_TYPE' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:244: error: 'wl_wpa_snap_template' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:250: error: 'WLC_ASSOC_MSG' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:251: error: 'WL_WPA_HEADER_LEN' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:271: error: 'WLC_DISASSOC_MSG' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:275: error: 'WLC_PTK_MIC_MSG' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:280: error: 'WLC_GTK_MIC_MSG' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c: In function 'wpa_driver_broadcom_get_scan_results':
    ../src/drivers/driver_broadcom.c:465: error: 'wl_bss_info_t' has no member named 'channel'
    ../src/drivers/driver_broadcom.c: In function 'wpa_driver_broadcom_associate':
    ../src/drivers/driver_broadcom.c:573: error: 'WLC_GET_WEP' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:576: error: 'WLC_SET_WEP' undeclared (first use in this function)
    make: *** [../src/drivers/driver_broadcom.o] Error 1
    ==> ERROR: Build Failed.
    I don't know c. Can someone decipher this error for me?
    Thanks in advance.
    EDIT: There are multiple versions of wlioctl.h floating around. I eventually got this to work with the version included with the wrt54g tarball. BUT, wpa_supplicant still had driver problems when being run with the -D broadcom option.
    I eventually got this working with ndiswrapper and instructions found here: https://help.ubuntu.com/community/WifiD … y_No-Fluff
    Pay special attention to the instruction:
    "This Chipset/PCI ID is the correct/reliable way to identify the device: Any other labels can be misleading (e.g., notice that both the '14e4:4311 (rev 02)' and '14e4:4319 (rev 02)' call themselves a "BCM4311 (Rev 02)", even though they are different devices)."
    Download the driver that matches the output of
    lspci -n | grep '14e4:43'
    Anyway, wpa_supplicant still gave me driver troubles when using the -D ndiswrapper option. However, it works well with -D wext.
    Tldr;
    -Your bcm4312 may actually be a BCM4310 (rev 01).
    -Use ndiswrapper with this driver: http://myspamb8.googlepages.com/R174291-pruned.zip
    -use wpa_supplicant with the -D wext option.
    Last edited by BurtHawk101 (2008-11-05 06:28:04)

    falconindy wrote:
    mkinitcpio needs to refuse to run without /dev mounted to avoid errors like this.
    mount -t devtmpfs devtmpfs /dev
    Thanks falconindy, works great now.

  • [SOLVED] Error compiling libdbusmenu 0.2.7-1

    I'm trying to install indicator-applet-bzr (that nice GNOME applet which lets you change pidgin status, login/shutdown etc from the Ayatana project)
    but the install fails with
    ==> ERROR: Makepkg was unable to build libdbusmenu."
    Here is output after configure:
    make  all-recursive
    make[1]: Entering directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7'
    Making all in libdbusmenu-glib
    make[2]: Entering directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7/libdbusmenu-glib'
    make  all-am
    make[3]: Entering directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7/libdbusmenu-glib'
      CC     libdbusmenu_glib_la-menuitem.lo
      CC     libdbusmenu_glib_la-menuitem-marshal.lo
      CC     libdbusmenu_glib_la-menuitem-proxy.lo
      CC     libdbusmenu_glib_la-server.lo
      CC     libdbusmenu_glib_la-server-marshal.lo
      CC     libdbusmenu_glib_la-client-menuitem.lo
      CC     libdbusmenu_glib_la-client.lo
      CCLD   libdbusmenu-glib.la
      GISCAN DbusmenuGlib-0.2.gir
      GICOMP DbusmenuGlib-0.2.gir
    library=DbusmenuGlib-0.2 DbusmenuGlib-0.2.gir
    /bin/sh: DbusmenuGlib-0.2.gir: command not found
    make[3]: [DbusmenuGlib-0.2.vapi] Error 127 (ignored)
    make[3]: Leaving directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7/libdbusmenu-glib'
    make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7/libdbusmenu-glib'
    Making all in libdbusmenu-gtk
    make[2]: Entering directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7/libdbusmenu-gtk'
      CC     libdbusmenu_gtk_la-client.lo
      CC     libdbusmenu_gtk_la-genericmenuitem.lo
      CC     libdbusmenu_gtk_la-menu.lo
      CC     libdbusmenu_gtk_la-menuitem.lo
      CCLD   libdbusmenu-gtk.la
      GISCAN DbusmenuGtk-0.2.gir
      GICOMP DbusmenuGtk-0.2.gir
    /bin/sed \
            -e "s|GdkPixbuf.Pixbuf|Gdk.Pixbuf|g" \
            -e "s|Atk.ImplementorIface|Atk.Implementor|g" \
            DbusmenuGtk-0.2.gir > DbusmenuGtk-0.2.tmp.gir
    library=DbusmenuGtk-0.2 \
            --pkg gdk-pixbuf-2.0 \
            --pkg gtk+-2.0 \
            --pkg atk \
            --pkg DbusmenuGlib-0.2 \
            --vapidir=../libdbusmenu-glib \
            DbusmenuGtk-0.2.tmp.gir
    /bin/sh: --pkg: command not found
    make[2]: [DbusmenuGtk-0.2.vapi] Error 127 (ignored)
    make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7/libdbusmenu-gtk'
    Making all in tools
    make[2]: Entering directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7/tools'
    Making all in testapp
    make[3]: Entering directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7/tools/testapp'
      CC     dbusmenu_testapp-main.o
      CCLD   dbusmenu-testapp
    make[3]: Leaving directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7/tools/testapp'
    make[3]: Entering directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7/tools'
      CC     dbusmenu_dumper-dbusmenu-dumper.o
      CCLD   dbusmenu-dumper
    make[3]: Leaving directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7/tools'
    make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7/tools'
    Making all in tests
    make[2]: Entering directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7/tests'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7/tests'
    Making all in po
    make[2]: Entering directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7/po'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7/po'
    make[2]: Entering directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7'
    make[2]: Nothing to be done for `all-am'.
    make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7'
    make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7'
    Making install in libdbusmenu-glib
    make[1]: Entering directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7/libdbusmenu-glib'
    make  install-am
    make[2]: Entering directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7/libdbusmenu-glib'
    library=DbusmenuGlib-0.2 DbusmenuGlib-0.2.gir
    /bin/sh: DbusmenuGlib-0.2.gir: command not found
    make[2]: [DbusmenuGlib-0.2.vapi] Error 127 (ignored)
    make[3]: Entering directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7/libdbusmenu-glib'
    test -z "/usr/lib" || /bin/mkdir -p "/tmp/yaourt-tmp-root/aur-libdbusmenu/pkg/usr/lib"
    /bin/sh ../libtool   --mode=install /bin/install -c   libdbusmenu-glib.la '/tmp/yaourt-tmp-root/aur-libdbusmenu/pkg/usr/lib'
    libtool: install: /bin/install -c .libs/libdbusmenu-glib.so.1.0.4 /tmp/yaourt-tmp-root/aur-libdbusmenu/pkg/usr/lib/libdbusmenu-glib.so.1.0.4
    libtool: install: (cd /tmp/yaourt-tmp-root/aur-libdbusmenu/pkg/usr/lib && { ln -s -f libdbusmenu-glib.so.1.0.4 libdbusmenu-glib.so.1 || { rm -f libdbusmenu-glib.so.1 && ln -s libdbusmenu-glib.so.1.0.4 libdbusmenu-glib.so.1; }; })
    libtool: install: (cd /tmp/yaourt-tmp-root/aur-libdbusmenu/pkg/usr/lib && { ln -s -f libdbusmenu-glib.so.1.0.4 libdbusmenu-glib.so || { rm -f libdbusmenu-glib.so && ln -s libdbusmenu-glib.so.1.0.4 libdbusmenu-glib.so; }; })
    libtool: install: /bin/install -c .libs/libdbusmenu-glib.lai /tmp/yaourt-tmp-root/aur-libdbusmenu/pkg/usr/lib/libdbusmenu-glib.la
    libtool: install: warning: remember to run `libtool --finish /usr/lib'
    test -z "/usr/share/gir-1.0" || /bin/mkdir -p "/tmp/yaourt-tmp-root/aur-libdbusmenu/pkg/usr/share/gir-1.0"
    /bin/install -c -m 644 DbusmenuGlib-0.2.gir '/tmp/yaourt-tmp-root/aur-libdbusmenu/pkg/usr/share/gir-1.0'
    test -z "/usr/include/libdbusmenu-0.1/libdbusmenu-glib/" || /bin/mkdir -p "/tmp/yaourt-tmp-root/aur-libdbusmenu/pkg/usr/include/libdbusmenu-0.1/libdbusmenu-glib/"
    /bin/install -c -m 644 menuitem.h menuitem-proxy.h server.h client.h '/tmp/yaourt-tmp-root/aur-libdbusmenu/pkg/usr/include/libdbusmenu-0.1/libdbusmenu-glib/'
    test -z "/usr/lib/pkgconfig" || /bin/mkdir -p "/tmp/yaourt-tmp-root/aur-libdbusmenu/pkg/usr/lib/pkgconfig"
    /bin/install -c -m 644 dbusmenu-glib.pc '/tmp/yaourt-tmp-root/aur-libdbusmenu/pkg/usr/lib/pkgconfig'
    test -z "/usr/lib/girepository-1.0" || /bin/mkdir -p "/tmp/yaourt-tmp-root/aur-libdbusmenu/pkg/usr/lib/girepository-1.0"
    /bin/install -c -m 644 DbusmenuGlib-0.2.typelib '/tmp/yaourt-tmp-root/aur-libdbusmenu/pkg/usr/lib/girepository-1.0'
    library=DbusmenuGlib-0.2 DbusmenuGlib-0.2.gir
    /bin/sh: DbusmenuGlib-0.2.gir: command not found
    make[3]: [DbusmenuGlib-0.2.vapi] Error 127 (ignored)
    test -z "/usr/share/vala/vapi" || /bin/mkdir -p "/tmp/yaourt-tmp-root/aur-libdbusmenu/pkg/usr/share/vala/vapi"
    /bin/install -c -m 644 ./DbusmenuGlib-0.2.vapi '/tmp/yaourt-tmp-root/aur-libdbusmenu/pkg/usr/share/vala/vapi'
    /bin/install: cannot stat `./DbusmenuGlib-0.2.vapi': No such file or directory
    make[3]: *** [install-vapiDATA] Error 1
    make[3]: Leaving directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7/libdbusmenu-glib'
    make[2]: *** [install-am] Error 2
    make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7/libdbusmenu-glib'
    make[1]: *** [install] Error 2
    make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-libdbusmenu/src/libdbusmenu-0.2.7/libdbusmenu-glib'
    make: *** [install-recursive] Error 1
    Last edited by kradle (2010-07-21 18:44:04)

    Managed to fix this.
    What I had to do was to manually install libdbusmenu-bzr and libindicate-bzr before attempting to install indicator-applet-bzr.

  • Error compiling std headers on SuSE 9.3 with 20070106

    This file:
    #include <cstring>
    #include <string>
    int main(){
      return 0;
    }gets this output:
    CC -g -c -v test.cpp
    ###     command line files and options (expanded):
    ### -g -c -v test.cpp
    ### CC: Note: NLSPATH = /usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat
    /usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/bin/ccfe -y-o -ytest.o -y-fbe -y/usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/bin/fbe -y-xarch=generic -y-xtab -y-verbose -O0 -ptf /tmp/06578%1.%2 -ptx /usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/bin/CC -ptk "-g -c -v " -D__i686__ -D__SUNPRO_CC=0x590 -Dunix -Di386 -D__i386 -D__i386__ -D__unix -D__unix__ -D__sun -D__BUILTIN_VA_ARG_INCR -D__linux -D__linux__ -Dlinux -D__gnu__linux__ -D__SUNPRO_CC_COMPAT=5 -g +d -y-g -xdbggen=no%dwarf2+stabs -I-xbuiltin -xldscope=global -instlib=/usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/lib/libCstd.a -I/usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/include/CC/Cstd -I/usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/include/CC -I/usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/include/CC/rw7 -I/usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/include/cc -y-comdat test.cpp -s /tmp/ccfe.06578.0.s >&/tmp/ccfe.06578.1.err
    rm /tmp/ccfe.06578.0.s
    /usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/bin/stdlibfilt -stderr </tmp/ccfe.06578.1.err
    "/usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/include/CC/Cstd/iosfwd", line 74: Error: mbstate_t is not defined.
    "/usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/include/CC/Cstd/iosfwd", line 75: Error: mbstate_t is not defined.
    "/usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 191: Error: "," expected instead of "state_type".
    "/usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 194: Error: Use ";" to terminate declarations.
    "/usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 261: Error: "," expected instead of "get_state".
    "/usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 265: Error: Use ";" to terminate declarations.
    "/usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 299: Error: "," expected instead of "state_type".
    "/usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 302: Error: Use ";" to terminate declarations.
    "/usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 410: Error: "," expected instead of "get_state".
    "/usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 414: Error: Use ";" to terminate declarations.
    "/usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 506: Error: The function "strstr" must have a prototype.
    "/usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 523: Error: The function "strcspn" must have a prototype.
    "/usr/local/anag/pkg/sunstudio-20060107/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 529: Error: The function "strspn" must have a prototype.
    13 Error(s) detected.I'm running SuSE 9.3, with kernel:
    2.6.11.4-21.10-default

    See my reply in this thread:
    http://forum.sun.com/thread.jspa?threadID=28760

  • Strange error compiling a custom kernel...

    Here is the error i get when compiling a custom kernel (i tried both 2.6.22 from core and 2.6.23 from testing):
    init/built-in.o: In function 'start_kernel':
    (.init.text.0x836): undefined reference to 'early_populated_rootfs'
    make: *** [.tmp_vmlinuz1] Error 1
    i have no idea of what it the problem, the config file it's the same i've used for all my 2.6.22 kernels, any idea?
    Thank you.

    This kind of error is when you forget to add a source file to gcc comand line during compilation. I think that problem might be in one of broken Makefiles in kernel tree. Maybe some patch messed with them. Try to download fresh kernel sources.

  • [SOLVED]Compiling kernel fails with segfault

    Hi guys,
    I'm out of answers.
    The situation :
    Compiling kernel randomly stops with : "segmentation fault" and never runs through.
    Reissuing make will make it continue until it will fail at some other point.
    Background:
    The system feels completely unstable to say the least, but nothing 100 % reproduceable ( vuze(java) crash, firefox/chromuim flash sites crash every 120 seconds, X crashes once a day , for instance when moving tvtime around, kernel oops daily, sometimes hard lockups, logs of yesterdays oops : http://pastie.org/private/imrqdzdbejdb3jxn4czuw )
    But only the kernel compile is 100 % reproduceable so this must be fixed asap.
    Specs:
    intel e8400,nvidia gtx260, 2 G ddr2,Gigabyte EP45-UD3R, "gigs of space", off. arch kernel 2.6.33-ARCH , x86_64,  "bigtime" cooling :
    cpu temps 50 C° max  during compiling
    What configs/packages are important ? I got paranoid and ditched my old makgepkg.conf and used a newer *.pacnew file , I used to have  :MAKEFLAGS="-j3" but not in this config :
    http://pastie.org/private/4ryshivi2hgyqenjlkicg
    local packages:
    local/gcc 4.5.0-1 (base-devel)
        The GNU Compiler Collection
    local/gcc-libs 4.5.0-1 (base)
        Runtime libraries shipped by GCC for C and C++ languages
    Anything else updated daily.
    The blowup:
    http://pastie.org/private/hoamev0sli7zapbr0xvpbq
    What I tried:
    fsck -f: it fixed two inodes, but still the same behavior
    badblocks -nvs : three hours of badblock testing, 0 hits
    memtest : two passed runs, no errors
    stress from AUR, 15 minutes :
    stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M --timeout 15m
    stress: info: [26841] dispatching hogs: 8 cpu, 4 io, 2 vm, 0 hdd
    stress: info: [26841] successful run completed in 900s
    Max coretemp was 52 C° during stress.
    The usual footnote statement ^_^ :
    On w7 _everything_ runs stable.
    And not only stable , I'm able to OC this box to 4.5 GHz and game under w7 without a prop for hours, well this is what it was build for at some point.
    Conclusion:
    So I'd say hardware wise this box kicks ass and now software wise my Arch kicks me in the a**.
    I doubt there is a faulty hardware part, but what else could it be ?
    Last edited by tuxfusion (2010-05-17 22:48:06)

    Update:
    Trying to compile another big package just to have another result, gcc itself now :
    - segfault after 4 m18 s
    - segfault after 5 m50 s
    Update²:
    I think I found a faulty BIOS setting in my non-OC profile concerning DRAM termination, which said "normal" where "auto" would be correct.
    My OC-profile has this setting correct and since I run this profile in Arch only it might explain that w7 did not fail.
    Still have to verify this but i makes perfect sense, only gcc seems to trigger this. Compiling gcc still running with over 10 minutes in the game now.
    After hitting 4.5 GHz with OC I must have reset the non OC-profile wrong.
    *slams head on desk*
    Last edited by tuxfusion (2010-05-17 13:10:04)

Maybe you are looking for