Wine Doesn't Compile [SOLVED]

Normally I would have stuck with Wine 1.1.11 in the official repository, but I want to try the stable version. However, whenever I try to compile ANY version of wine, it says that gcc failed and that it could not compile the dlls...
Last edited by ShadowKyogre (2008-12-24 20:35:02)

Okay, I'll recompile it again and give the errors.
audio.o: In function `ESD_CloseWaveInDevice':
audio.c:(.text+0x20f4): undefined reference to `esd_close'
audio.o: In function `ESD_widMessage':
audio.c:(.text+0x2d38): undefined reference to `esd_record_stream'
audio.o: In function `ESD_CloseWaveOutDevice':
audio.c:(.text+0x3044): undefined reference to `esd_close'
audio.o: In function `ESD_wodMessage':
audio.c:(.text+0x44b8): undefined reference to `esd_play_stream'
audio.o: In function `ESD_WaveInit':
audio.c:(.text+0x4893): undefined reference to `esd_open_sound'
audio.c:(.text+0x48a9): undefined reference to `esd_close'
collect2: ld returned 1 exit status
winegcc: gcc failed
make[2]: *** [wineesd.drv.so] Error 2
make[2]: Leaving directory `/home/shadowkyogre/Desktop/wine-stable/src/wine-1.0.1/dlls/wineesd.drv'
make[1]: *** [wineesd.drv] Error 2
make[1]: Leaving directory `/home/shadowkyogre/Desktop/wine-stable/src/wine-1.0.1/dlls'
make: *** [dlls] Error 2
Not sure if the first few lines of audio are important or not.
Last edited by ShadowKyogre (2008-12-24 17:40:57)

Similar Messages

  • [OCaml, lablgtk2, lablrsvg] My program doesn't compile (solved)

    Hi,
    I wrote few months ago (I used Ubuntu at that time, I just have installed ArchLinux one week ago) a little OCaml program which makes use of the lablgtk2 and lablrsvg libraries (OCaml bindings to gtk2 and rsvg).
    I installed ocaml and lablgtk2 (which normally contains lablrsvg, librsvg being flagged as a dependency), but when I try to compile, I get an error :
    $ ocamlc -w ys -I +lablgtk2 lablgtk.cma gtkInit.cmo lablrsvg.cma unix.cma entrelacs.cmo io.cmo entrelacs_IHM.ml -o Entrelacs
    File "entrelacs_IHM.ml", line 1, characters 0-1:
    Error: The file /usr/lib/ocaml/lablgtk2/lablrsvg.cma is not a bytecode object file
    make: *** [Entrelacs] Erreur 2
    The others files entrelacs.cmo and io.cmo doesn't need lablgtk2 (nor lablrsvg), and they compiled fine.
    In /usr/lib/ocaml/lablgtk2/, the file lablrsvg.cma exists, and `file' tells me that this is an "Objective caml library file (.cma) (Version 007)"
    The same program compiled fine when I used Ubuntu.
    What's wrong?
    Thank you
    (solved after the update of lablgtk2 today)
    Fractal
    Last edited by Fractal (2009-09-10 08:22:31)

    Things tend to move fasterYep... until something goes wrong... then you're completely stuffed, because you have no idea what's actually happening, because the idjit IDE is hiding all the gory details... it doesn't even tell you what it's doing, let alone how it's doing it, or what to do when it fails.
    Another argument for the command line is that it's simple. There are 16 distinct dialogues involved in adding a new jar to a library in jBuilder... There may well be less than 16 characters in the equivalent edition to the equivalent build command line. That's an extreme case, I admit, but it goes to disprove the notion that IDE's are simpler for noobs.
    Also, it's easier to get help on command line usage... because it's all text based you can just copy & paste the problematic command and it's output, and the eggspurts (tm) can do likewise with a response... and there are limited number of command lines out there... and *nix, windows, and mac cover maybe 99.5% of java users... and the eggspurts are likely to know all three (colectively if not as individuals) fairly well, because they deal with them all day every day.
    My belief is that noob's are better off at the command line until such time as they need (not just want to play with) a visual debugger... at which time its time to download netbeans and eclipse, and see which one suits you better... if you have money to splurge I'd also evaluate intelliJ... But avoid jBuilder, 2008 is total carp! The FREE eclipse is (IMHO) "nicer to use", and it has a LOT less bugs.
    Cheers. Keith.

  • Wine doesn't compile with abs

    Hi all,
    today I tried to compile wine from source using the abs PKGBUILD. This fails in the late compiling process during making cdrom.o. I did not change anything. I just did 'makepkg' as a normal user in my private abs tree. This should not happen!  Can anybody verify that?
    I did this because I wanted to test a patch which should solve a problem in wine that I am experiencing. But I couldn't even compile the 'normal' source which I tried as a test before applying the patch...
    http://bugs.winehq.org/show_bug.cgi?id=17269
    Harvey

    Snowman wrote:post the error message.
    It compiles (for a loong time...) until this messages appear:
    cdrom.c: In function »GetInquiryData«:
    cdrom.c:2682: Error: »INQUIRY« not declarated (first use in this function)
    cdrom.c:2682: Error: (each descriptor not declarated will be executed only once
    cdrom.c:2682: Error: for each function in which it appears.)
    make[2]: *** [cdrom.o] Error 1
    make[2]: Leaving directory `/home/harvey/abs/wine/src/wine-1.1.32/dlls/ntdll'
    make[1]: *** [ntdll] Error 2
    make[1]: Leaving directory `/home/harvey/abs/wine/src/wine-1.1.32/dlls'
    make: *** [dlls] Error 2
    ==> ERROR: Build failed.
    I translated the error message from german so it may not be 100% correct.
    @ngoonee
    The makedepends are met as far as I can tell. BTW, for extra/wine there are even more dependencies than you mentioned. A PKGBUILD from the main repos should work without any changes as it is the same the developers are using for building the repo package.
    And yes, I synchronized abs and reinstalled base-devel just to be sure everything is ok. The build machine is 32bit Arch. The testing repo is enabled and I did a pacman -Syu before compiling.
    Harvey

  • Wine doesn't start utorrent anymore after latest update [SOLVED]

    Like the subject says, wine doesn't start utorrent anymore after latest update.  The output I get is the following:
    $ wine /mnt/data/utorrent/utorrent-1.6.1-beta-build-478.exe
    fixme:vxd:VXD_Open Unknown/unsupported VxD L"sice.vxd". Try setting Windows version to 'nt40' or 'win31'.
    fixme:vxd:VXD_Open Unknown/unsupported VxD L"ntice.vxd". Try setting Windows version to 'nt40' or 'win31'.
    err:imagelist:ImageList_LoadImageW Error loading image!
    err:imagelist:ImageList_LoadImageW Error loading image!
    err:imagelist:ImageList_LoadImageW Error loading image!
    fixme:listview:LISTVIEW_SetColumnOrderArray iCount 16 lpiArray 0x33e7b8
    fixme:keyboard:UnregisterHotKey (0x30024,1): stub
    and then it hangs.  If I change my Windows version in winecfg to for instance Windows XP, the first 2 errors disappear, but wine still hangs:
    $ wine /mnt/data/utorrent/utorrent-1.6.1-beta-build-478.exe
    err:imagelist:ImageList_LoadImageW Error loading image!
    err:imagelist:ImageList_LoadImageW Error loading image!
    err:imagelist:ImageList_LoadImageW Error loading image!
    fixme:listview:LISTVIEW_SetColumnOrderArray iCount 16 lpiArray 0x33edf8
    fixme:keyboard:UnregisterHotKey (0x30026,1): stub
    The vm.legacy_va_layout sysctl is not enabled:
    # sysctl vm.legacy_va_layout
    vm.legacy_va_layout = 0
    Does anybody have an idea to what might be going on?
    Enabling DRI and disabling DRI doesn't help.  Updating to the latest wine 0.9.30-1 also didn't change anything.
    Last edited by tunkaflux (2007-01-31 12:45:44)

    Problem is solved.  Had to delete the .wine folder.  Lost all utorrent settings, but it works again now.

  • Timer Class in jsdk 1.4 w2000 doesn't compile

    Since this is based in the tutorial, shouldn't be a big deal but I spent the whole day looking for a solution. Please help!
    The tutorial presents this program:
    //1.3
    import java.util.timer;
    public class Problem {
    public static void main(String[] args) {
    final Timer timer = new Timer();
    timer.schedule(new TimerTask(), 5000);
    System.out.println("In 5 seconds this application will exit. ");
         public class TimerTask implements Timer {
    public void run() {
    System.out.println("Exiting.");
    timer.cancel();
    My problem starts because java.util doesn't have the timer class:
    Problem.java:2: Class java.util.timer not found in import.
    import java.util.timer;
    ^
    Now, JSDK 1.4 doesn't have timer as a package, but as a class, nevertheless, the instruction:
    import java.util.*; // instead of java.util.Timer
    doesn't compile because
    Problem.java:10: Interface Timer of inner class Problem. TimerTask not found.
    Problem.java:6: Class Timer not found in type declaration.
    I think Timer should be expressed as abstract, but how?
    I'm new in Java and feel a little frustrated...

    >
    ProblemSolved.java:3: Class java.util.Timer not found
    in import.
    import java.util.Timer;
    ^
    1 error
    Then you are not using java 1.3. You are using something before that.
    for the Timer and
    javac IteratorDemo.javaIteratorDemo.java:1: Interface java.util.Iterator of
    class IteratorDemo not foun
    d.
    public class IteratorDemo implements
    java.util.Iterator {
    ^
    1 error
    And this suggests that you are using something before 1.2.
    Just a thought...
    Windows comes with the MS version of java, which matches something like 1.1.6. It is in the path. So does you path put the jdk path first or last?

  • Vegastrike SVN - doesn't compile

    Hello everybody
    I have problem with vegastrike:
    http://aur.archlinux.org/packages.php?ID=16927
    It simply doesn't compile.
    ==> Setting up build environment...
    ==> Starting make...
    patching file boost/1_35/boost/mpl/apply.hpp
    patching file boost/1_35/boost/mpl/apply_wrap.hpp
    patching file boost/1_35/boost/mpl/aux_/full_lambda.hpp
    patching file boost/1_35/boost/mpl/aux_/numeric_op.hpp
    patching file boost/1_35/boost/mpl/bind.hpp
    patching file src/cmd/basecomputer.cpp
    Hunk #1 FAILED at 3142.
    1 out of 1 hunk FAILED -- saving rejects to file src/cmd/basecomputer.cpp.rej
    ==> BŁĄD: Budowanie nie powiodło się.
    src/cmd/basecomputer.cpp.rej says
    --- src/cmd/basecomputer.cpp 2009-07-17 20:59:40.166058029 +0200
    +++ src/cmd/basecomputer.cpp 2009-07-17 21:06:02.696008744 +0200
    @@ -3142,7 +3142,7 @@
    return s1.st_mtime - s2.st_mtime;
    -#if defined(_WIN32) && !defined(__CYGWIN__)
    +#if (__GLIBC__>2 || __GLIBC_MINOR__>=10) || (defined(_WIN32) && !defined(CYGWIN))
    typedef int (*scancompare) ( const struct dirent **v1, const struct dirent **v2 );
    #else
    typedef int (*scancompare) ( const void *v1, const void *v2 );
    Anybody?
    I have boost package installed.

    Yep - I have 0.5 package from arch-games repo, but I want SVN

  • Generated PLSQL doesn't compile

    I'm using OWB 10.2.0.1.0 with a client version of 10.2.0.1.31.
    In a mapping I'm using a constant with three outputs, first two are numeric and the third is a varchar2. When the plsql is generated it doesn't compile because the constant of type varchar2 isn't enclosed in single quotes.
    I'm new to OWB. Is this a documented problem. I can work around by enclosing the varchar2 constant with single quotes but if this is a problem and is fixed then I'll have to change all my constants that are character datatypes.
    Thanks
    Paddy

    Works great.
    My lack of knowledge, however on the generation I would have thought it not unreasonable for the UI to not allow literals to be entered without single quotes or in the code generation it would have recognised that this value is a datatype of char and create the quotes for it.
    Thanks
    Paddy

  • IPE doesn't compile

    Hi,
    I just stumbled upon IPE and would like to try it. It's available in AUR (this is why I love AUR :-), but sadly it doesn't compile fully. It finishes with:
    Compiling image.cpp...
    g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fpic -DIPEUI_QT -I../../include -c -o ../../../build/obj/ipelets/image.o image.cpp
    image.cpp:33:23: fatal error: QFileDialog: No such file or directory
    compilation terminated.
    make[1]: *** [../../../build/obj/ipelets/image.o] Error 1
    make[1]: Leaving directory `/tmp/yaourt-tmp-andre/aur-ipe/src/ipe-7.1.1/src/ipelets/image'
    make: *** [ipelets/image] Error 2
    It seems, that the same error appears while manual compilation. It is quite active developed and also the AUR entries are quite new, so I hope someone involved or who had the same problem can help me.
    Regards,
    André

    https://aur.archlinux.org/packages.php?ID=7971 installed just fine using makepkg.
    QFileDialog is provided by qt - do you have it installed?

  • Delphi doesn't compile the examples for DIO32HS

    Delphi doesn't compile the examples for DIO32HS
    Some libraries appear to be required,
    but there are none supplied
    According to the manual, one ActiveX should be sufficient.
    What version is the source provided ?

    The NI CD is Version 6.9.2
    There are examples : \National Instruments\NI-DAQ\Examples\Delphi
    There is no mention which Version of Delphi,
    I have 3,5 and 6. However there should be components
    to be installed into Delphi as DigitalWaveformContinous
    requires TCWNumEdit, TCWDI and so on.
    It also requires the units CWUIControlsLib_TLB,
    CWAnalysisControlsLib_TLB, CWDAQControlsLib_TLB which are not part of Delphi istself but have to be provided
    by NI.
    Today I'm going to try Borland C++Builder, of which
    I have version 4 and 5. This will also require some
    components to be installed in BCB, I couldn't find them
    yet.
    \National Instruments\NI-DAQ\Examples\BorlandC
    BTW: this ActiveX that was talked about couldn't be
    found on the drive either. no *.ocx
    It cannot be that hard. I just want a procedure
    to setup the PCI-DIO-32HS, in terms of what is input
    and output, how the handshaking is done and then
    read/write to the port.
    Rene

  • Addes servlet.jar but still doesn't compile

    I'm building a servlet and therefor I added the servlet.jar file in my java/lib directory. After changing the classpath (adding the path to the lib directory), my servlet still doesn't compile. What could be wrong?
    debeumers

    to add a jar to the classpath, you must add the full path to the jar, for example java/lib/servlet.jar

  • Other Components Drawing Dashed Lines doesn't compile with Flex 4

    The lib was created in 2006 so it doesn't compile with Flex 4.
    The lib can be downloaded here http://www.quietlyscheming.com/blog/charts/dashed-lines/
    When compiling I get this error:
    Description     Resource     Path     Location     Type
    1136: Incorrect number of arguments.  Expected 3.     GraphicsUtils.as     /arrows/src/qs/utils     line 66     Flex Problem
    The line which doesn't compile:
    stroke.apply(target);
    How do I fix this error?

    I managed to compile the lib by rewriting the line:
    stroke.apply(target, new Rectangle(), new Point());
    But I don't understand what I have done.
    All Rectangle and Point dimensions are 0, but I'm sure it shouldn't be this way.

  • Ternary + generics doesn't compile

    why doesn't the following compile?
    import java.util.ArrayList;
    import java.util.List;
    public class Test
    List<String> method()
    return true ? getListA() : getListB(); // doesn't compile
    static <T> List<T> getListA()
    return new ArrayList<T>();
    static <T> List<T> getListB()
    return new ArrayList<T>();
    If you expand the ternary opeartor into an if-then-else it works. Also if you cast the results of getListA() and getListB() it works. Seems counter intuitive.

    Followup: I'm guessing the latter, because changing it to import java.util.*;
    public class Test
        List<String> method()
            //return true ? getListA() : getListB(); // doesn't compile
            return ternary(true, getListA(), getListB());
        static <T> T ternary(boolean b, T left, T right)
            return b ? left : right;
        static <T> List<T> getListA()
            return new ArrayList<T>();
        static <T> List<T> getListB()
            return new ArrayList<T>();
    } doesn't help.

  • Why the following doesn't compile

    Can someone explain me why the following doesn't compile:
    class A<N extends Number> {
        public LinkedList<String> list;
        public N getN() {
            return null;
    class Test {
        Test(A a) {
            Number n = a.getN();
            String str = a.list.getFirst();
    }The compiler error is:
    incompatible types
    found   : java.lang.Object
    required: java.lang.String
            String str = a.list.getFirst();And if compiler "lose" generic info for some reason or other, so it don't know type "a.list.getFirst()" anymore and think that it's Object, then why it know type of "a.getN()"?

    DrClap wrote:
    I'm not convinced by that explanation. I've used List<Whatever> in classes which aren't themselves generic and it works as I and the OP expect it to work. And I don't really see the difference between a class which isn't generic and a class which could be generic but isn't. I also don't see why public members should be treated differently when accessed from outside a class compared to when accessed inside a class.
    If it indeed doesn't compile (and I haven't tested that myself) then no doubt there's a reason for that, this isn't one of those convoluted examples which the compiler writers could have missed without anybody noticing. It just doesn't seem to me that what jtahlborn wrote is actually the reason.Jtahlborn was correct with his explanation: whenever you use a generic type as the corresponding "raw type", the type loses all its generic features.
    Thus, the public member "list" loses its parameter of type String and becomes the raw type "List"
    The method "getN" loses its return type +"N extends Number"+ and yields simply a "Number".
    For a detailed discussion, see [http://java.sun.com/docs/books/jls/third_edition/html/typesValues.html#110257]

  • [solved] SWTOR wine doesn't launch

    So, I've been trying to get swtor to launch, but I'm quite unsuccesful...
    The game doesn't start after I click "Play" in the launcher (after installing any updates and patches)
    What have I tried?
    1) Native wine plus the Method described here as "updated instructions" in the comments: http://appdb.winehq.org/objectManager.p … &iId=27088
    2) Playonlinux with special patched wine
    It doesn't work both times, with the following output (method 1):
    Waiting for swtor...
    Using native override for following DLLs: msvcp90
    Executing winetricks_early_wine regedit C:\windows\Temp\_native\override-dll.reg
    Executing w_do_call d3dx9_36
    d3dx9_36 already installed, skipping
    Executing w_do_call vcrun2008
    vcrun2008 already installed, skipping
    Executing w_do_call msls31
    msls31 already installed, skipping
    Executing w_do_call winhttp
    winhttp already installed, skipping
    [0706/202513:ERROR:network_change_notifier_win.cc(111)] WSALookupServiceBegin failed with: 8
    [0706/202513:ERROR:proxy_config_service_win.cc(159)] WinHttpGetIEProxyConfigForCurrentUser failed: 2
    I'm guessing the last to errors are the cause, but I have no Idea how to get rid of them. Anybody have an Idea or also has the same problem?
    Last edited by TimorLee (2014-07-07 11:35:03)

    Nope, but it appears that SWTOR just has HUGE amounts of loading time. After waking up this morning it actually got to the loading screen! (somewhrer up to 4 hours!)
    So it seems I was just to impatient, but now I can't get past the loading screen. There is a blue loading cog that keeps on turning, but nothing happens. (I'm guessing after 4 hours of waiting, nothing else will happen). Trying a few things about that now, I think I know why that error happens, and I hope the loading time can be cut down somehow
    It appears the game requires 1-4 hours to load, I'll check that when I have the time.
    As comparison for others, here are my specs:
    Intell i5 2.2 Ghz
    4GB Ram
    Intel HD 4000
    I've my idea doesn't work I'll try wine-stable, if it works, I'll change the thread to solved
    Last edited by TimorLee (2014-07-07 08:43:35)

  • [SOLVED] dwm doesn't compile with moveresize function

    I'am trying to compile dwm with moveresize function but I get this error:
    dwm build options:
    CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/include/X11 -DVERSION="5.7.2" -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:254:0:
    config.h: In function 'moveresize':
    config.h:23:7: error: dereferencing pointer to incomplete type
    config.h:23:34: error: dereferencing pointer to incomplete type
    config.h:26:9: error: dereferencing pointer to incomplete type
    config.h:26:17: error: dereferencing pointer to incomplete type
    config.h:27:6: error: dereferencing pointer to incomplete type
    config.h:28:6: error: dereferencing pointer to incomplete type
    config.h:29:6: error: dereferencing pointer to incomplete type
    make: *** [dwm.o] Error 1
    Here's my config.h
    /* See LICENSE file for copyright and license details. */
    /* appearance */
    static const char font[] = "-*-terminus-*-*-*-*-12-*-*-*-*-*-*-*";
    static const char normbordercolor[] = "#454545";
    static const char normbgcolor[] = "#454545";
    static const char normfgcolor[] = "#C0C0C0";
    static const char selbordercolor[] = "#C0C0C0";
    static const char selbgcolor[] = "#454545";
    static const char selfgcolor[] = "#FFFFFF";
    static const unsigned int borderpx = 1; /* border pixel of windows */
    static const unsigned int snap = 32; /* snap pixel */
    static const Bool showbar = True; /* False means no bar */
    static const Bool topbar = True; /* False means bottom bar */
    /* moveresize */
    static void moveresize(const Arg *arg) {
    XEvent ev;
    Monitor *m = selmon;
    if(!(m->sel && arg && arg->v && m->sel->isfloating))
    return;
    resize(m->sel, m->sel->x + ((int *)arg->v)[0],
    m->sel->y + ((int *)arg->v)[1],
    m->sel->w + ((int *)arg->v)[2],
    m->sel->h + ((int *)arg->v)[3],
    True);
    while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
    /* tagging */
    static const char *tags[] = { "term", "web", "fm", "im", "media", "float" };
    static const Rule rules[] = {
    /* class instance title tags mask isfloating monitor */
    { "Gimp", NULL, NULL, 1 << 5, True, -1 },
    { "Chromium", NULL, NULL, 1 << 1, True, -1 },
    { "MPlayer", NULL, NULL, 0, True, -1 },
    { "Wine", NULL, NULL, 1 << 5, True, -1 },
    { "Gpicview", NULL, NULL, 0, True, -1 },
    { "Pcmanfm", NULL, NULL, 1 << 2, True, -1 },
    { "Xarchiver", NULL, NULL, 0, True, -1 },
    { "Amsn", NULL, NULL, 1 << 3, True, -1 },
    /* layout(s) */
    static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
    static const Bool resizehints = False; /* True means respect size hints in tiled resizals */
    static const Layout layouts[] = {
    /* symbol arrange function */
    { "[]=", tile }, /* first entry is default */
    { "><>", NULL }, /* no layout function means floating behavior */
    { "[M]", monocle },
    /* key definitions */
    #define MODKEY Mod4Mask
    #define TAGKEYS(KEY,TAG) \
    { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
    { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
    { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
    { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
    /* helper for spawning shell commands in the pre dwm-5.0 fashion */
    #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
    /* commands */
    static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
    static const char *tdmenucmd[] = { "tdmenu_run", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
    static const char *termcmd[] = { "roxterm", NULL };
    static const char *mutecmd[] = { "amixer", "-q", "sset", "Master", "toggle", NULL };
    static const char *volupcmd[] = { "amixer", "-q", "sset", "Master", "5-", "unmute", NULL };
    static const char *voldowncmd[] = { "amixer", "-q", "sset", "Master", "5+", "unmute", NULL };
    static const char *bgltupcmd[] = { "xbacklight", "-inc", "15", NULL };
    static const char *bgltdowncmd[] = { "xbacklight", "-dec", "1", NULL };
    static const char *displayoff[] = { "xset", "dpms", "force", "off", NULL };
    static const char *suspend[] = { "sudo", "pm-suspend", NULL };
    static Key keys[] = {
    /* modifier key function argument */
    { 0, 0x1008ff12, spawn, {.v = mutecmd } },
    { 0, 0x1008ff11, spawn, {.v = volupcmd } },
    { 0, 0x1008ff13, spawn, {.v = voldowncmd } },
    { 0, 0x1008ff02, spawn, {.v = bgltupcmd } },
    { 0, 0x1008ff03, spawn, {.v = bgltdowncmd } },
    { 0, 0x1008ff59, spawn, {.v = displayoff } },
    { 0, 0x1008ff2f, spawn, {.v = suspend } },
    { MODKEY, XK_p, spawn, {.v = dmenucmd } },
    { MODKEY, XK_r, spawn, {.v = tdmenucmd } },
    { MODKEY, XK_Return, spawn, {.v = termcmd } },
    { MODKEY, XK_b, togglebar, {0} },
    { MODKEY, XK_j, focusstack, {.i = +1 } },
    { MODKEY, XK_k, focusstack, {.i = -1 } },
    { MODKEY, XK_h, setmfact, {.f = -0.05} },
    { MODKEY, XK_l, setmfact, {.f = +0.05} },
    { MODKEY|ShiftMask, XK_Return, zoom, {0} },
    { MODKEY, XK_Tab, view, {0} },
    { MODKEY, XK_c, killclient, {0} },
    { MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
    { MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
    { MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
    { MODKEY, XK_space, setlayout, {0} },
    { MODKEY|ShiftMask, XK_space, togglefloating, {0} },
    { MODKEY, XK_0, view, {.ui = ~0 } },
    { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
    { MODKEY, XK_comma, focusmon, {.i = -1 } },
    { MODKEY, XK_period, focusmon, {.i = +1 } },
    { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
    { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
    { MODKEY|ShiftMask, XK_q, quit, {0} },
    { MODKEY, XK_Down, moveresize, {.v = (int []){ 0, 25, 0, 0 }}},
    { MODKEY, XK_Up, moveresize, {.v = (int []){ 0, -25, 0, 0 }}},
    { MODKEY, XK_Right, moveresize, {.v = (int []){ 25, 0, 0, 0 }}},
    { MODKEY, XK_Left, moveresize, {.v = (int []){ -25, 0, 0, 0 }}},
    { MODKEY|ShiftMask, XK_Down, moveresize, {.v = (int []){ 0, 0, 0, 25 }}},
    { MODKEY|ShiftMask, XK_Up, moveresize, {.v = (int []){ 0, 0, 0, -25 }}},
    { MODKEY|ShiftMask, XK_Right, moveresize, {.v = (int []){ 0, 0, 25, 0 }}},
    { MODKEY|ShiftMask, XK_Left, moveresize, {.v = (int []){ 0, 0, -25, 0 }}},
    TAGKEYS( XK_1, 0)
    TAGKEYS( XK_2, 1)
    TAGKEYS( XK_3, 2)
    TAGKEYS( XK_4, 3)
    TAGKEYS( XK_5, 4)
    TAGKEYS( XK_6, 5)
    TAGKEYS( XK_7, 6)
    TAGKEYS( XK_8, 7)
    TAGKEYS( XK_9, 8)
    /* button definitions */
    /* click can be ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
    static Button buttons[] = {
    /* click event mask button function argument */
    { ClkLtSymbol, 0, Button1, setlayout, {0} },
    { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} },
    { ClkWinTitle, 0, Button2, zoom, {0} },
    { ClkStatusText, 0, Button2, spawn, {.v = termcmd } },
    { ClkClientWin, MODKEY, Button1, movemouse, {0} },
    { ClkClientWin, MODKEY, Button2, togglefloating, {0} },
    { ClkClientWin, MODKEY|ShiftMask, Button1, resizemouse, {0} },
    { ClkTagBar, 0, Button1, view, {0} },
    { ClkTagBar, 0, Button3, toggleview, {0} },
    { ClkTagBar, MODKEY, Button1, tag, {0} },
    { ClkTagBar, MODKEY, Button3, toggletag, {0} },
    Last edited by Aakko (2010-05-30 18:21:30)

    ber_t wrote:A vanilla dwm compiles fine with your config.h. So I guess you're using other patches that rearrange the #include directive for config.h in dwm.c, e.g. pertag. If that's the case, you have to put the moveresize function in dwm.c and declare it before config.h get's included, just like any other function in dwm.c.
    Yes I had dwm.c patched with pertag. Vanilla compiles fine. Thanks!

Maybe you are looking for

  • Move photos, music, time machine

    I would like to move my iphoto library, itunes library and time machine off of my current i-mac.  What is my best solution?  I love that my ipad and iphone sync with my computer when i walk in the door, if I move the libraries to an external drive wo

  • Planned order based capacity planning

    Dear Guru's, Is it possible to view & analyse work load on work centers for planned orders in R/3? Please let us know the settings to be done if needed. Regards, SAP CONS

  • Emails bonced back by .mac and .me accounts

    I have a pop3 account through a third party server but use apple mail as my email client- any emails I send to a .mac or .me account are being bounced back with a general failure notice. It even happens from my iphone. Is that the .mac server seeing

  • Using the IPAD mail Icon I attempted to download a PDF attachment.

    Using my IPAD2 'email Icon' as usual I attempted to download a PDF attachment [first two worked OK]. A blank greyish mottled screen resulted - and I can't get back to 'emails'. Trying the Icon always brings the blank screen - What must I do please? M

  • PremierePro4 Help with Capture Video Compression Options

    Last week I started converting my old VHS tapes using a Canopus ADVC 110 box, a Mac with OSX 10.4.11, and PremierePro 4.0.0. Everything went fine until last night when I lost my compression choices in Premiere - Capture Settings - Video - Compression