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

Similar Messages

  • Can I compile an App for iOS from Dreamweaver CS5.5 from a PC running Windows (7)?

    Can I compile an App for iOS from Dreamweaver CS5.5 from a PC running Windows (7)?

    No, you need XCode to compile the app and you need a Developers license to be able to publish.

  • [SOLVED] Can't build pulseaudio-git from AUR

    Can't build complains about:
    pulseaudio-dumpmodules.o: In function `pa_dump_modules':
    dumpmodules.c:(.text+0x163): undefined reference to `lt__PROGRAM__LTX_preloaded_symbols'
    dumpmodules.c:(.text+0x168): undefined reference to `lt__PROGRAM__LTX_preloaded_symbols'
    pulseaudio-dumpmodules.o: In function `callback':
    dumpmodules.c:(.text+0x2d4): undefined reference to `lt__PROGRAM__LTX_preloaded_symbols'
    dumpmodules.c:(.text+0x2de): undefined reference to `lt__PROGRAM__LTX_preloaded_symbols'
    pulseaudio-main.o: In function `main':
    main.c:(.text+0x6ae): undefined reference to `lt__PROGRAM__LTX_preloaded_symbols'
    collect2: ld returned 1 exit status
    On the git-shortlog it seems like he just prepped test7 so I imagine it is building for others... googling brought up something about libtool 1.5 vs 2.2 mismatch, but they were directed at 0.9.14 or older PA versions. Any suggestions are welcomed.
    Last edited by ugkbunb (2009-04-11 14:26:33)

    I just tried to compile pulseaudio 0.9.14 from the pulseaudio website on arch x86_64.
    In my /etc/makepkg.conf I have CHOST="x86_64-unknown-linux-gnu" So i don't think its the problem
    All of this is in reponse to the error message when running sudo /etc/rc.d/pulseaudio start
       /usr/bin/pulseaudio: error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory
    Also note that
    http://aur.archlinux.org/packages.php?d … s=0&SeB=nd
    says that pulseaudio needs a rebuild because of a new version of libtool
    I get the following error running make for pulseaudio:
    /home/savagenator/SVN/pulseaudio-0.9.14/src/daemon/dumpmodules.c:139: undefined reference to `lt__PROGRAM__LTX_preloaded_symbols'
    /home/savagenator/SVN/pulseaudio-0.9.14/src/daemon/dumpmodules.c:134: undefined reference to `lt__PROGRAM__LTX_preloaded_symbols'
    pulseaudio-dumpmodules.o: In function `is_preloaded':
    /home/savagenator/SVN/pulseaudio-0.9.14/src/daemon/dumpmodules.c:96: undefined reference to `lt__PROGRAM__LTX_preloaded_symbols'
    /home/savagenator/SVN/pulseaudio-0.9.14/src/daemon/dumpmodules.c:96: undefined reference to `lt__PROGRAM__LTX_preloaded_symbols'
    pulseaudio-main.o: In function `main':
    /home/savagenator/SVN/pulseaudio-0.9.14/src/daemon/main.c:575: undefined reference to `lt__PROGRAM__LTX_preloaded_symbols'
    collect2: ld returned 1 exit status

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

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

  • [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 from aur

    /usr/bin/ld: main.o: undefined reference to symbol 'XPending'
    /usr/bin/ld: note: 'XPending' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line
    /usr/lib/libX11.so.6: could not read symbols: Invalid operation
    collect2: error: ld returned 1 exit status
    make: *** [netwmpager] error 1
    Last edited by nevliv (2012-05-30 01:56:33)

    Yup, not quite the same problem.  It's an entirely independent problem with a related root cause: old/faulty PKGBUILDS.
    Terminator is correct about the general solution, but note the sed line will have to be modified more than that.  The above sed line was specific to the netwmpager Makefile.  The extcalc Makefile will not have the same linker line so the sed context will not match.
    For one-of fixes, it's probably easier to manually edit the Makefile.  Once you find an edit that works, it can be made into a sed line [and reported to the package maintainer] so they can add it to the PKGBUILD in the AUR, so other users can benefit from your fix.
    Just to stress that last point - please make sure  you are reporting these problems and the fixes on the AUR page of the package.
    EDIT: I just looked at extcalc.  It uses cmake.  I'm not remotely familiar with cmake, so the exact solution for this package may be very different.
    Last edited by Trilby (2012-05-29 13:02:02)

  • Compiling gstreamer0.10-pitfdll-cvs from AUR [SOLVED]

    I am trying to compile the pitfdll plugin for gstreamer0.10 with the PKGBUILD from AUR:
    http://aur.archlinux.org/packages.php?d … s=0&SeB=nd
    The build fails duirng the configure stage. I am not sitting in front of my workstation now, and can't quote the exact error at the moment. It basically can't parse the produced configure script produced by autoconf.
    Has anyone had success compiling it recently?
    Thanks in advance

    that package has no use: the pitfdll code hasn't been touched since we packaged it, so the official package is the same as the CVS version.

  • Can SunMC send mail alert to sysadmin for any hardware failure?

    Hi All
    for SunMC 3.61 or 4.0,, Sunmc can send mail alert to sysadmin if hardware failure.
    1. I noticed that the email actions from Attribute Editor Actions Panel is not for all the hardware attribute.
    is there any way to send mail alert to sysadmin for any hardware failure?
    2. does SunMC monitor Sun Fire T2000 hardware fully?

    Hi EricTan,
    erictan wrote:
    Hi All
    for SunMC 3.61 or 4.0,, Sunmc can send mail alert to sysadmin if hardware failure.
    1. I noticed that the email actions from Attribute Editor Actions Panel is not for all the hardware attribute.
    is there any way to send mail alert to sysadmin for any hardware failure?The out-of-the box notifications in SunMC must be set up for every data point on every system, which can be a pain to configure and manage in all but the smallest environments. And as you've noticed, for some hardware attributes there are no "Actions" tabs the allow you to configure email. To gain the features of centralized notification, and to get alarms from all sources of events in SunMC, you should consider installing [PrimeAlert EventAction|http://www.halcyoninc.com/products/EventAction/index.php] . It ships with a 30-day eval license, and if you need any help setting it up, please let me know.
    2. does SunMC monitor Sun Fire T2000 hardware fully?Yes, the Tx000 series systems have some of the best hardware support available in SunMC. As an example you can look at a T2000 screenshot and list of hardware info [in this post about SunMC and xVM Ops Center|http://forums.halcyoninc.com/showthread.php?t=109] .
    Regards,
    Regards,
    [email protected]
    [http://www.HalcyonInc.com|http://www.HalcyonInc.com]
    New !! : [http://forums.HalcyonInc.com|http://forums.HalcyonInc.com] !!

  • [SOLVED] Can't build 'crystalhd-git' package

    Hi
    I've bought  Broadcom  BCM70012 Video Decoder [Crystal HD] today. I'm trying to compile driver for this device. I need to compile two packages.
    1. libcrystalhd-git
    2. crystalhd-git
    Libcrytstalhd-git compiles just fine, no errors. But I can't build the driver crystalhd-git . Here is the output :
    make -C /lib/modules/2.6.39-ARCH/build SUBDIRS=/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux modules
    make[1]: Wejście do katalogu `/usr/src/linux-2.6.39-ARCH'
    CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_lnx.o
    CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_misc.o
    CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_cmds.o
    CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.o
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.c: In function ‘crystalhd_hw_post_tx’:
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.c:719:21: warning: variable ‘high_addr’ set but not used [-Wunused-but-set-variable]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.c:719:11: warning: variable ‘low_addr’ set but not used [-Wunused-but-set-variable]
    CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_linkfuncs.o
    CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.o
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c: In function ‘crystalhd_flea_init_dram’:
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c:171:42: warning: variable ‘sd_1_row_size’ set but not used [-Wunused-but-set-variable]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c:171:26: warning: variable ‘sd_1_bank_size’ set but not used [-Wunused-but-set-variable]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c:171:11: warning: variable ‘sd_1_col_size’ set but not used [-Wunused-but-set-variable]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c: In function ‘crystalhd_flea_set_power_state’:
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c:847:12: warning: variable ‘sts’ set but not used [-Wunused-but-set-variable]
    CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.o
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c: In function ‘crystalhd_flea_ddr_pll_config’:
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c:152:5: error: implicit declaration of function ‘msleep_interruptible’ [-Werror=implicit-function-declaration]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c: In function ‘crystalhd_flea_ddr_ctrl_init’:
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c:324:10: warning: variable ‘DQ_IDLE_MODE’ set but not used [-Wunused-but-set-variable]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c:323:10: warning: variable ‘CTL_IDLE_MODE’ set but not used [-Wunused-but-set-variable]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c:322:10: warning: variable ‘DM_IDLE_MODE’ set but not used [-Wunused-but-set-variable]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c:320:10: warning: variable ‘DQ_WIDTH’ set but not used [-Wunused-but-set-variable]
    cc1: some warnings being treated as errors
    make[2]: *** [/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.o] Błąd 1
    make[1]: *** [_module_/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux] Błąd 2
    make[1]: Opuszczenie katalogu `/usr/src/linux-2.6.39-ARCH'
    make: *** [all] Błąd 2
    ==> BŁĄD: Wystąpił błąd w build().
    Przerywam...
    ==> ERROR: Makepkg was unable to build .
    ==> Restart building crystalhd-git ? [y/N]
    ==> --------------------------------------
    ==>
    Last edited by lgolebio (2011-06-29 06:01:46)

    Try replacing `sed -i 's/'-Werror'/''/g' Makefile` with `sed -i 's/-Werror/-Wno-error=implicit-function-declaration/g' Makefile` in the PKGBUILD. This won't fix the warning but the package should build.

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

  • [SOLVED] can't update wmfs2-git

    ==> Continue installing wmfs2-git ? [Y/n]
    ==> [v]iew package contents [c]heck package with namcap
    ==> ---------------------------------------------------
    ==> y
    loading packages...
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): wmfs2-git-20120211-1
    Total Installed Size: 0.13 MiB
    Net Upgrade Size: 0.04 MiB
    Proceed with installation? [Y/n] y
    (1/1) checking package integrity [########################################] 100%
    (1/1) loading package files [########################################] 100%
    (1/1) checking for file conflicts [########################################] 100%
    error: failed to commit transaction (conflicting files)
    wmfs2-git: /usr/local/man/man1/wmfs.1.gz exists in filesystem
    Errors occurred, no packages were upgraded.
    what's this about /?
    anyone
    Last edited by gregor (2012-02-11 10:42:13)

    leave it...gonna start all over again.
    [EDIT:] is up and running.....
    Last edited by gregor (2012-02-11 11:00:24)

Maybe you are looking for