Solved: Compiling Ralink 2860 module on eee 1000H

When I try to compile the ralink 2860 drivers (1.8.0.0) I get
make[1]: Entering directory `/lib/modules/2.6.28eee/build'
make[1]: *** No rule to make target `modules'.  Stop.
make[1]: Leaving directory `/lib/modules/2.6.28eee/build'
make: *** [LINUX] Error 2
No idea why. I did modify the PKGBUILD like it said to. What am I missing?
Last edited by donryanocero (2009-02-21 03:48:53)

Solved. make modules_install again took care of it.

Similar Messages

  • [solved] Compilation problems - virtualbox module with custom 2.6.37..

    Hi all
    I have some problems compiling the vbox drivers on my custom kernel26-n130 (http://aur.archlinux.org/packages.php?ID=32042). From /var/log/vbox-install.log:
    gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/include -I/usr/src/linux-2.6.37-N130/arch/x86/include -Iinclude
    In file included from include/linux/io.h:22:0,
                     from include/linux/pci.h:54,
                     from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:99,
                     from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
    /usr/src/linux-2.6.37-N130/arch/x86/include/asm/io.h:45:21: fatal error: xen/xen.h: No such file or directory
    compilation terminated.
    I built the kernel without xen support. It's the same config I used with 2.6.36.2. I found a similar problem here: https://bbs.archlinux.org/viewtopic.php … 61#p871261 . I did the same as .:B:. did and commented out the  "#include <xen/xen.h>" line in  the file mentioned above. Compilation  runs fine and virtualbox seems to run with the drivers compiled this way. Though I don't think this is a very elegant way.
    Any other suggestions?
    Vlad
    PS: Sry for the noise!
    Had to install the xen header file...
    Last edited by DonVla (2011-01-08 16:26:36)

    I found the solution on http://communities.vmware.com/thread/29 … 0&tstart=0
    Linux x201 2.6.37-ARCH #1 SMP PREEMPT Fri Feb 18 16:58:42 UTC 2011 i686 Intel(R) Core(TM) i7 CPU M 620 @ 2.67GHz GenuineIntel GNU/Linux
    VMware Workstation 7.1.3 build-324285

  • [SOLVED] Asus eee 1000H : netcfg and wicd unable to obtain IP

    Hi,
    I just installed arch linux on my asus eee 1000h, but I can't get
    wireless to work. I installed the packages:
    - wireless_tools
    - netcfg
    I have been reading through the beginners guide and the wireless setup guide,
    but still no success.
    I did
    lspci | grep -i net
    And found out I had to add the firmware for my card, so I did that and:
    ifconfig wlan0 up
    worked. So I did:
    iwlist wlan0 scan
    And found the network I wanted to connect too, so I do:
    iwconfig wlan0 essid network_id key wep_hex_key
    But I dont get associated to any access point, so I tried:
    ifconfig wlan0 down
    ifconfig wlan0 up
    Sometimes this gets me associated to the access point, however, it seems to
    be pretty unstable. Usually it 'looses' it's association after a short period
    of time.
    Then I do:
    dhcpcd wlan0
    However, I just get the output
    dhcpcd: version 5.2.2 starting
    dhcpcd: broadcasting for a lease
    dhcpcd: timed out
    I check "iwconfig wlan0" at it says it is still associated to the access point.
    I have tried netcfg, but it also just get's timed out waiting for a lease.
    I've tried to get this to work for a long time now, but can't seem to get it to
    work. I've read somewhere that it might be a bug in dhcpcd? If you have a
    suggestion for something to try, please keep in mind that I am not at all
    familiar with arch linux and explain accordingly.
    I installed arch linux because I want a distribution that forces me to learn
    more about linux, I just did'nt think it would be this much trouble, been trying
    for a couple of days now, I have allready learned alot though.
    Thanks for any reply.
    EDIT: I also tried setting the timeout to 120, it did not work
    EDIT 2: I tried using netcfg again. It first returned:
    WPA Authentication/Association Failed
    I tried again, and it returned:
    DHCP IP lease attempt failed
    Does this mean I have to use wpa encryption? I find this
    strange as I am connecting to the same network with
    my ubuntu machine using wep encryption.
    Last edited by khs (2011-04-20 12:31:28)

    edit your /etc/rc.conf to blacklist all of the modules that interfere with the rt2860sta module:
    MODULES=(!rt2800pci !rt61pci !rt2x00pci !rt2800usb !rt2800lib !rt2x00usb !rt2x00lib)
    don't initialize network with any other services:
    #eth0="dhcp"
    #wlan0="dhcp"
    INTERFACES=()
    make sure you don't have conflicting daemons running:
    DAEMONS=(syslog-ng dbus wicd netfs crond)
    then restart and try again(or go through rmmod and stopping and starting the individual services)
    btw... I am using arch+wicd on my eee 1000h to write this post, so if you have any more problems just let me know.
    also check out the eee 901 archwiki page it has a lot of good info and links.
    Last edited by trash (2011-04-20 00:23:21)

  • (solved ... kind of) What's wrong with eee 1000h? (suspend2ram)

    Hi
    I have an eee 1000h and have Archlinux running. I played around with it so maybe it's an old configuration problem...
    Now I use acpi-eee-generic from AUR to use all the hotkeys which works fine.
    Suspend to Disk also works flawlessly, my problem lies in suspend to ram.
    With Kernel 2.6.28 everything worked.
    With Kernel 2.6.29 in the beginning int worked too, but later after some updates it stopped working. With "stopped working" I mean it suspends well, power led switches to blinking. When trying to wake it, the power led changes to constant light, but that's everything that happens. Screen remains black, no response to keyboard and sysrq keys (they are enabled).
    After an update to 2.6.30 it suddenly worked again.
    After a recent update it stopped working again.
    I have no idea what the problem is and what log files to look at... The pm-suspend log does not show something that shouldn't be there.
    Someone here in the forums suggested s2ram from uswsusp but it doesn't wake up either with this (I had to use s2ram --force, because it didn't know the eee 1000h).
    Anyone else experiencing this? Does anyone have a suggestion what to do about it?
    Last edited by Cdh (2009-10-14 17:20:46)

    2.6.31 now. It's getting worse. It goes to sleep well but then it refuses to do anything - Pressing keys does not do anything and even pressing the power button 4+ seconds does not give any reaction - the power led and the led on the power button keep flashing like in standby mode.
    I still don't know wether this is only a problem for me or wether other arch users experience the same... nothing in the bugtracker, nothing in the forums...?
    edit: I just tested:
    With linux mint on an usb stick and kernel 2.6.30 from http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.30.3 suspend2ram works without problems.
    edit2: Wait... I tested it while the A/C adapter was attached... actually in Arch it does also work when the A/C adapter is attached. My battery is almost empty so this was maybe the reason it would not wake up (it does refuse to power on with a nearly empty battery, too)
    Last edited by Cdh (2009-10-11 14:05:29)

  • Compiling a SOAP module for PHP5 in Leopard

    Hi. I thought I'd try to compile a SOAP module for the stock PHP installation in MacOSX Leopard.
    I snagged the php-5.2.5 sources from php.net, and used the compile arguments found in the "php -i" command. I only added "--with soap=shared --enable-shared", like this:
    *./configure '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--with-apxs2=/usr/sbin/apxs' '--with-ldap=/usr' '--with-kerberos=/usr' '--enable-cli' '--with-zlib-dir=/usr' '--enable-trans-sid' '--with-xml' '--enable-exif' '--enable-ftp' '--enable-mbstring' '--enable-mbregex' '--enable-dbx' '--enable-sockets' '--with-iodbc=/usr' '--with-curl=/usr' '--with-config-file-path=/etc' '--sysconfdir=/private/etc' '--with-openssl' '--with-xmlrpc' '--with-xsl=/usr' '--with-pear' --enable-soap=shared --enable-shared*
    This builds just fine.
    Then I:
    ~ copy php_src/modules/soap.so to /usr/lib/php/extensions/no-debug-non-zts-20060613/
    ~ set extension_dir="/usr/lib/php/extensions/no-debug-non-zts-20060613/" and add extension=soap.so in /private/etc/php.ini
    If I run "php -i" now, I get
    *dyld: NSLinkModule() error*
    *dyld: Symbol not found: _OnUpdateLong*
    *Referenced from: /usr/lib/php/extensions/no-debug-non-zts-20060613/soap.so*
    *Expected in: flat namespace*
    *Trace/BPT trap*
    I found an OnUpdateLong function in php_src/ext/zlib/zlib.c, but I don't know if that's relevant.
    What am I doing wrong?
    (Yes, I know that there are several third-party stand alone php intallations for MacOSX (MacPorts, Fink, Entropy...), but I'd really like to just make the stock PHP work.)

    Now I've tried using the php source from
    http://www.opensource.apple.com/darwinsource/Current/apachemodphp-44/
    as well. I've just added "--enable-shared --enable-soap=shared
    --enable-zlib=shared" to the Makefile and removed the mysql-related lines.
    After running make and copying soap.so and zlib.so to /usr/lib/php/extensions/no-debug-non-zts-20060613/, the results are basically the same:
    The "symbol not found: _OnUpdateLong" came from missing zlib, but zlib complains about another missing symbol: zend_ini_boolean_displayercb.
    It seems like zendini_boolean_displayercb is defined in phpsrc/Zend/zendini.c as ZENDINI_DISP(zend_ini_boolean_displayercb). I cannot compile zend as a module, since it's a core thingie.

  • How do you compile a lifecycle module

    I want to develop a Lifecycle module for Sun Java System Application Server 8, Platform Edition.
    I have read through http://docs.sun.com/source/817-6087/dglfcycl.html#wp16956 .
    The bit of info that is missing from this document is the name of the jar that holds the Lifecycle* classes l(like LifecycleListener).
    This makes it a bit difficult to compile my lifecycle module.

    Where did you find that information?
    Is it in a document that I missed?
    thanks,
    vbk

  • Ralink 2860 Wireless Card

    Hello, with my Ralink 2860 my wireless device has always been identified as ra0 instead of wlan0 and it worked fine. Well with a recent kernel update, my device got switched to being identified as wlan0, and now I have problems connecting to networks via essid, problems with creating a stable connection, now it seems like my card only wants to connect half the time... What went on? What was wrong with the old driver? I know I can always downgrade to the old kernel, or install the driver from the manufacturer's website. But I'm just wondering why the kernel "upgraded" to a driver that no longer makes my card work.

    Ok, I just found a related thread: http://bbs.archlinux.org/viewtopic.php?pid=669653
    Last edited by DeeCodeUh (2010-01-11 17:02:09)

  • Trouble compiling sleepycat perl module for dbxml on win32

    I'm trying to compile the perl module for Oracle DB XML with no luck so far. I've added nmake and cl to my path using the vcvars32 script. But running 'perl Makefile.PL -config.win32' produces:
    Note (probably harmless): No library found for DB
    Note (probably harmless): No library found for XML
    Note (probably harmless): No library found for 2.3.10/lib
    Note (probably harmless): No library found for -llibdb45
    Writing Makefile for Sleepycat::Db
    Note (probably harmless): No library found for DB
    Note (probably harmless): No library found for XML
    Note (probably harmless): No library found for 2.3.10/lib
    Note (probably harmless): No library found for -llibdbxml23
    Note (probably harmless): No library found for -llibdb45
    Note (probably harmless): No library found for -lxerces-c_2
    Note (probably harmless): No library found for -lxqilla10
    Writing Makefile for Sleepycat::DbXml
    Writing Makefile for Sleepycat::DbXml
    That might not be a problem, although I think all of those libraries are included with the dbxml download. In any case, running nmake fails:
    Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
    Copyright (C) Microsoft Corporation. All rights reserved.
    nmake -f Makefile all -nologo
    cp Db.pod ..\blib\lib\Sleepycat\Db.pod
    cp DbEnv.pod ..\blib\lib\Sleepycat\DbEnv.pod
    cp DbTxn.pod ..\blib\lib\Sleepycat\DbTxn.pod
    cp Db.pm ..\blib\lib\Sleepycat\Db.pm
    cp Dbc.pod ..\blib\lib\Sleepycat\Dbc.pod
    cp Dbt.pod ..\blib\lib\Sleepycat\Dbt.pod
    C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -noprototypes -C++ -ty
    pemap ../typemap -typemap C:\Perl\lib\ExtUtils\typemap Db.xs > Db.xsc && C:\Per
    l\bin\perl.exe -MExtUtils::Command -e mv Db.xsc Db.c
    cl -TP /EHsc -c -IC:/Berkeley DB XML 2.3.10/include -nologo -EHsc -GF
    -W3 -MD -O1 -Gd -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL
    IMPLICITCONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -nologo
    -DVERSION=\"2.003\" -DXS_VERSION=\"2.003\" "-IC:\Perl\lib\CORE" Db.c
    DB
    c1xx : fatal error C1083: Cannot open source file: 'DB': No such file or directo
    ry
    XML
    c1xx : fatal error C1083: Cannot open source file: 'XML': No such file or direct
    ory
    include
    c1xx : fatal error C1083: Cannot open source file: '2.3.10/include': No such fil
    e or directory
    Db.c
    Db.xs(7) : fatal error C1083: Cannot open include file: 'db_cxx.h': No such file
    or directory
    Generating Code...
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
    \cl.EXE"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
    \nmake.EXE"' : return code '0x2'
    Stop.
    Any ideas what I'm doing wrong?

    I figured it out. I discovered that the developer tools weren't installed by default on the Darwin OS. I downloaded them from the Apple site, installed the dmg file and then installed the required Perl modules and then it worked beautifully.
    The problem was that the modules couldn't make properly when being installed.
    Fun Fun
    Donna

  • [SOLVED] Virtualbox-host-dkms module not compatible with Linux 3.17rc

    Using the linux-mainline package from aur, was unable to get dkms to compile the vboxdrv module. Mainline is currently at around 3.17rc3, didn't work at rc1 either.
    Apparently a patch has already been made, it is available at:
    https://forums.virtualbox.org/viewtopic … 50#p296650
    Loaded the abs system and applied the patch from the forum:
    https://forums.virtualbox.org/download/ … p?id=13399
    Patch works like a charm. I have compiled the package, if anyone else would like to save some cpu cycles and time, I wouldn't mind uploading it if there is somewhere it can be posted.

    Ideka wrote:I suspect this may be a regression but I couldn't find any information or reports of other people having the same problem anywhere.
    You must not have searched very long then, because you've missed not one, but two threads:
    https://bbs.archlinux.org/viewtopic.php?id=134374
    https://bbs.archlinux.org/viewtopic.php?id=134580

  • [SOLVED]Compile coretemp?

    Hello all!
    So I compiled a new kernel just now, and it seems I forgot to include coretemp (modprobe yields "FATAL: Module coretemp not found). Is it possible to compile the module for the kernel. Or rather, since I assume it is, how exactly would I go about doing it?
    Last edited by rune0077 (2009-09-18 15:05:13)

    Yeah, I was kinda hoping you would tell me I could simply compile the coretemp module by itself, without having to recompile the entire kernel.

  • [Solved] help needed with wireless setup (ralink 2860 driver)

    Hi,
    I'm new to Arch so please be gentle ;-)
    I recently upgraded hoping to find improved support for my wireless.  I now find that the kernel recognises and loads the appropriate module:
    [root@akoya ~]# uname -a
    Linux akoya 2.6.29-ARCH #1 SMP PREEMPT Wed Apr 8 12:47:56 UTC 2009 i686 Pentium(R)
    [root@akoya ~]# lspci | grep Net
    05:00.0 Network controller: RaLink RT2860
    [root@akoya ~]# lsmod | grep 2860
    rt2860sta 514808 1
    I checked over the kernel source and the rt2680sta module is the code from ralink cleaned up for the 2.6.29 kernel.  (I tried building the ralink release but it needs patching for 2.6.29)
    However getting the thing to connect using WPA is another thing altogether
    [root@akoya ~]# ifconfig ra0 up
    [root@akoya ~]# wpa_supplicant -B -Dwext -i ra0 -c /etc/wpa_supplicant.conf
    [root@akoya ~]# dhcpcd ra0
    ra0: dhcpcd 4.0.12 starting
    ra0: waiting for carrier
    ra0: timed out
    I'm not even sure if iwconfig is communicating with this driver (though I can find my router using "iwlist ra0 scan"):
    [root@akoya ~]# iwconfig ra0 essid "sodor"
    [root@akoya ~]# iwconfig
    ra0 RT2860 Wireless ESSID:"" Nickname:"RT2860STA"
    Mode:Auto Frequency=2.412 GHz Access Point: 00:21:91:FE:DA:97
    And if I try to configure using wicd I see the following log when trying to connect to the wireless:
    2009/04/17 01:16:43 :: Connecting to wireless network sodor
    2009/04/17 01:16:43 :: Putting interface down
    2009/04/17 01:16:43 :: ifconfig ra0 down
    2009/04/17 01:16:43 :: Releasing DHCP leases...
    2009/04/17 01:16:43 :: Setting false IP...
    2009/04/17 01:16:43 :: ifconfig ra0 0.0.0.0
    2009/04/17 01:16:43 :: ifconfig eth0 0.0.0.0
    2009/04/17 01:16:43 :: Stopping wpa_supplicant and any DHCP clients
    2009/04/17 01:16:43 :: killall wpa_supplicant
    2009/04/17 01:16:43 :: Flushing the routing table...
    2009/04/17 01:16:43 :: route del dev ra0
    2009/04/17 01:16:43 :: route del dev eth0
    2009/04/17 01:16:43 :: Attempting to authenticate...
    2009/04/17 01:16:43 :: ['wpa_supplicant', '-B', '-i', 'ra0', '-c', '/var/lib/wicd/configurations/002191feda97', '-D', 'wext']
    2009/04/17 01:16:43 :: Putting interface up...
    2009/04/17 01:16:43 :: ifconfig ra0 up
    2009/04/17 01:16:43 :: iwconfig ra0 mode Managed
    2009/04/17 01:16:43 :: ['iwconfig', 'ra0', 'essid', 'sodor', 'channel', '1', 'ap', '00:21:91:FE:DA:97']
    2009/04/17 01:16:43 :: WPA_CLI RESULT IS None
    2009/04/17 01:16:43 :: Failed to find status in wpa_cli result
    2009/04/17 01:16:43 :: exiting connection thread
    It is driving me crazy being tied to a cable so I'd really like to get this working... but I'm really not sure what to try.  Do I need to rebuild wpa_supplicant?  If so is there a package-based way of doing that in arch?
    Thanks in advance.
    Last edited by drandre (2009-04-17 19:40:41)

    drandre wrote:
    If so is there a package-based way of doing that
    OK... to answer my own questions ...
    two questions:
    1. Does this mean support for the ralink driver is included by default or *not* included by default?
    It seems it means *not*
    2. If I uncomment this line then makepkg refuses to build the package because the config file's md5 is no longer valid.  How then am I *meant* to make modifications to the build configuration?
    right or wrong I used makepkg -g to generate checksums for my modified config file and pasted these into PKGBUILD.  It then builds happily.  After installing I can run wpa_supplicant with no args and confirm ralink is in the list of drivers.  Excellent.  But still no success.
    Two things I have noticed:
    1. wicd places quotes "" around my pre-shared key.  If I run wpa_supplicant from the command line and use the conf file created by wicd it reports the PSK as being unparsable.  If I remove the quotes then the file is parsed correctly.
    2. It doesn't solve my problem :-(

  • [SOLVED] Compiling EMACS without games module ?

    Hey,
        Is it possible to compile EMACS without its built-in games module ? I think EMACS is for doing work, not for game.
    Last edited by jameschyn (2011-12-19 01:29:55)

    I think that the games are just elisp file (in /usr/share/emacs/23.3/lisp/play ); they are not part of the emacs binary. You can delete the files if you do not need them. But this directory is only 804K, so why just not leave them there and not care. What you can do is compiling emacs by disabling images support (or only keep some images support) and other things; just type ./configure --help.

  • [SOLVED]Compiling a program from source (Tomoe)

    I'm trying to compile Tomoe: http://tomoe.sourceforge.jp/cgi-bin/en/blog/index.rb
    It is a handwriting recognition tool for East Asian languages. For those of you familiar with them, you'd know that there are some characters that are just so obscure you can't type them with your IME and the only way to input them is with a handwriting recognition program. (Browsing a unicode character map is only something a madman can do) MS has one built in their IME, but I've had to live by copying things from wiktionary up until now on Linux, and I think this program might be my saving grace if I can get it working.
    I would want to make a PKGBUILD, but I really have no experiance with that kind of stuff at all, so I'm going to try to compile it from source the old fashioned way at least. I figured if it installs things into /usr/local/ by default it won't mess up with pacman too much.
    However I'd need 3 packages. One for tomoe, another for tomoe-gtk, and another for scim-tomoe. And the 3rd depends on the 2nd which depends on the 1st. I installed tomoe fine with ./configure && make && make install, but when I try to install tomoe-gtk I get an error at ./configure:
    checking for TOMOE... configure: error: Package requirements (tomoe >= 0.4.0) were not met:
    No package 'tomoe' found
    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.
    Alternatively, you may set the environment variables TOMOE_CFLAGS
    and TOMOE_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.
    Of course I know that I installed tomoe, slocate gives me:
    (It gave me more stuff too, but they are all in the build directory in my home so I excluded them.)
    /usr/local/etc/tomoe
    /usr/local/etc/tomoe/config
    /usr/local/include/tomoe
    /usr/local/include/tomoe/pytomoe-utils.h
    /usr/local/include/tomoe/tomoe-candidate.h
    /usr/local/include/tomoe/tomoe-char.h
    /usr/local/include/tomoe/tomoe-config.h
    /usr/local/include/tomoe/tomoe-context.h
    /usr/local/include/tomoe/tomoe-dict.h
    /usr/local/include/tomoe/tomoe-enum-types.h
    /usr/local/include/tomoe/tomoe-module-impl.h
    /usr/local/include/tomoe/tomoe-module.h
    /usr/local/include/tomoe/tomoe-query.h
    /usr/local/include/tomoe/tomoe-reading.h
    /usr/local/include/tomoe/tomoe-recognizer.h
    /usr/local/include/tomoe/tomoe-shelf.h
    /usr/local/include/tomoe/tomoe-writing.h
    /usr/local/include/tomoe/tomoe.h
    /usr/local/lib/libtomoe.a
    /usr/local/lib/libtomoe.la
    /usr/local/lib/libtomoe.so
    /usr/local/lib/libtomoe.so.0
    /usr/local/lib/libtomoe.so.0.1.0
    /usr/local/lib/tomoe
    /usr/local/lib/pkgconfig/pytomoe.pc
    /usr/local/lib/pkgconfig/tomoe.pc
    /usr/local/lib/python2.6/site-packages/tomoe.a
    /usr/local/lib/python2.6/site-packages/tomoe.la
    /usr/local/lib/python2.6/site-packages/tomoe.so
    /usr/local/lib/tomoe/module
    /usr/local/lib/tomoe/module/dict
    /usr/local/lib/tomoe/module/recognizer
    /usr/local/lib/tomoe/module/dict/mysql.a
    /usr/local/lib/tomoe/module/dict/mysql.la
    /usr/local/lib/tomoe/module/dict/mysql.so
    /usr/local/lib/tomoe/module/dict/unihan.a
    /usr/local/lib/tomoe/module/dict/unihan.la
    /usr/local/lib/tomoe/module/dict/unihan.so
    /usr/local/lib/tomoe/module/dict/xml.a
    /usr/local/lib/tomoe/module/dict/xml.la
    /usr/local/lib/tomoe/module/dict/xml.so
    /usr/local/lib/tomoe/module/recognizer/simple.a
    /usr/local/lib/tomoe/module/recognizer/simple.la
    /usr/local/lib/tomoe/module/recognizer/simple.so
    /usr/local/share/tomoe
    /usr/local/share/gtk-doc/html/tomoe
    /usr/local/share/gtk-doc/html/tomoe/TomoeCandidate.html
    /usr/local/share/gtk-doc/html/tomoe/TomoeChar.html
    /usr/local/share/gtk-doc/html/tomoe/TomoeConfig.html
    /usr/local/share/gtk-doc/html/tomoe/TomoeContext.html
    /usr/local/share/gtk-doc/html/tomoe/TomoeDict.html
    /usr/local/share/gtk-doc/html/tomoe/TomoeQuery.html
    /usr/local/share/gtk-doc/html/tomoe/TomoeReading.html
    /usr/local/share/gtk-doc/html/tomoe/TomoeRecognizer.html
    /usr/local/share/gtk-doc/html/tomoe/TomoeShelf.html
    /usr/local/share/gtk-doc/html/tomoe/TomoeWriting.html
    /usr/local/share/gtk-doc/html/tomoe/home.png
    /usr/local/share/gtk-doc/html/tomoe/index.html
    /usr/local/share/gtk-doc/html/tomoe/index.sgml
    /usr/local/share/gtk-doc/html/tomoe/ix01.html
    /usr/local/share/gtk-doc/html/tomoe/left.png
    /usr/local/share/gtk-doc/html/tomoe/right.png
    /usr/local/share/gtk-doc/html/tomoe/style.css
    /usr/local/share/gtk-doc/html/tomoe/tomoe-tomoe.html
    /usr/local/share/gtk-doc/html/tomoe/tomoe.devhelp
    /usr/local/share/gtk-doc/html/tomoe/tomoe.devhelp2
    /usr/local/share/gtk-doc/html/tomoe/tomoe.html
    /usr/local/share/gtk-doc/html/tomoe/up.png
    /usr/local/share/locale/ja/LC_MESSAGES/tomoe.mo
    /usr/local/share/tomoe/dict
    /usr/local/share/tomoe/dict.dtd
    /usr/local/share/tomoe/python
    /usr/local/share/tomoe/recognizer
    /usr/local/share/tomoe/xml2est.rb
    /usr/local/share/tomoe/python/tomoe.defs
    /usr/local/share/tomoe/recognizer/handwriting-ja.xml
    /usr/local/share/tomoe/recognizer/handwriting-zh_CN.xml
    I've tried:
    export PKG_CONFIG_PATH=/usr/local/lib/tomoe:$PKG_CONFIG_PATH
    export PKG_CONFIG_PATH=/usr/local/lib:$PKG_CONFIG_PATH
    And neither of those seemed to work so I then set TOMOE_CFLAGS and TOMOE_LIBS and it indeed avoided the need to call pkg-config and the configure script went on, but I got the same problem for gucharmap, which I tried installing with pacman and then starting a new session, but it still didn't work so I had to set the environment variables to skip it and then the configure script finished, but make not so surprisingly failed.
    So what should I do to get this to compile?
    Last edited by sokuban (2008-11-24 02:48:46)

    Zoulnix wrote:
    Hello there, sokuban... just wanted to tell you that i have uploaded
    scim-tomoe, tomoe, tomoe-gtk and uim-tomoe-gtk PKGBUILD's to the AUR.
    ... would be good if someone could test  the pkgbuilds
    out to see so everything works as it should.
    tomoe-gtk had to be compiled without gucharmap. from what i could see the tomoe-gtk is not compatible with the latest version of gucharmap...
    Thanks! The tomoe packages installs and works perfectly.
    But now I've got another little problem. For some strange reason they decided that it would only load a dictionary when the locale is set to Chinese or Japanese. My computer currently runs on a ms_MY.utf-8 locale and while I wouldn't really mind putting it to ja_JP.utf-8 I'd prefer it if there is a way I can make it so that tomoe is always run with a Japanese locale no matter what locale the rest of my system is because I often randomly change it.
    While I can directly run:
    $ LANG=ja_JP.UTF-8 scim-tomoe
    from a terminal and the dictionaries are loaded fine, I'd end up only being able to write in the terminal itself which is pretty useless. Right clicking on the scim icon and selecting handwriting recognition will give me the ms_MY version which doesn't have any dictionaries loaded.
    Anyone know a way to do it?
    EDIT: So I tried setting my whole locale to Japanese. Only problem is, Thunar has a bug with Japanese. Maybe its because the Japanese name for filesystem is too long, but the sidebar is stuck out too much and cannot be pushed in. Also since it is so long my filesystem icon on my desktop can't display its whole name, I wouldn't really call that a bug, but it isn't pretty to look at.
    And I just noticed but xfce terminal fonts are messed up too. I'm too lazy to fix all this so I'm going back to English now. It would probbably be much easier to find a way to always run only this program with a Japanese locale than fix all the problems I'm getting with the whole system in a Japanese locale.
    EDIT2: Solved by running scim itself in ja_JP.UTF-8 (why didn't I think of this earlier?).
    Last edited by sokuban (2008-11-24 02:49:24)

  • [Solved] Compiling kernel with 'localmodcfg' - 'brcmsmac' missing

    Hi all,
    I want to compile my own optimized ck-kernel with localmodcfg="y" which works mostly.
    However there is a small problem.
    The module 'brcmsmac' for the WLAN card is never included although it is listed in my modprobed.db.
    Does someone have any clue what could be the cause?
    Thanks
    Radioactiveman
    Last edited by Radioactiveman (2012-01-13 16:36:15)

    A minor fix for the patch by Steven Rostedt solved my issue.
    I have compiled linux-ck 3.2.1-2 with localmodconfig today and brcmsmac is now included.
    Marking the thread as solved, thanks to Steve.
    Patch file:
    diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl
    index ec7afce..bccf07d 100644
    --- a/scripts/kconfig/streamline_config.pl
    +++ b/scripts/kconfig/streamline_config.pl
    @@ -250,33 +250,61 @@ if ($kconfig) {
    read_kconfig($kconfig);
    +sub convert_vars {
    + my ($line, %vars) = @_;
    +
    + my $process = "";
    +
    + while ($line =~ s/^(.*?)(\$\((.*?)\))//) {
    + my $start = $1;
    + my $variable = $2;
    + my $var = $3;
    +
    + if (defined($vars{$var})) {
    + $process .= $start . $vars{$var};
    + } else {
    + $process .= $start . $variable;
    + }
    + }
    +
    + $process .= $line;
    +
    + return $process;
    +}
    +
    # Read all Makefiles to map the configs to the objects
    foreach my $makefile (@makefiles) {
    - my $cont = 0;
    + my $line = "";
    + my %make_vars;
    open(MIN,$makefile) || die "Can't open $makefile";
    while (<MIN>) {
    + # if this line ends with a backslash, continue
    + chomp;
    + if (/^(.*)\\$/) {
    + $line .= $1;
    + next;
    + }
    +
    + $line .= $_;
    + $_ = $line;
    + $line = "";
    +
    my $objs;
    - # is this a line after a line with a backslash?
    - if ($cont && /(\S.*)$/) {
    - $objs = $1;
    - $cont = 0;
    + $_ = convert_vars($_, %make_vars);
    # collect objects after obj-$(CONFIG_FOO_BAR)
    if (/obj-\$\((CONFIG_[^\)]*)\)\s*[+:]?=\s*(.*)/) {
    $var = $1;
    $objs = $2;
    +
    + # check if variables are set
    + } elsif (/^\s*(\S+)\s*[:]?=\s*(.*\S)/) {
    + $make_vars{$1} = $2;
    if (defined($objs)) {
    - # test if the line ends with a backslash
    - if ($objs =~ m,(.*)\\$,) {
    - $objs = $1;
    - $cont = 1;
    foreach my $obj (split /\s+/,$objs) {
    $obj =~ s/-/_/g;
    if ($obj =~ /(.*)\.o$/) {
    Last edited by Radioactiveman (2012-01-13 16:37:06)

  • [Solved] Compile madwifi

    I just updated my kernel, so I have to compile my wireless drivers again.
    I can't compile any of the versions, and I think the problem is gcc4.4 related (I'm not sure though).
    ~/Desktop/madwifi-hal-0.10.5.6-r4003-20090416 $ make
    Checking requirements... ok.
    Checking kernel configuration... ok.
    make -C /lib/modules/2.6.30-ARCH/build SUBDIRS=/home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416 modules
    make[1]: Entering directory `/usr/src/linux-2.6.30-ARCH'
    CC [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath/if_ath.o
    CC [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath/if_ath_radar.o
    CC [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath/if_ath_hal_extensions.o
    CC [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath/if_ath_pci.o
    LD [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath/ath_pci.o
    CC [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_hal/ah_os.o
    HOSTCC /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_hal/uudecode
    UUDECODE /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_hal/i386-elf.bin
    UNMANGLE /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_hal/i386-elf.hal.o
    LD [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_hal/ath_hal.o
    CC [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_rate/amrr/amrr.o
    LD [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_rate/amrr/ath_rate_amrr.o
    CC [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_rate/minstrel/minstrel.o
    LD [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_rate/minstrel/ath_rate_minstrel.o
    CC [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_rate/onoe/onoe.o
    LD [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_rate/onoe/ath_rate_onoe.o
    CC [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_rate/sample/sample.o
    LD [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_rate/sample/ath_rate_sample.o
    CC [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/net80211/if_media.o
    CC [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/net80211/ieee80211_skb.o
    cc1: warnings being treated as errors
    /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/net80211/ieee80211_skb.c: In function 'skb_print_message':
    /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/net80211/ieee80211_skb.c:132: error: the frame size of 1072 bytes is larger than 1024 bytes
    make[3]: *** [/home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/net80211/ieee80211_skb.o] Error 1
    make[2]: *** [/home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/net80211] Error 2
    make[1]: *** [_module_/home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.30-ARCH'
    make: *** [modules] Error 2
    Last edited by jlcordeiro (2009-06-26 12:30:28)

    Not the way I wanted to solve it, but it's good enough to workaround till I have the time to go back to the problem.
    Installed from yaourt.

Maybe you are looking for