[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...

Similar Messages

  • 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

  • [SOLVED] Error running install command for soundcore

    Hi,
    I use OSSv4 instead of ALSA. Everything is working correctly but I noticed an error message in the bootlog:
    systemd-udevd[204]: Error running install command for soundcore
    What does this mean? Why is there an error?
    Of course I blacklisted the ALSA module as it is described in the wiki: https://wiki.archlinux.org/index.php/OSS#Install
    best regards
    nuc
    Last edited by nuc (2013-02-07 18:09:57)

    Ok, thanks for the info.
    But why does the wiki suggest to run "install soundcore /bin/false" instead of just "blacklist soundcore"? In earlier revisions the wiki suggested to do "blacklist soundcore" (https://wiki.archlinux.org/index.php?ti … did=231068).
    Doesn't this actually have the same effect?
    EDIT:
    I found this https://wiki.archlinux.org/index.php/Ke … acklisting
    Last edited by nuc (2013-01-27 18:20:01)

  • solved error: cannot resolve dependencies for "hal"

    Hello all,
    I tried doing a pacman -Syu today and recieved the following: error: cannot resolve dependencies for "hal"
    Then I did a pacman -S dbus-glib and got : dbus-glib: not found in sync db
    then I did pacman -S dbus and recieved the same message.
    Then I did pacman -S hal and got:
    error: cannot resolve dependencies for "hal":
    "dbus-glib" is not in the package set
    Am I missing something? Any help would be greatly appreciated.
    Oh man, in my fleeting moment of panic I didn't think things through and posted right away.
    I commented the following lines in pacman.conf and now it works
    #XferCommand = /usr/bin/aria2c -s 2 -m 2 -o %o %u
    #XferCommand = /usr/bin/pacget %u %o
    Not too sure why, but I am happy all is working.
    Last edited by Cancel (2007-02-17 08:15:54)

    I followed this wiki and it did make a difference. It is still very fast downloading packages.
    http://wiki.archlinux.org/index.php/Imp … erformance
    I haven't had a chance to uncomment those lines again to see if it still gives me errors, but you might have luck trying what the wiki suggests.
    After following the wiki, pacman tries a bunch of servers to give you the best speed possible (if I remember correctly). I hope this helps you.

  • [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!

  • [Solved] nmaster patch for DWM

    Hello all!
    I was using a very stock version of DWM. Now I want to get my hands dirty and customize it more.
    I downloaded the nmaster.c patch off of the official dwm website. I then made the changes to the config.h as directed by the website. I then placed the nmaster.c file in the same directory as the other dwm files. However, I try to compile it with makepkg -i --skipinteg and I get this:
    ==> Making package: dwm 5.8.2-2 (Wed Aug 11 18:12:03 CDT 2010)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Found dwm-5.8.2.tar.gz
    -> Found config.h
    -> Found dwm.desktop
    ==> WARNING: Skipping integrity checks.
    ==> Extracting Sources...
    -> Extracting dwm-5.8.2.tar.gz with bsdtar
    ==> Removing existing pkg/ directory...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    dwm build options:
    CFLAGS = -march=x86-64 -mtune=generic -O2 -pipe -g -std=c99 -pedantic -Wall -O0 -I. -I/usr/include -I/usr/include/X11 -DVERSION="5.8.2" -DXINERAMA
    LDFLAGS = -Wl,--hash-style=gnu -Wl,--as-needed -g -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:279:0:
    config.h:17:21: fatal error: nmaster.c: No such file or directory
    compilation terminated.
    make: *** [dwm.o] Error 1
    Aborting...
    What am I doing wrong?

    Wow, I put it in the wrong directory... 1 folder too high
    Here's my config.h http://pastebin.com/6K1wMTZz
    When I try to compile now, I get this error:
    In file included from config.h:17:0,
    from dwm.c:279:
    nmaster.c: In function 'incnmaster':
    nmaster.c:23:2: error: too few arguments to function 'arrange'
    dwm.c:157:13: note: declared here
    nmaster.c: In function 'setnmaster':
    nmaster.c:31:2: error: too few arguments to function 'arrange'
    dwm.c:157:13: note: declared here
    make: *** [dwm.o] Error 1

  • [SOLVED-ish] Useless gaps patch on dwm failing to build

    Trying to apply uselessgaps unsuccessfully.
    Here's the error at compilation:
    ┌─[parazyd][archbox][~/dwm]
    └──╼ makepkg -efi
    ==> Making package: dwm 6.0-2 (Wed Feb 18 00:45:08 CET 2015)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> WARNING: Using existing $srcdir/ tree
    ==> Removing existing $pkgdir/ directory...
    ==> Starting build()...
    dwm build options:
    CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/include/X11 -I /usr/include/freetype2 -D_FORTIFY_SOURCE=2 -DVERSION="6.0" -DXINERAMA
    LDFLAGS = -s -L/usr/lib -lc -L/usr/lib/X11 -lX11 -L/usr/lib/X11 -lXinerama -lXft -lfontconfig
    CC = cc
    CC dwm.c
    In file included from dwm.c:336:0:
    config.h:52:2: warning: initialization makes integer from pointer without a cast
    { "", tile }, /* first entry is default */
    ^
    config.h:52:2: warning: (near initialization for ‘layouts[0].addgaps’)
    config.h:52:2: error: initializer element is not computable at load time
    config.h:52:2: error: (near initialization for ‘layouts[0].addgaps’)
    config.h:53:2: warning: initialization makes integer from pointer without a cast
    { "", NULL }, /* no layout function means floating behavior */
    ^
    config.h:53:2: warning: (near initialization for ‘layouts[1].addgaps’)
    config.h:54:2: warning: initialization makes integer from pointer without a cast
    { "", monocle },
    ^
    config.h:54:2: warning: (near initialization for ‘layouts[2].addgaps’)
    config.h:54:2: error: initializer element is not computable at load time
    config.h:54:2: error: (near initialization for ‘layouts[2].addgaps’)
    config.h:55:2: warning: initialization makes integer from pointer without a cast
    { "", spiral },
    ^
    config.h:55:2: warning: (near initialization for ‘layouts[3].addgaps’)
    config.h:55:2: error: initializer element is not computable at load time
    config.h:55:2: error: (near initialization for ‘layouts[3].addgaps’)
    config.h:56:2: warning: initialization makes integer from pointer without a cast
    { "", dwindle },
    ^
    config.h:56:2: warning: (near initialization for ‘layouts[4].addgaps’)
    config.h:56:2: error: initializer element is not computable at load time
    config.h:56:2: error: (near initialization for ‘layouts[4].addgaps’)
    config.h:57:2: warning: initialization makes integer from pointer without a cast
    { "", bstack },
    ^
    config.h:57:2: warning: (near initialization for ‘layouts[5].addgaps’)
    config.h:57:2: error: initializer element is not computable at load time
    config.h:57:2: error: (near initialization for ‘layouts[5].addgaps’)
    In file included from dwm.c:336:0:
    config.h:75:1: warning: initialization from incompatible pointer type
    static const char *scratchpadcmd[] = { termcmd, "-title", scratchpadname, "-geometry", "160x40", NULL };
    ^
    config.h:75:1: warning: (near initialization for ‘scratchpadcmd[0]’)
    Makefile:18: recipe for target 'dwm.o' failed
    make: *** [dwm.o] Error 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    And here are dwm.c and config.h I want this to work with:
    https://raw.githubusercontent.com/paraz … ster/dwm.c
    https://raw.githubusercontent.com/paraz … r/config.h
    Any ideas on making this work?
    Last edited by parazyd (2015-02-19 06:01:15)

    jasonwryan wrote:
    The scratchpad error is pretty evident from your config.h; the others look like the uselessgaps patch needs updating...
    This, however, isn't a support thread as such.
    It's the uselessgaps I'm trying to fix. Do I just open a new thread?

  • Error while applying patch for SOA suite 10.1.3.4 on Weblogic 9.2 - URGENT

    Hi All,
    I am trying to apply a weblogic patch on SOA server but facing an error while applying the Opatch . I checked the accessibilty to opatch inventory by using the command % opatch lsinventory . This executed fine and there were no errors. But when I try applying the opatch I get the error -that some jars missing . Even if I replace the jars and try executing opatch again I face the same error . I googled a lot but couldnt find any solution . Please let me what can be done for solving this error .
    D:\7337034>opatch apply -oh D:\product\10.1.3.1\OracleAS_1
    Oracle Interim Patch Installer version 1.0.0.0.61
    Copyright (c) 2009 Oracle Corporation. All Rights Reserved..
    Oracle recommends you to use the latest OPatch version
    and read the OPatch documentation available in the OPatch/docs
    directory for usage. For information about the latest OPatch and
    other support-related issues, refer to document ID 293369.1
    available on My Oracle Support (https://myoraclesupport.oracle.com)
    Oracle Home : D:\product\10.1.3.1\OracleAS_1
    Oracle Home Inventory : D:\product\10.1.3.1\OracleAS_1\inventory
    Central Inventory : C:\Program Files\oracle\inventory
    from : N/A
    OUI location : D:\product\10.1.3.1\OracleAS_1\oui
    OUI shared library : D:\product\10.1.3.1\OracleAS_1\oui\lib\win32\oraInstalle
    r.dll
    Java location : "D:\product\10.1.3.1\OracleAS_1\jdk\jre\bin\java.exe"
    Log file location : D:\product\10.1.3.1\OracleAS_1/.patch_storage/<patch ID>
    /*.log
    Creating log file "D:\product\10.1.3.1\oracleas_1\.patch_storage\7337034\Apply_7
    337034_06-02-2009_13-39-26.log"
    Provide your email address to be informed of security issues, install and
    initiate Oracle Configuration Manager. Easier for you if you use your My
    Oracle Support Email address/User Name.
    Visit http://www.oracle.com/support/policies.html for details.
    Email address/User Name: [email protected]
    Provide your My Oracle Support password to receive security updates via your My
    Oracle Support account.
    Password (optional):
    Password (optional):
    Unable to establish a network connection to Oracle. If your systems require a
    proxy server for outbound Internet connections, enter the proxy server details
    in this format:
    [<proxy-user>@]<proxy-host>[:<proxy-port>]
    If you want to remain uninformed of critical security issues in your
    configuration, enter NONE
    Proxy specification: NONE
    ** Installing base package **
    Deploying core - Version 10.3.1.0.0
    Deploying engines - Version 10.2.7.1.0
    Deploying metricdata - Version 10.2.4.0.3
    Deploying scripts - Version 10.3.1.0.0
    Oracle Configuration Manager has been configured in disconnected mode. If the
    target ORACLE_HOME is running a database, please refer to the
    "Post-installation Database Configuration" section of the OCM Installation
    and Administration Guide
    (http://www.oracle.com/technology/documentation/ocm.html) to complete the
    installation.
    View configuration data reports and access valuable configuration best
    practices by going to My Oracle Support.
    Backing up comps.xml ...
    OPatch detected non-cluster Oracle Home from the inventory and will patch the lo
    cal system only.
    Please shut down Oracle instances running out of this ORACLE_HOME
    (Oracle Home = d:\product\10.1.3.1\oracleas_1)
    Is this system ready for updating?
    Please respond Y|N >
    y
    Applying patch 7337034...
    Patching jar files...
    OPatch encounters the following issues during file patching:
    The following java archives on Windows had problems with being patched:
    1. orabpel.jar
    [ object: DomainFilter.class ]
    2. orabpel.jar
    [ object: AdapterFrameworkListenerImpl$RoutingRuleXPathInfo.class ]
    3. D:\product\10.1.3.1\oracleas_1\integration\esb\lib\orabpel.jar
    [ No java archive file found. ]
    4. orabpel.jar
    [ Couldn't make backup copy of file. ]
    5. D:\product\10.1.3.1\oracleas_1\integration\esb\lib\orabpel.jar
    [ No java archive file found. ]
    6. orabpel.jar
    [ Couldn't make backup copy of file. ]
    7. D:\product\10.1.3.1\oracleas_1\integration\esb\lib\orabpel.jar
    [ No java archive file found. ]
    8. D:\product\10.1.3.1\oracleas_1\integration\esb\lib\orabpel.jar
    [ No java archive file found. ]
    9. orabpel.jar
    [ Couldn't make backup copy of file. ]
    Replying 'Y' will terminate the patch installation immediately. It WILL NOT rest
    ore any updates that have been performed to this point. It WILL NOT update the i
    nventory.
    Replying 'N' will update the inventory showing the patch has been applied.
    NOTE: After replying either 'Y' or 'N' it is critical to review:
    My Oracle Support Note 312767.1 How to rollback a failed Interim patch ins
    tallation.
    Do you want to STOP?
    Please respond Y|N >
    y
    File Patching Error!
    ERROR: OPatch failed during patching, possibly due to missing files.
    OPatch returns with error code = 200

    Hi , I am facing the same issue.
    were you able to resolve it.
    please let me know if you were.
    Many Thanks.

  • [SOLVED] Applying bottom stack patch to dwm

    I have finally moved to a tiling window manager and am finding it equal parts rewarding and frustrating. I'm using dwm-5.6.1-1.
    I would like to apply the bottom stack patch but, after having read the instructions on the dwm site I get the following error:
    can't find file to patch at input line 37
    Perhaps you used the wrong -p or --strip option?
    I used -p0 as the patch page states: http://dwm.suckless.org/patches/bottom_stack
    I have also looked at these couple of posts to try and work it out, but the advice seems to conflict:
    http://bbs.archlinux.org/viewtopic.php?id=78263
    http://bbs.archlinux.org/viewtopic.php?id=61499
    Is there a definitive way to apply the patch, or should I just skulk back to a simpler WM?
    /edit
    OK: so after some experimentation, it works... The updated dwm patch page and the second post solved it.
    Last edited by jasonwryan (2009-09-09 00:11:28)

    axion419 wrote:
    sorry to sound dense, I am at work and not at teh dwm pc at home.  After I patch, do I just stick this in
    '+    { "TTT",      bstack },'
    Yes, that line, exactly.

  • [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.

  • [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 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] Error building vanilla kernel for PS3

    I installed all the base packages for ArchPPC and have chrooted into it. I downloaded/uncompressed kernel 2.6.24 from kernel.org and ran `cp arch/powerpc/configs/ps3_defconfig .config`. The first time, I went straight to make after that. That gave me the error "linux-2.6.24/scripts/gcc-version.sh: line 26: printf: #: invalid number". So I ran pacman -Sy gcc3, then edited my Makefile setting HOSTCC=gcc-3.3, HOSTCXX=g++-3.3, and CC=gcc-3.3.
    Now when I run make (after doing make clean) the first error I get is:
    include/asm/mmu-hash64.h:437: error: `SID_SHIFT' undeclared (first use in this function)
    Any ideas?
    Last edited by Erroneous (2008-03-07 21:51:51)

    You need a ppc64 cross-compiler to build a ps3 kernel. You can use the crosstool pkgbuilds from here: http://kth5.telekommunisten.net/archlinux/crosstools/
    All you need to do is to replace the 32 bit ppc targets with powerpc64-unknown-linux-gnu and it should build fine.

  • [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)

  • Error compiling "Undefined symbols for architecture armv6:"

    Hey, I seem to be getting errors like this a lot... I only just started making apps yesterday, so they are all still very basic, but I was wondering if I am doing something wrong when I import frameworks?
    This may be caused from something else entirely, but this is what I seem to think is causing it...
    Basically the error I'm getting is:
    Undefined symbols for architecture armv6:
    "_kUTTypeImage", referenced from:
    -[CameraViewController(CameraDelegateMethods) imagePickerController:didFinishPickingMediaWithInfo:] in CameraViewController.o
    -[CameraViewController(CameraDelegateMethods) startCameraControllerFromViewController:usingDelegate:] in CameraViewController.o
    "_kUTTypeMovie", referenced from:
    -[CameraViewController(CameraDelegateMethods) imagePickerController:didFinishPickingMediaWithInfo:] in CameraViewController.o
    "_OBJC_CLASS_$_CameraViewController", referenced from:
    objc-class-ref in CameraViewController.o
    l_OBJC_$_CATEGORY_CameraViewController_$_CameraDelegateMethods in CameraViewController.o
    ld: symbol(s) not found for architecture armv6
    collect2: ld returned 1 exit status
    As you can probably tell, I am trying to make a very simple camera app. Most of the code is copied and pasted straight from apple's site.
    If it would help I can put the full source code I have so far on these forums, just let me know.
    Thanks for any help!

    I've got this error while importing a project from XCode 3 to XCode 4
    A simple workaround which has worked for me was :
    1) Start a new project from scratch in XCode 4 using a template... I know, it should be tedious... ;-(
    2) You should change the build settings  « Architectures » of your project (under TARGETS) to compile with « armv6 » instead of the default value which is « Standard (armv7) »
    Double click « Standard (armv7) » in the « Architectures » setting 
    Add « armv6 » in the popup after clicking « + » button in the bottom-left of the popup

Maybe you are looking for