[SOLVED] Can't compile any kernels or modules

I can't compile the kernel, or any kernel modules. I tried the [core] kernel from ABS and the linux-ck kernel from AUR. I also tried to build vhba and nvidia modules.
I tried the standard cflags and many others.
All kernel compiles fail (immediately) with:
scripts/mod/empty.c:1:0: error: code model kernel does not support PIC mode
/* empty file to figure out endianness / word size */
^
edward_81 had the same problem, with a default makepkg.conf and linux-mainline, which was never resolved.
I don't know why this file is being compiled in PIC mode. I have not explicitly enabled PIC anywhere I know of. I checked everywhere I know to look.
Last edited by quequotion (2015-02-04 15:46:10)

graysky wrote:Try building one of them in a clean chroot.
Will try.
Finally got this working:
Please add V=1 to the make command on line 89 and rebuild with MAKEFLAGS="-j1" to get verbose output.
make -f ./scripts/Makefile.build obj=scripts/genksyms
[...snip...]
gcc -Wp,-MD,scripts/mod/.empty.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-unknown-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 -m64 -mno-80387 -mno-fp-ret-in-387 -march=native -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=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=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -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"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(empty)" -D"KBUILD_MODNAME=KBUILD_STR(empty)" -c -o scripts/mod/.tmp_empty.o scripts/mod/empty.c
scripts/mod/empty.c:1:0: error: code model kernel does not support PIC mode
/* empty file to figure out endianness / word size */
^
scripts/Makefile.build:257: recipe for target 'scripts/mod/empty.o' failed
Last edited by quequotion (2015-02-04 13:40:15)

Similar Messages

  • OSS kernel modules can not compile in kernel 2.6.38

    build failed:
    OSS build environment set up for REGPARM kernels
    Building module osscore
    Failed to compile OSS
    /usr/bin/make -C /lib/modules/2.6.38-ARCH-LH/build M=/usr/lib/oss/build modules
    make[1]: Entering directory `/usr/src/linux-2.6.38-ARCH-LH'
    CC [M] /usr/lib/oss/build/osscore.o
    /usr/lib/oss/build/osscore.c: In function 'alloc_fop':
    /usr/lib/oss/build/osscore.c:964:14: warning: assignment from incompatible pointer type
    /usr/lib/oss/build/osscore.c: In function 'oss_pci_read_devpath':
    /usr/lib/oss/build/osscore.c:1638:3: warning: return discards qualifiers from pointer target type
    /usr/lib/oss/build/osscore.c: In function 'oss_cmn_err':
    /usr/lib/oss/build/osscore.c:675:1: warning: the frame size of 1064 bytes is larger than 1024 bytes
    Building modules, stage 2.
    MODPOST 1 modules
    FATAL: vmlinux has no symtab?
    make[2]: *** [__modpost] Error 1
    make[1]: *** [modules] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.38-ARCH-LH'
    make: *** [default] Error 2
    is there any workaround?
    Last edited by jarryson (2011-03-17 14:38:32)

    Can't reproduce here. oss has built just fine on multiple 2.6.38 rc's as well as the mainline release. I'd say your kernel config and/or package is at fault.

  • Urgent! Pls help me! Can't compile any *.java files

    I am a new user to Java2SDK. I am using Win2K sever and I have installed Java2SDK1.4.0 in D drive. When I compile any *.java files, a message " 'javac' is not recognized as an internal or external command, operable program or batch file" appears. How can I solve this problem?
    Please help me. I am busy with my homework. Thank you very much.

    In your PATH variable include %JAVA_HOME%\bin;
    For example:
    C:\jdk1.4\bin;

  • [SOLVED] Can't get any sound working at all

    I've just installed Arch again on my MacBook 5,2 and I can't get any sound (speakers or earphones) to work. I've tried the ALSA wiki page for troubleshooting, but none of that has worked. Does anyone have any ideas where to start with this?
    Last edited by dave1022 (2011-05-07 15:04:31)

    When you try something and it doesn't work, post the commands and the errors you get here, so that someone can actually help you with your problem.
    Please help us help you.

  • [SOLVED] can't play any multimedia file, fresh install msi wind

    hi! i have now a pretty much working system i installed mplayer and alsa, and have a working xorg, i configured alsa with alsaconf and it says that the card was found and i can now change levels with alsamixer the thing is that everytime a want to play a media file, say an mp3, avi, mpg, every kind of media file, mplayer says "Starting playback..." and the do nothing, i tryed vlc too, it shows the position bar like its playing but nothiing happends and then if you want to close it the only way to stop them is via htop, not even a sudo killall mplayer/vlc do the trick, dont know if its a misconfiguration or a alsa/kernel bug, and i think that i have so less controls in alsamixer/amixer, because i don't have a mic audio level for example, i only have a "mono" Master and PC Speaker
    thanks for read!
    my xorg, amixer/mplayer/vlc output:
    my xorg:
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    # InputDevice "SynapticsTouchpad" "SendCoreEvents"
    # InputDevice "USB Mouse" "CorePointer"
    # InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    Section "ServerFlags"
    # Option "AllowMouseOpenFail" "true"
    # Option "AutoAddDevices" "False"
    EndSection
    Section "Files"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/local/"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    EndSection
    Section "Module"
    # Load "ddc"
    Load "dbe"
    # Load "xtrap"
    Load "dri"
    Load "glx"
    Load "bitmap" # bitmap-fonts
    Load "type1"
    Load "record"
    Load "extmod"
    Load "freetype"
    Load "synaptics"
    EndSection
    #Section "InputDevice"
    # Identifier "Keyboard0"
    # Driver "keyboard"
    # Option "CoreKeyboard"
    # Option "XkbRules" "xorg"
    # Option "XkbModel" "pc105"
    # Option "XkbLayout" "es"
    #EndSection
    #Section "InputDevice"
    # Identifier "USB Mouse"
    # Driver "mouse"
    # Option "Device" "/dev/input/mice"
    # Option "SendCoreEvents" "true"
    # Option "Protocol" "IMPS/2"
    # Option "ZAxisMapping" "4 5"
    # Option "Buttons" "5"
    #EndSection
    #Section "InputDevice"
    # Identifier "Touchpad"
    # Driver "synaptics"
    # Option "Device" "/dev/input/mouse0"
    # Option "Protocol" "auto-dev"
    # Option "LeftEdge" "130"
    # Option "RightEdge" "840"
    # Option "TopEdge" "130"
    # Option "BottomEdge" "640"
    # Option "FingerLow" "7"
    # Option "FingerHigh" "8"
    # Option "MaxTapTime" "180"
    # Option "MaxTapMove" "110"
    # Option "EmulateMidButtonTime" "75"
    # Option "VertScrollDelta" "20"
    # Option "HorizScrollDelta" "20"
    # Option "MinSpeed" "0.25"
    # Option "MaxSpeed" "0.50"
    # Option "AccelFactor" "0.010"
    # Option "EdgeMotionMinSpeed" "200"
    # Option "EdgeMotionMaxSpeed" "200"
    # Option "UpDownScrolling" "1"
    # Option "CircularScrolling" "1"
    # Option "CircScrollDelta" "0.1"
    # Option "CircScrollTrigger" "2"
    # Option "SHMConfig" "on"
    # Option "Emulate3Buttons" "on"
    # Option "VertTwoFingerScroll" "1"
    # Option "HorizTwoFingerScroll" "1"
    #EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Monitor Vendor"
    ModelName "Monitor Model"
    EndSection
    Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "NoAccel" # [<bool>]
    #Option "SWcursor" # [<bool>]
    #Option "ColorKey" # <i>
    #Option "CacheLines" # <i>
    #Option "Dac6Bit" # [<bool>]
    #Option "DRI" # [<bool>]
    #Option "NoDDC" # [<bool>]
    #Option "ShowCache" # [<bool>]
    #Option "XvMCSurfaces" # <i>
    #Option "PageFlip" # [<bool>]
    Identifier "Card0"
    Driver "intel"
    VendorName "Intel Corporation"
    BoardName "Mobile 945GME Express Integrated Graphics Controller"
    BusID "PCI:0:2:0"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 8
    Modes "1680x1050" "1024x600" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 16
    Modes "1680x1050" "1024x600" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    Modes "1680x1050" "1024x600" "800x600" "640x480"
    EndSubSection
    EndSection
    Section "DRI"
    Mode 0666
    EndSection
    Section "Extensions"
    Option "Composite" "Enable"
    EndSection
    amixer:
    [aleyscha@aleyscha 63 ~ 11:15]$ amixer
    Simple mixer control 'Master',0
    Capabilities: pvolume pswitch pswitch-joined
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 255
    Mono:
    Front Left: Playback 21 [8%] [-7.69dB] [on]
    Front Right: Playback 21 [8%] [-7.69dB] [on]
    Simple mixer control 'PC Speaker',0
    Capabilities: pswitch pswitch-joined
    Playback channels: Mono
    Mono: Playback [on]
    Simple mixer control 'BaseFRQ',0
    Capabilities: penum
    Items: '18643' '37286'
    Item0: '18643'
    mplayer:
    MPlayer dev-SVN-rUNKNOWN-4.3.2 (C) 2000-2009 MPlayer Team
    CPU: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (Family: 6, Model: 28, Stepping: 2)
    CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled with runtime CPU detection.
    137 audio & 292 video codecs
    Playing doorbell1.mp3.
    libavformat file format detected.
    [lavf] Audio stream found, -aid 0
    ==========================================================================
    Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
    AUDIO: 22050 Hz, 2 ch, s16le, 128.0 kbit/18.14% (ratio: 16000->88200)
    Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
    ==========================================================================
    AO: [alsa] 22050Hz 2ch s16le (2 bytes per sample)
    Video: no video
    Starting playback...
    vlc:
    [aleyscha@aleyscha 71 Music 11:24]$ vlc Krishna_Das_-_Jaya_Jagatambe_\(Pilgrim_Heart\).mp3
    VLC media player 0.9.8a Grishenko
    [00000001] main libvlc debug: VLC media player - version 0.9.8a Grishenko - (c) 1996-2008 the VideoLAN team
    [00000001] main libvlc debug: libvlc was configured with ./configure '--prefix=/usr' '--enable-dvdread' '--enable-dvdnav' '--enable-madi' '--enable-ffmpeg' '--disable-rpath' '--enable-qt4' '--enable-faad' '--enable-alsa' '--enable-skins2' '--enable-dvb' '--enable-dmo' '--with-ffmpeg-faac' '--with-ffmpeg-vorbis' '--with-ffmpeg-dts' '--with-ffmpeg-ogg' '--with-ffmpeg-theora' '--enable-v4l' '--enable-theora' '--enable-flac' '--enable-snapshot' '--enable-hal' '--enable-dbus' '--enable-ogg' '--enable-dbus-control' '--enable-shared' '--enable-nls' '--enable-lirc' '--enable-shout' '--enable-pvr' '--enable-release' '--program-suffix=' '--with-dv-raw1394=/usr/include/libraw1394' '--enable-loader' '--enable-live555' '--with-live555-tree=/usr/lib/live-media' 'CFLAGS=-march=i686 -mtune=generic -O2 -pipe' 'CXXFLAGS=-march=i686 -mtune=generic -O2 -pipe' 'PKG_CONFIG_PATH=/usr/lib/pkgconfig'
    [00000001] main libvlc debug: translation test: code is "C"
    [00000001] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
    Last edited by leo2501 (2009-01-25 23:53:47)

    A few days ago, x264 was updated through pacman. Ever since that update I have been unable to watch video over the web. VLC won't generate sound. Flash video freezes firefox and opera.  Here are some links to threads about it (also a link to the bug page where it has been assigned for a fix.). Maybe this is what is causing your problem as well??
    http://bbs.archlinux.org/viewtopic.php?id=63509
    http://bbs.archlinux.org/viewtopic.php?id=63461
    http://bugs.archlinux.org/task/12872

  • [SOLVED] Can't compile tupi-git or Ktoon from AUR - hardware failure

    EDIT:  Tupi-git compiles fine, just not on my main desktop. the machine, has some nasty hardware problems, caused by a lightning storm/power failure a few weeks ago .
    it appears, the CMOS is damaged (clock skew and other problems), and that the motherboard also has problems (NMI interrupt handler warning, as well as CPU damage, fun).
    it's time to buy some new hardware, i guess.
    Hi everyone,
    I am having a strange issue.  I have been using Tupi-git, for a while - but the other day i went to re-compile it, and now it won't build. it's interesting because i have been able to compile Tupi-git in the past, no problem. i've also tried compiling it manually from git too.
    I am running gnome3 and tupi / ktoon shouldn't have much dependencies to KDE itself (as i said i have compiled Tupi before. I tried to compile Ktoon, thinking it might pull in a dependency i had missed or something, but no dice... I've even chatted with the Tupi developer about it, he even installed Arch and was able to get it to compile...
    however, he is using KDE, so i am wondering if their is some mysterious dependency (although i did try installing kdebase, but it made no difference). my main concern is tupi / not so much ktoon - but i mention ktoon because Tupi is a fork of it.
    I'm at a loss as to what is stopping it, i had thought maybe a linker is missing somewhere, or it can't find a header / library.
    it fails here:
    lavformat -laspell -ltupifwgui -ltupifwcore -ltupifwsound -lz -lQtSvg -lQtXml -lQtOpenGL -lQtGui -lQtNetwork -lQtCore -lGLU -lGL -lpthread
    ../../src/components/paintarea/libpaintarea.a(ktviewdocument.o): In function `KTViewDocument::setSpaceContext()':
    ktviewdocument.cpp:(.text+0x4a96): undefined reference to `KTProject::updateSpaceContext(KTProject::Mode)'
    ktviewdocument.cpp:(.text+0x4b26): undefined reference to `KTProject::updateSpaceContext(KTProject::Mode)'
    ../../src/components/paintarea/libpaintarea.a(ktpaintarea.o): In function `KTPaintArea::frameResponse(KTFrameResponse*)':
    ktpaintarea.cpp:(.text+0xb6b): undefined reference to `KTGraphicsScene::frameResponse(KTFrameResponse*)'
    ../../src/components/paintarea/libpaintarea.a(ktpaintarea.o): In function `KTPaintArea::sceneResponse(KTSceneResponse*)':
    ktpaintarea.cpp:(.text+0x112f): undefined reference to `KTGraphicsScene::sceneResponse(KTSceneResponse*)'
    ../../src/components/paintarea/libpaintarea.a(ktpaintarea.o): In function `KTPaintArea::layerResponse(KTLayerResponse*)':
    ktpaintarea.cpp:(.text+0x333f): undefined reference to `KTGraphicsScene::layerResponse(KTLayerResponse*)'
    collect2: ld returned 1 exit status
    make[2]: *** [../../bin/tupi.bin] Error 1
    make[2]: Leaving directory `/home/ninez/Desktop/tupi/src/shell'
    make[1]: *** [sub-shell-make_default] Error 2
    make[1]: Leaving directory `/home/ninez/Desktop/tupi/src'
    make: *** [sub-src-make_default] Error 2
    and i have log files from but './configure' and the full output of 'make', over here (at pastebin):
    http://pastebin.com/Mbf8Ck2s  ( ./configure logs)
    http://pastebin.com/4iVbbSgF   ( make logs )
    I would appreciate any help, i have been trying to figure this out for a few days, but am not much of a programmer.  in fact, i am supposed to be doing some translations and icon sets / themes for Tupi: Magia 2d .. but this is hindering my ability to do so...
    thanks in advance
    Last edited by triplesquarednine (2011-07-16 18:21:20)

    graysky wrote:Try building one of them in a clean chroot.
    Will try.
    Finally got this working:
    Please add V=1 to the make command on line 89 and rebuild with MAKEFLAGS="-j1" to get verbose output.
    make -f ./scripts/Makefile.build obj=scripts/genksyms
    [...snip...]
    gcc -Wp,-MD,scripts/mod/.empty.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-unknown-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 -m64 -mno-80387 -mno-fp-ret-in-387 -march=native -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=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=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -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"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(empty)" -D"KBUILD_MODNAME=KBUILD_STR(empty)" -c -o scripts/mod/.tmp_empty.o scripts/mod/empty.c
    scripts/mod/empty.c:1:0: error: code model kernel does not support PIC mode
    /* empty file to figure out endianness / word size */
    ^
    scripts/Makefile.build:257: recipe for target 'scripts/mod/empty.o' failed
    Last edited by quequotion (2015-02-04 13:40:15)

  • [SOLVED] Can't compile hdjmod and hdjcpl from AUR.

    Hello,
    I've bought a Hercules DJ Console MK2, and I would like to use it with Mixxx.
    It doesn't seem to be recognized by Mixxx, probably because no drivers are installed.
    So I decide to install hdjmod from AUR.
    It also gets hdjcpl (dependency), but while compiling, it fails.
    Here's the error message :
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c ghelpers.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gbutton.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gcheckbox.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gcombobox.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gslider.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gstatic.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gstatictext.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps gcc -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -c binreloc.c
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    g++ -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -pthread -o hdjcpl hdjcpl.o alsainterface.o bulkinterface.o drivernotification.o hidnotification.o dmanager.o localization.o devnulldlg.o devdjcdlg.o devmk2dlg.o devmp3dlg.o devrmxdlg.o devsteeldlg.o gcontrol.o gdialog.o ghelpers.o gbutton.o gcheckbox.o gcombobox.o gslider.o gstatic.o gstatictext.o binreloc.o -L../../wxWidgets-2.8.10/buildgtk/lib -lz -lm -lasound -pthread -lSM -lgtk-x11-2.0 -lgthread-2.0 -lglib-2.0 -lwx_gtk2_adv-2.8 -lwx_gtk2_core-2.8 -lwx_base-2.8 -lwxpng-2.8
    ../../wxWidgets-2.8.10/buildgtk/lib/libwx_gtk2_core-2.8.a(corelib_displayx11.o): In function `wxDisplayImplX11::ChangeMode(wxVideoMode const&)':
    displayx11.cpp:(.text+0x20f): undefined reference to `XF86VidModeGetAllModeLines'
    displayx11.cpp:(.text+0x2f1): undefined reference to `XF86VidModeSwitchToMode'
    displayx11.cpp:(.text+0x3bd): undefined reference to `XF86VidModeSwitchToMode'
    ../../wxWidgets-2.8.10/buildgtk/lib/libwx_gtk2_core-2.8.a(corelib_displayx11.o): In function `wxDisplayImplX11::GetCurrentMode() const':
    displayx11.cpp:(.text+0x462): undefined reference to `XF86VidModeGetModeLine'
    ../../wxWidgets-2.8.10/buildgtk/lib/libwx_gtk2_core-2.8.a(corelib_displayx11.o): In function `wxDisplayImplX11::GetModes(wxVideoMode const&) const':
    displayx11.cpp:(.text+0x6b7): undefined reference to `XF86VidModeGetAllModeLines'
    collect2: ld returned 1 exit status
    make[2]: *** [hdjcpl] Error 1
    make[2]: Leaving directory `/tmp/yaourt-tmp-alex/aur-hdjcpl/hdjcpl/src/hdjcpl-1.09/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/yaourt-tmp-alex/aur-hdjcpl/hdjcpl/src/hdjcpl-1.09'
    make: *** [all] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build hdjcpl package.
    Do you have any idea about the reason I got this error ?
    What are the prerequisite to install these drivers (I mean, is there any other dependency that isn't asked in the PKGBUILD ?) ?
    Sorry for my bad english.
    Thanks for future answers.
    skYzer
    Last edited by skYzer (2009-09-23 10:32:20)

    Welcome to the forum skYzer!
    makepkg can show you if there are some dependencies that you didn't installed, and makepkg with -s option does it for you automatically, so it installs all the dependencies.
    If the author missed this dependencies from the PKGBUILD, you can see on the url address in the PKGBUILD (so on the author site) what do they write about dependencies, in last case try it manually, and see config.log, or similar outputs.
    Btw, it can be built by  me without any problem.
    Last case you could build it manually, without using fakeroot environment, and the PKGBUILD from maintainer.

  • [solved] Can not compile gtk2 apps

    Hello every one
    When trying to compile, for example, lingot, I'm getting this:
    I'm getting this when try to compile:
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking whether we are cross compiling... no
    checking for gcc option to accept ISO C89... none needed
    checking for library containing strerror... none required
    checking for gcc option to accept ISO C89... (cached) none needed
    checking for gcc option to accept ISO C89... (cached) none needed
    checking for a sed that does not truncate output... /bin/sed
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking whether -lc should be explicitly linked in... no
    lingot-config-dialog.h:27:21: error fatal: gtk/gtk.h: No existe el fichero o el directorio
    I'm getting this with a lot of packages also. nautilus-elementary-bzr too.
    I'll thank you any help anyone can provide.
    Last edited by faco (2010-12-25 12:50:20)

    Package gdk-pixbuf-2.0 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `gdk-pixbuf-2.0.pc'
    to the PKG_CONFIG_PATH environment variable.
    How can I do fix it?
    thanks.

  • [Solved] Can't compile lastfm-client

    Hi!
    I'm having some problems compiling lastfm-client from AUR. Long story short, I'll just post the output of makepkg
    g++ -Wl,-rpath,/usr/lib -shared -Wl,-soname,libMoose.so.1 -o libMoose.so.1.0.0 ../../build/Moose/release/confirmdialog.o ../../build/Moose/release/MooseCommon.o ../../build/Moose/release/LastFmSettings.o ../../build/Moose/release/moc_confirmdialog.o ../../build/Moose/release/moc_LastFmSettings.o -L/home/shin/lfm/src/last.fm-1.5.1.31879/bin -L/usr/lib -lLastFmTools -lQtXml -L/usr/lib -pthread -pthread -lQtGui -L/usr/X11R6/lib -pthread -lpng -lSM -lICE -pthread -pthread -lXi -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lQtNetwork -lssl -lcrypto -pthread -pthread -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
    ln -s libMoose.so.1.0.0 libMoose.so
    ln -s libMoose.so.1.0.0 libMoose.so.1
    ln -s libMoose.so.1.0.0 libMoose.so.1.0
    rm -f ../../bin/libMoose.so.1.0.0
    rm -f ../../bin/libMoose.so
    rm -f ../../bin/libMoose.so.1
    rm -f ../../bin/libMoose.so.1.0
    mv -f libMoose.so.1.0.0 libMoose.so libMoose.so.1 libMoose.so.1.0 ../../bin/
    make[1]: Leaving directory `/home/shin/lfm/src/last.fm-1.5.1.31879/src/libMoose'
    cd src/libFingerprint/fplib/pro_qmake/ && make -f Makefile.fplib
    make[1]: Entering directory `/home/shin/lfm/src/last.fm-1.5.1.31879/src/libFingerprint/fplib/pro_qmake'
    make[1]: *** No rule to make target `/usr/share/qt4/mkspecs/linux-g++/qmake.conf', needed by `Makefile.fplib'. Stop.
    make[1]: Leaving directory `/home/shin/lfm/src/last.fm-1.5.1.31879/src/libFingerprint/fplib/pro_qmake'
    make: *** [sub-src-libFingerprint-fplib-pro_qmake-fplib-pro-make_default-ordered] Error 2
    mv: cannot stat `build/fplib/libfplib_debug.a': No such file or directory
    ==> ERROR: Build Failed.
    Any ideas?
    Last edited by lateralus (2008-11-09 15:59:28)

    kazuo wrote:
    lateralus wrote:
    make[1]: *** No rule to make target `/usr/share/qt4/mkspecs/linux-g++/qmake.conf', needed by `Makefile.fplib'. Stop
    Any ideas?
    The qt4 path is wrong, qmake.conf is installed on /usr/share/qt/mkspecs/linux-g++/qmake.conf.
    The PKGBUILD is from commubity correctly? it have a sed to change qt4 to qt, I don't know why it is commented you can try to change it.
    OK, I've made an symbolic link /usr/share/qt -> /usr/share/qt4 and now it works. PKGBUILD was straight from the AUR CVS.
    Thanks!

  • Can not compile custom kernel

    Hi I'm  trying to compile my own kernel for using fbcondecor and liquorix set of patches so I create a custom pkgbuild for kernel26 based on arch kernel26 pkgbuild from abs/core
    The problem comes when I start compilation it gets aborted without error message, here are the files and the log :
    CUSTOM PKGBUILD FOR KERNEL26
    http://pastebin.com/8X9nmWaU
    CONFIG FOR KERNEL
    http://pastebin.com/A08CXFZ0
    MAKEPKG LOG
    http://pastebin.com/tLs9GnRC
    Also my lscpi output
    00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
    00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
    00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
    00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
    00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
    00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
    00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
    00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
    00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
    00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
    00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
    00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
    00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
    00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
    00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
    00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
    00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
    00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
    00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
    00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
    00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
    00:1f.6 Signal processing controller: Intel Corporation 82801I (ICH9 Family) Thermal Subsystem (rev 03)
    02:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
    03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
    I know I'm missing something but I don't know what
    For creating the config file I untar the kernel source and run localmodconfig and gconfig for removing what I think I don't need
    Also I'm using the liquorix patches set becuase they allready include the support for fbcondecor
    I am using this pages as reference for creating the config file
    http://zen-kernel.org/tutorials/creatin … figuration
    http://kmuto.jp/debian/hcl/index.rhtmlx
    http://kernel-seeds.org/
    Can someone point me to the right direcction I'll apreciate that a lot ( this  are my first attempts to compile a custom kernel )
    I'm running arch x86_64 uptodate

    Your error is here :
    kernel/sched_bfs.c:3393:1: error: tipos en conflicto para ‘wait_for_completion_interruptible_timeout’
    include/linux/completion.h:84:13: nota: la declaración previa de ‘wait_for_completion_interruptible_timeout’ estaba aquí
    kernel/sched_bfs.c:3398:1: error: tipos en conflicto para ‘wait_for_completion_interruptible_timeout’
    include/linux/completion.h:84:13: nota: la declaración previa de ‘wait_for_completion_interruptible_timeout’ estaba aquí
    kernel/sched_bfs.c:3426:1: error: tipos en conflicto para ‘wait_for_completion_killable_timeout’
    include/linux/completion.h:86:13: nota: la declaración previa de ‘wait_for_completion_killable_timeout’ estaba aquí
    kernel/sched_bfs.c:3431:1: error: tipos en conflicto para ‘wait_for_completion_killable_timeout’
    include/linux/completion.h:86:13: nota: la declaración previa de ‘wait_for_completion_killable_timeout’ estaba aquí
    kernel/sched_bfs.c:3948:5: error: tipos en conflicto para ‘sched_setscheduler’
    include/linux/sched.h:2069:12: nota: la declaración previa de ‘sched_setscheduler’ estaba aquí
    kernel/sched_bfs.c:3954:1: error: tipos en conflicto para ‘sched_setscheduler’
    include/linux/sched.h:2069:12: nota: la declaración previa de ‘sched_setscheduler’ estaba aquí
    kernel/sched_bfs.c:3967:5: error: tipos en conflicto para ‘sched_setscheduler_nocheck’
    include/linux/sched.h:2071:12: nota: la declaración previa de ‘sched_setscheduler_nocheck’ estaba aquí
    As far as I can see it seems that your patches are actually doing something to sched_bfs.c, so it's probably their fault.  eldragon's advice could verify that.

  • [SOLVED] Can't compile kyotocabinet-python AUR package after Python up

    Hello,
    after today's upgrade to 3.3.0-1, Python lost access to the kyotocabinet package (kyotocabinet-python 1.22-1 from AUR). I tried to recompile it, but when I run makepkg, It just aborts with an error. Anyone knows what is going on?
    running build
    running build_ext
    building 'kyotocabinet' extension
    gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/python3.3m -c kyotocabinet.cc -o build/temp.linux-i686-3.3/kyotocabinet.o
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
    In file included from /usr/include/python3.3m/pyatomic.h:8:0,
    from /usr/include/python3.3m/Python.h:53,
    from kyotocabinet.cc:24:
    /usr/include/python3.3m/dynamic_annotations.h:472:3: error: template with C linkage
    error: command 'gcc' failed with exit status 1
    EDIT: Issue Solved.
    Last edited by jjalocha (2012-11-21 11:27:28)

    Hello,
    sadly I still haven't been able to recompile kyotocabinet-python with the new Python version (3.3.0-1)—it always gives the same error described in my first post. No new version has been released by Hatsuki Hirabayashi either, so I had to downgrade the system to Python 3.2.3-3.
    I'd like to know if anyone else is currently able/unable to use kyotocabinet-python, so that I may contact the package author directly.
    Any ideas?

  • [SOLVED] can't compile grass "Unable to locate includes."

    Hello everybody!
    I am somewhat stuck at getting QGIS up and running as I am not able to compile grass (https://aur.archlinux.org/packages/grass/).
    System is up-to-date Arch64 running 3.8.6-3-ck. I used cower to get the source-files and PKGBUILD from AUR.
    makepkg is throwing:
    checking for curses.h... no
    configure: error: *** Unable to locate curses includes.
    curses is of course installed and in /usr/include where it is supposed to be. After unsuccessfully fiddling around for a while I disabled curses-support in the PKGBUILD file (--without-curses) which got me as far as the zlib includes:
    checking for zlib.h... no
    configure: error: *** Unable to locate zlib includes.
    Trying grass7svn got me stuck with the same problems.
    If anyone could point me into a direction I would greatly appreciate it.
    Many thanks in advance!
    a
    The full output of makepkg (with and without curses) as well as the respective config.log files can be found here: https://gist.github.com/attractedtofire/5345416
    Last edited by attractedtofire (2013-04-12 11:16:37)

    Thanks brebs, I will look into that tomorrow!
    Funny enough I got grass to get through "./configure" manually with the exact same settings from the PKGBUILD, namely:
    ./configure --prefix=/opt --enable-64bit --enable-W11 --with-jpg --with-tiff --with-png --with-tcltk --with-opengl --with-fftw --with-postgres --with-freetype --with-freetype-includes=/usr/include/freetype2 --without-glw --with-nls --with-gdal --with-geos --with-proj-includes=/usr/include --with-proj-libs=/usr/lib --with-proj-share=/usr/share/proj --with-python=/usr/bin/python2-config --with-wxwidgets=/usr/bin/wx-config
    Ran through makepkg, which - as far as I understand from the PKGBUILD - does exactly the same, it throws up aforementioned configure-errors.
    I eventually ran ./configure and make, went back to the PKGBUILD, removed the build()-section and used makepkg just to turn the compiled source code into a pkg-file. It installed without a problem, will see if it works once qgis finished compiling.
    Anyway, I'd really like to understand what is the problem..

  • [SOLVED] can't boot after kernel upgrade

    I'm on 3.5.4-1-ARCH, then I upgrade to linux-3.5.6-1 and reboot. The result is a message that cant load "autofs4" module. And a "uname -r" says me: 3.5.4-1-ARCH instead of 3.5.6!!
    I've tried to run depmod after the upgrade with de same result.
    Last edited by siot (2012-10-09 20:11:23)

    It sounds as if the new kernel did not find its way to your boot partition.  This could have been because the boot partition was not mounted when you did the upgrade (in which case the file is in the /boot mount point of your root partition) or that you are not booting from the partition you are expecting (Do you, per chance, have two boot partitions?)
    Regardless, boot from an install media and fix it from the command line.  if the files are in /boot of the root partition rather then one the boot partition, mount both volumes and just move the files.  If there are multiple boot partitions, move the files to the correct partition.  Once you reboot, fix the /etc/fstab to point to the correct boot partition.

  • I can't compile any project...

    Hello,
    I installed Alchemy correctly, but when I try too compile my project, I always get this error message :
    I don't understand why, since llvm-stub.exe is in the same folder as llvm-ld.
    I'm using Alchemy with Cygwin btw.
    Thanks in advance for you help

    I'm not to familiar with fmod, but it would look like from the web page that it's a library (in windows it would be a dll I asume) that you can make calls to.  If that's they case, Alchemy is not for you.
    Alchemy does not do anything that you can't do in the FlashPlayer / Air runtimes.
    Alchemy does not generate platform bytecode.
    Alchemy does generate FlashPlayer bytecode.
    Alchemy does not get arround the FlashPlayer sandbox.
    Alchmey let's you port C/C++ code and turn it into FlashPlayer bytecodes.
    If you have the sourcecode for fmod and you wish to compile the sourcecode, you can, but you will NOT have direct access to the hardware, that goes against the principle of Flash security sandbox.
    That said... there are future things comming up, which I unfortunately can't disclose, that might help you with that plan in the near future, but it sounds like you have the wrong concept of what Alchemy is.
    Whatever problem is that you are having, it's in your setup.  There is no "magic", it works out of the box if you follow the steps properly, so if you did, then it might be something in your system that is causing the conflict.
    As an observation:
    if you get a "The file exists" error when you are creating the symbolic link, then that's probably your problem.
    As stupid as this sounds, make absolutely 100% sure that you DID remove the llvm-stub.exe file before you create the symbolic link again, and make sure that you are in the right directory when you do so.  You should NOT get "The file exists" error when creating the link.
    BTW. that would have nothing to do with Alchemy, but more with cygwin.
    You have no idea how many IT certified [InsertWhateverHere] experts have I told to check the basics, which they asure me they have, and when I go step by step, it turns out to be something basic.
    Sometimes you are looking to blame something else, and miss the obvious.

  • [SOLVED] Can't compile using SDL

    I wrote this simple test.
    #include <SDL.h>
    int main( int argc, char **argv ) {
    return 0;
    And when compiling it with
    gcc -g -Wall -I/usr/include/SDL -o sdl-test.c -lSDL
    I get:
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../lib/crt1.o: In function `_start':
    (.text+0x20): undefined reference to `main'
    collect2: ld returned 1 exit status
    Anyone have any idea what I've done wrong or am missing?
    Last edited by scragar (2009-07-14 18:43:29)

    Well, I feel stupid now.
    Thanks so much for that, from the error I was thinking I'd screwed up a library or something, would never have tried changing the line I used to compile it.

Maybe you are looking for

  • Moving data from pc to mac

    so im switching from pc to mac(made a post earlier with some questions) and have another question regarding moving my data. although i could use an ipod with disk enabled, could i also just use an external hardrive? my plan was to borrow my friends e

  • Install Error

    Hi everyone, I got the following error during installation of Flashpaper on Windows Vista: Error 1904.Module C:\Windows\system32\Macromed\Flash\Flash.ocx failed to register, HRESULT -2147220473. Contact your support personnel. Has anyone seen this be

  • Filed BEWAR in transaction F-51, F-44 is greyed out, not editable

    Hello Gurus, I would like to ask you one thing. We are using transaction F-51 to post with clearing. When we enter the line with the GL account and amout, automatically the line with vendor is marked for correction. In this company is due to validati

  • Any way to get folio to render buttons in vector rather than raster?

    Just curious if there is any way to get a folio to render a button in vector rather than raster format?  I know with multi-state objects there is a nice little setting to tell it to use vector... but nothing for buttons that I can find?!  I just don'

  • How do I upgrade from my old Mac OS X software to snow leopard

    I have a Mac Desktop and want to upgrade my software from OS X 10.5.8 to the most current availabel for my computer.  Any idea on how I do that?