Compiling from Source

Well... I'm running 10.6.2 in 64-bit mode and I'm trying to upgrade the GCC and PHP installations by downloading and installing the latest official packages. The only problem is that when I'm trying to run the make command, I get some errors, which I figured they might be caused by the OS. So what target do I have to specify when trying to install a package in this manner? Nothing seems to work. Thanks in advance!

XLR3204S wrote:
I also wanted to learn the CLI Linux/UNIX, and I kept reading that I could do a very large amount of it on OS X. That's why I tried everything in the OS X Terminal.
You can do everything in the Terminal. That is an excellent way to learn how things work underneath. I always recommend programmers start with the Terminal before jumping into an IDE like Xcode.
Some did, some didn't compile for me (MPFR and GMP, for example, worked. PHP and GCC didn't ), and I'd say they're quite common.
It isn't the commonality, it is how closely a package is tied to a particular OS. Both PHP and GCC come with MacOSX, so you have to be careful with them. If you really need to, you can build your own versions, with some work.
Unless I've got something wrong. The partition recovery operation was to be carried out for a Windows-based machine, and the instructions recommended CygWin for compilation under Windows.
GCC, for example, is closely tied to the OS. Apple ships that particular version of GCC because that is the version they build Snow Leopard with. Even so, GCC 4.2 has some serious bugs, especially with C++ and Debug mode.
PHP isn't too difficult to build. The dependencies are the hard part there. PHP is very modular and can link to lots of different libraries. It is closely tied to Apache, so if you want your own build you really have to know PHP and Apache well. You can always download Apple source projects that are "guaranteed to build" on MacOS X - with some work
I have no idea about that partition recovery tool. If you can build it, I sure wouldn't try to run it. Windows and Linux file systems are very different from MacOS X.
I think you just had the misfortune to start playing with things that are very difficult to build, even under the best circumstances.
I'll see what I'll end up doing, I've got many things sorted out and clarified after reading this thread. Thanks a lot!
If you have any questions, just ask here. Most people aren't ask anti-Macports/Fink as I am. I just don't like the idea that anything needs to be "ported" to MacOSX. If an open-source tool won't build out of the box on MacOSX, then either it shouldn't (because it is hardware or OS-dependent) or you don't want it to (because it is junk).

Similar Messages

  • [Solved] Apps compiled from source never work and a security question

    Gentlemen,
    I'm a Linux noob but in spite of that I managed to install Archlinux thanks to a fine How To Wiki.
    1. I have a question regarding compiling from source in Arch - does it differ from other linuxdistros?
    With other distros I normally install in /usr/local and that has worked flawless.
    Take Pacman for instance: although I can see there is this Opera app available in the repo (via arch's home page -> search package), the 'pacman -S opera' tells me the app doesn't exist.
    I've tried to download and install it from source following Opera's own 'how to' but the app fails to start, after a successful installation.
    Same goes with other apps such as f-prot antivirus.
    Did I miss something important here?
    2. I installed Arch over FTP. How safe is it, considering I'm not behind a router and the iptables/firestarter was only installed after xfce4 was installed. What about open ports and such? I know there aren't many services enabled/listening but I noticed couple of daemons such as portmap being active during the installation process.
    Thanks
    Last edited by new2arch (2008-02-25 16:12:31)

    kumico wrote:
    you can add /usr/local to the path in /etc/profile to make it global or in your ~/.bashrc or ~/.bash_profile to make it available to your user session.
    a pkgbuild is pretty simple once you get used to it,
    you may be put off by packaging standards, you can ignore them, they are only for people intending to share
    with other via the AUR for example.
    you can copy one of the existign ones, either the prototypes or jsut anyone from the aur,
    then change stuff you fidn necessary, like pkgname, pkgver, etc.
    and add the same build commands you'd use otherwise to the build()
    and usualy for a make install, just add DESTDIR=$startdir/pkg etc.,... just practice you'll get the hang of it very quickly
    Hi Kumico, thanks for the tip.
    Or I could try using Arch's default paths as long as the applications don't mind. But it's nice to have an alternative solution should any trouble arise.
    Regarding pkgbuild, I'll probably start to use it when I feel more comfy with the Arch environment itself.
    Using the terminal to perform...well, just about everything, rather than having a nice gui isn't actually bad, but there sure is a transition for a newbie to adapt to. 

  • Trying to compile from source, several cpp files, but not a developer

    First of, I'd like to start with this- I'm not a developer (only do BASH scripting and Python). I've done some basic packages in AUR and am working on a new one. I have the source, mainly a bunch of cpp files. I'm used to seeing a configure or autogen script, however the source I have does not provide these. I can do a PKGBUILD that works with the .deb file package, but I'd like to compile from source for AUR. I've tried looking at other C++ packages in AUR but I can't seem to find one that doesn't have a configure script with the source files. Google also did not help much.
    Any advice or pointers to resources would be greatly appreciated. I've also got a message out to the developer about it- the more I can learn on this the better. The source isn't on the site yet, but the application is fred, located at:
    https://www.pinguin.lu/
    Thanks in advance!

    Sorry I can't help.  A list of filenames or at least file types could be useful.  But I just checked my email, downloaded whatever that was and found that it was not a proper tarball and could not be extracted.
    Edit: I must be really bored tonight.  I passed whatever that was (the not-quite-tarball) through gnu strings and less, and sure enough I was able to scroll through most of the code.  Along the way I saw a Makefile hack with a initial line "#!/usr/bin/make -f" which would run make and treat the contents of that file as a Makefile.  Reading it in this way I could not determine what the filename was, but it may have ended in ".sh" or it might have been called "install".  In any case you can do `grep '/usr/bin/make' * and run whichever file matches.
    I'd also ask the developer to consider dropping that hash-bang invocation and just properly naming that file "Makefile".
    edit2: there is also a reference to the ".pro" file which is used by qmake (I think) like a Makefile.
    edit3: I just verified on a few properly made tarballs: `strings <name>.tar.gz | less` does not show anything remotely readable in any other tarballs, but run on yours I can read *all* of the code directly. I'm not sure how you made that tarball, but you may want to look into that.
    Last edited by Trilby (2012-07-04 00:33:20)

  • [SOLVED] error compiling from source Broadcom BCM70015 driver

    Hi,
    This is my first post.
    I have one HP Thin Client T5740 with Intel Atom 1.66 MHz, 1Gb RAM and Broadcom BCM70015 decoder card installed on it.
    I have install the last version of archlinux on T5740 and this working very well.
    Now, I want compile from source Broadcom BCM70015 but result this error when compiling libcrystalhd:
    ==> Continue building libcrystalhd-git ? [Y/n]
    ==> ------------------------------------------
    ==>
    ==> Building and installing package
    ==> ERROR: Missing package() function in /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/./PKGBUILD
    ==> ERROR: Makepkg was unable to build libcrystalhd-git.
    ==> Restart building libcrystalhd-git ? [y/N]
    ==> -----------------------------------------
    ==>
    Where is the problem
    Please help me. Thanks
    Last edited by Eugen1968 (2015-02-08 22:53:17)

    Thank you, for help.
    This is the full output :
    [eugen@HP-T5740 ~]$ yaourt crystalhd
    1 aur/crystalhd-firmware 20120110-2 (3)
    Crystal HD Video Decoder firmware
    2 aur/crystalhd-git 20130503-1 (10)
    Broadcom CrystalHD kernel module
    3 aur/crystalhd-snapshot 3.8.0-2 (0)
    Broadcom CrystalHD kernel module & library, tagged releases from Google Code SVN tree
    4 aur/gst-plugin-crystalhd-git 20120115-1 (4)
    Broadcom Crystal HD GST Plugin (Totem for instance) from git.wilsonet.com
    5 aur/libcrystalhd 20100703-3 (2)
    Broadcom Crystal HD library
    6 aur/libcrystalhd-git 20130503-2 (13)
    Broadcom CrystalHD library
    ==> Enter n of packages to be installed (ex: 1 2 3 or 1-3)
    ==> --------------------------------------------------------
    ==> 2
    ==> Downloading crystalhd-git PKGBUILD from AUR...
    bsdtar: Failed to set default locale
    x PKGBUILD
    x devinitFix.patch
    x crystalhd-git.install
    Comment by rhon (2013-04-20 12:58)
    Have you installed kernel headers ?
    Comment by rhon (2013-05-03 12:08)
    Patch is now included in package.
    Comment by binaryjay (2013-08-07 11:47)
    Is there a reason that after all of this time this is still only available in AUR, why isn't this module available in the package repository?
    Comment by rhon (2013-08-22 04:46)
    I guess it's because the package doesn't get enough votes.
    Comment by rhon (2013-09-26 20:36)
    Package is now orphan because I don't use the devices anymore, so I can't test the module.
    crystalhd-git 20130503-1 (Thu Feb 4 13:38:05 UTC 2010)
    This package is orphaned
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> y
    Please add $EDITOR to your environment variables
    for example:
    export EDITOR="vim" (in ~/.bashrc)
    (replace vim with your favorite editor)
    ==> Edit PKGBUILD with: nano
    ==> crystalhd-git dependencies:
    - linux>=3.0 (already installed)
    - autoconf (already installed)
    - make (already installed)
    - libcrystalhd-git (building from AUR)
    - linux-headers>=3.0 (package found)
    - git (package found)
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> y
    ==> crystalhd-git dependencies:
    - linux>=3.0 (already installed)
    - autoconf (already installed)
    - make (already installed)
    - libcrystalhd-git (building from AUR)
    - linux-headers>=3.0 (package found)
    - git (package found)
    ==> Edit crystalhd-git.install ? [Y/n] ("A" to abort)
    ==> -------------------------------------------------
    ==> y
    ==> Continue building crystalhd-git ? [Y/n]
    ==> ---------------------------------------
    ==>
    ==> Building and installing package
    ==> Install or build missing dependencies for crystalhd-git:
    resolving dependencies...
    looking for conflicting packages...
    Packages (3) perl-error-0.17022-1 git-2.2.2-1 linux-headers-3.18.4-1
    Total Download Size: 10.26 MiB
    Total Installed Size: 57.07 MiB
    :: Proceed with installation? [Y/n] y
    :: Retrieving packages ...
    linux-headers-3.18.4-1-i686 6.1 MiB 377K/s 00:17 [###########################################] 100%
    perl-error-0.17022-1-any 18.3 KiB 0.00B/s 00:00 [###########################################] 100%
    git-2.2.2-1-i686 4.1 MiB 538K/s 00:08 [###########################################] 100%
    (3/3) checking keys in keyring [###########################################] 100%
    (3/3) checking package integrity [###########################################] 100%
    (3/3) loading package files [###########################################] 100%
    (3/3) checking for file conflicts [###########################################] 100%
    (3/3) checking available disk space [###########################################] 100%
    (1/3) installing linux-headers [###########################################] 100%
    (2/3) installing perl-error [###########################################] 100%
    (3/3) installing git [###########################################] 100%
    Optional dependencies for git
    tk: gitk and git gui
    perl-libwww: git svn
    perl-term-readkey: git svn
    perl-mime-tools: git send-email
    perl-net-smtp-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    python2: various helper scripts
    subversion: git svn
    cvsps2: git cvsimport
    gnome-keyring: GNOME keyring credential helper
    ==> Downloading libcrystalhd-git PKGBUILD from AUR...
    bsdtar: Failed to set default locale
    x crystalhd-3cb6786-fix_typo.patch
    x crystalhd-3cb6786-crosscompiling-0.1.patch
    x crystalhd-3cb6786-lower_THRESHOLD_globals.patch
    x crystalhd-3cb6786-use_8_DMA_buffers.patch
    x PKGBUILD
    Comment by rudolf (2012-11-21 11:49)
    I'm orphaning the crystalhd-git and libcrystalhd-git, because I don't have the hardware anymore.
    Comment by rhon (2013-04-03 21:12)
    Updated with patches from Openelec (https://github.com/OpenELEC/OpenELEC.tv/tree/master/packages/multimedia/crystalhd/patches)
    Comment by rhon (2013-05-03 12:21)
    Instead of fetching patches from github, there are now in the package.
    Comment by rhon (2013-09-26 20:36)
    Package is now orphan because I don't use the devices anymore, so I can't test the module.
    Comment by Eugen1968 (2015-01-25 10:58)
    I want compile from source Broadcom BCM70015 but result this error when compiling libcrystalhd:
    == Continue building libcrystalhd-git ? [Y/n]
    == ------------------------------------------
    ==
    == Building and installing package
    == ERROR: Missing package() function in /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/./PKGBUILD
    == ERROR: Makepkg was unable to build libcrystalhd-git.
    == Restart building libcrystalhd-git ? [y/N]
    == -----------------------------------------
    ==
    libcrystalhd-git 20130503-2 (Thu Feb 4 13:38:37 UTC 2010)
    This package is orphaned
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> y
    ==> libcrystalhd-git dependencies:
    - gcc-libs (already installed)
    - git (already installed)
    - make (already installed)
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> y
    ==> libcrystalhd-git dependencies:
    - gcc-libs (already installed)
    - git (already installed)
    - make (already installed)
    ==> Continue building libcrystalhd-git ? [Y/n]
    ==> ------------------------------------------
    ==>
    ==> Building and installing package
    ==> Making package: libcrystalhd-git 20130503-2 (Sun Feb 1 14:04:15 UTC 2015)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Found crystalhd-3cb6786-crosscompiling-0.1.patch
    -> Found crystalhd-3cb6786-fix_typo.patch
    -> Found crystalhd-3cb6786-lower_THRESHOLD_globals.patch
    -> Found crystalhd-3cb6786-use_8_DMA_buffers.patch
    ==> Validating source files with md5sums...
    crystalhd-3cb6786-crosscompiling-0.1.patch ... Passed
    crystalhd-3cb6786-fix_typo.patch ... Passed
    crystalhd-3cb6786-lower_THRESHOLD_globals.patch ... Passed
    crystalhd-3cb6786-use_8_DMA_buffers.patch ... Passed
    ==> Extracting sources...
    ==> Entering fakeroot environment...
    ==> Starting package()...
    ==> Connecting to the GIT server....
    Cloning into 'crystalhd'...
    remote: Counting objects: 2006, done.
    remote: Compressing objects: 100% (385/385), done.
    remote: Total 2006 (delta 1351), reused 2006 (delta 1351)
    Receiving objects: 100% (2006/2006), 3.55 MiB | 347.00 KiB/s, done.
    Resolving deltas: 100% (1351/1351), done.
    Checking connectivity... done.
    patching file linux_lib/libcrystalhd/Makefile
    patching file linux_lib/libcrystalhd/libcrystalhd_fwdiag_if.cpp
    patching file linux_lib/libcrystalhd/libcrystalhd_priv.h
    patching file include/bc_dts_glob_lnx.h
    OBJFILES = libcrystalhd_if.o libcrystalhd_int_if.o libcrystalhd_fwcmds.o libcrystalhd_priv.o libcrystalhd_fwdiag_if.o libcrystalhd_fwload_if.o libcrystalhd_parser.o
    SRCFILES = libcrystalhd_if.cpp libcrystalhd_int_if.cpp libcrystalhd_fwcmds.cpp libcrystalhd_priv.cpp libcrystalhd_fwdiag_if.cpp libcrystalhd_fwload_if.cpp libcrystalhd_parser.cpp
    LNM = libcrystalhd.so.3.6 libcrystalhd.so.3
    g++ -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -c -o libcrystalhd_if.o libcrystalhd_if.cpp
    g++ -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -c -o libcrystalhd_int_if.o libcrystalhd_int_if.cpp
    libcrystalhd_int_if.cpp: In function 'BC_STATUS DtsDevMemRd(HANDLE, uint32_t*, uint32_t, uint32_t)':
    libcrystalhd_int_if.cpp:741:15: warning: variable 'IOcCode' set but not used [-Wunused-but-set-variable]
    uint32_t IOcCode,size_in_dword;
    ^
    libcrystalhd_int_if.cpp: In function 'BC_STATUS DtsDevMemWr(HANDLE, uint32_t*, uint32_t, uint32_t)':
    libcrystalhd_int_if.cpp:879:10: warning: passing NULL to non-pointer argument 8 of 'BOOL DtsDrvIoctl(HANDLE, DWORD, LPVOID, DWORD, LPVOID, DWORD, LPDWORD, BOOL)' [-Wconversion-null]
    NULL))
    ^
    libcrystalhd_int_if.cpp:824:15: warning: variable 'IOcCode' set but not used [-Wunused-but-set-variable]
    uint32_t IOcCode,size_in_dword;
    ^
    libcrystalhd_int_if.cpp: In function 'BC_STATUS DtsCopyRawDataToOutBuff(DTS_LIB_CONTEXT*, BC_DTS_PROC_OUT*, BC_DTS_PROC_OUT*)':
    libcrystalhd_int_if.cpp:1218:33: warning: variable 'srcHeightInPixels' set but not used [-Wunused-but-set-variable]
    uint32_t srcWidthInPixels = 0, srcHeightInPixels;
    ^
    libcrystalhd_int_if.cpp: In function 'BC_STATUS DtsCopyNV12ToYV12(DTS_LIB_CONTEXT*, BC_DTS_PROC_OUT*, BC_DTS_PROC_OUT*)':
    libcrystalhd_int_if.cpp:1283:29: warning: variable 'srcHeightInPixels' set but not used [-Wunused-but-set-variable]
    uint32_t srcWidthInPixels, srcHeightInPixels;
    ^
    libcrystalhd_int_if.cpp: In function 'BC_STATUS DtsCopyNV12(DTS_LIB_CONTEXT*, BC_DTS_PROC_OUT*, BC_DTS_PROC_OUT*)':
    libcrystalhd_int_if.cpp:1366:31: warning: variable 'srcHeightInPixels' set but not used [-Wunused-but-set-variable]
    uint32_t srcWidthInPixels=0, srcHeightInPixels;
    ^
    libcrystalhd_int_if.cpp: At global scope:
    libcrystalhd_int_if.cpp:1472:18: warning: 'BC_STATUS DtsCopy422ToYV12(uint8_t*, uint8_t*, const uint8_t*, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)' defined but not used [-Wunused-function]
    static BC_STATUS DtsCopy422ToYV12(uint8_t *dstY, uint8_t *dstUV, const uint8_t *srcY, uint32_t srcWidth, uint32_t dstWidth, uint32_t height, uint32_t strideY, uint32_t strideUV)
    ^
    libcrystalhd_int_if.cpp:1675:18: warning: 'BC_STATUS DtsCopy420ToYV12(uint8_t*, uint8_t*, const uint8_t*, const uint8_t*, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)' defined but not used [-Wunused-function]
    static BC_STATUS DtsCopy420ToYV12(uint8_t *dstY, uint8_t *dstUV, const uint8_t *srcY, const uint8_t *srcUV, uint32_t srcWidth, uint32_t dstWidth, uint32_t height, uint32_t strideY, uint32_t strideUV)
    ^
    g++ -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -c -o libcrystalhd_fwcmds.o libcrystalhd_fwcmds.cpp
    g++ -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -c -o libcrystalhd_priv.o libcrystalhd_priv.cpp
    g++ -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -c -o libcrystalhd_fwdiag_if.o libcrystalhd_fwdiag_if.cpp
    g++ -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -c -o libcrystalhd_fwload_if.o libcrystalhd_fwload_if.cpp
    g++ -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -c -o libcrystalhd_parser.o libcrystalhd_parser.cpp
    libcrystalhd_parser.cpp: In function 'BC_STATUS DtsAddH264SCode(HANDLE, uint8_t**, uint32_t*, uint64_t*)':
    libcrystalhd_parser.cpp:542:11: warning: variable 'pNALU' set but not used [-Wunused-but-set-variable]
    uint8_t *pNALU = NULL;
    ^
    libcrystalhd_parser.cpp:543:11: warning: variable 'ulNalSize' set but not used [-Wunused-but-set-variable]
    uint32_t ulNalSize = 0;
    ^
    g++ -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -Wl,-soname,libcrystalhd.so.3 -pthread -o libcrystalhd.so.3.6 libcrystalhd_if.o libcrystalhd_int_if.o libcrystalhd_fwcmds.o libcrystalhd_priv.o libcrystalhd_fwdiag_if.o libcrystalhd_fwload_if.o libcrystalhd_parser.o
    ln -sf libcrystalhd.so.3.6 libcrystalhd.so
    ln -sf libcrystalhd.so.3.6 libcrystalhd.so.3
    mkdir -p /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/lib
    mkdir -p /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/lib/firmware
    mkdir -p /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd
    cp libcrystalhd_if.h /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/
    chmod 0644 /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/libcrystalhd_if.h
    cp ../../include/bc_dts_defs.h /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/
    chmod 0644 /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/bc_dts_defs.h
    cp ../../include/bc_dts_types.h /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/
    chmod 0644 /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/bc_dts_types.h
    cp ../../include/libcrystalhd_version.h /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/
    chmod 0644 /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/libcrystalhd_version.h
    cp ../../firmware/fwbin/70012/bcm70012fw.bin /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/lib/firmware/
    chmod 0644 /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/lib/firmware/bcm70012fw.bin
    cp ../../firmware/fwbin/70015/bcm70015fw.bin /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/lib/firmware/
    chmod 0644 /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/lib/firmware/bcm70015fw.bin
    install -m 755 libcrystalhd.so.3.6 /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/lib
    (cd /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/lib; ln -sf libcrystalhd.so.3.6 libcrystalhd.so)
    (cd /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/lib; ln -sf libcrystalhd.so.3.6 libcrystalhd.so.3)
    ==> Tidying install...
    -> Purging unwanted files...
    -> Removing libtool files...
    -> Removing static library files...
    -> Compressing man and info pages...
    -> Stripping unneeded symbols from binaries and libraries...
    ==> Creating package "libcrystalhd-git"...
    -> Generating .PKGINFO file...
    -> Generating .MTREE file...
    -> Compressing package...
    ==> Leaving fakeroot environment.
    ==> Finished making: libcrystalhd-git 20130503-2 (Sun Feb 1 14:04:45 UTC 2015)
    ==> Continue installing libcrystalhd-git ? [Y/n]
    ==> [v]iew package contents [c]heck package with namcap
    ==> ---------------------------------------------------
    ==> y
    loading packages...
    resolving dependencies...
    looking for conflicting packages...
    Packages (1) libcrystalhd-git-20130503-2
    Total Installed Size: 3.67 MiB
    :: Proceed with installation? [Y/n] y
    (1/1) checking keys in keyring [###########################################] 100%
    (1/1) checking package integrity [###########################################] 100%
    (1/1) loading package files [###########################################] 100%
    (1/1) checking for file conflicts [###########################################] 100%
    (1/1) checking available disk space [###########################################] 100%
    (1/1) installing libcrystalhd-git [###########################################] 100%
    ==> Making package: crystalhd-git 20130503-1 (Sun Feb 1 14:04:59 UTC 2015)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Found devinitFix.patch
    ==> Validating source files with md5sums...
    devinitFix.patch ... Passed
    ==> Extracting sources...
    ==> Entering fakeroot environment...
    ==> Starting package()...
    ==> Connecting to the GIT server....
    Cloning into 'crystalhd'...
    remote: Counting objects: 2006, done.
    remote: Compressing objects: 100% (385/385), done.
    remote: Total 2006 (delta 1351), reused 2006 (delta 1351)
    Receiving objects: 100% (2006/2006), 3.55 MiB | 616.00 KiB/s, done.
    Resolving deltas: 100% (1351/1351), done.
    Checking connectivity... done.
    patching file driver/linux/crystalhd_cmds.c
    patching file driver/linux/crystalhd_lnx.c
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    autoreconf: Entering directory `.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal --force
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    autoreconf: configure.ac: tracing
    autoreconf: configure.ac: not using Libtool
    autoreconf: running: /usr/bin/autoconf --force
    autoreconf: configure.ac: not using Autoheader
    autoreconf: configure.ac: not using Automake
    autoreconf: Leaving directory `.'
    checking for ld... ld
    configure: creating ./config.status
    config.status: creating ./Makefile
    make -C /lib/modules/3.18.4-1-ARCH/build SUBDIRS=/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux modules
    make[1]: Entering directory '/usr/lib/modules/3.18.4-1-ARCH/build'
    test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
    echo >&2; \
    echo >&2 " ERROR: Kernel configuration is invalid."; \
    echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
    echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
    echo >&2 ; \
    /bin/false)
    mkdir -p /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_versions ; rm -f /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_versions/*
    make -f ./scripts/Makefile.build obj=/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux
    gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd_lnx.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd_lnx)" -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_crystalhd_lnx.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_lnx.c
    if [ "-pg" = "-pg" ]; then if [ /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_lnx.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_lnx.o"; fi; fi;
    gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd_misc.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd_misc)" -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_crystalhd_misc.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_misc.c
    if [ "-pg" = "-pg" ]; then if [ /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_misc.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_misc.o"; fi; fi;
    gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd_cmds.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd_cmds)" -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_crystalhd_cmds.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_cmds.c
    if [ "-pg" = "-pg" ]; then if [ /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_cmds.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_cmds.o"; fi; fi;
    gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd_hw.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd_hw)" -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_crystalhd_hw.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.c
    if [ "-pg" = "-pg" ]; then if [ /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.o"; fi; fi;
    gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd_linkfuncs.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd_linkfuncs)" -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_crystalhd_linkfuncs.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_linkfuncs.c
    if [ "-pg" = "-pg" ]; then if [ /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_linkfuncs.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_linkfuncs.o"; fi; fi;
    gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd_fleafuncs.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd_fleafuncs)" -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_crystalhd_fleafuncs.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c
    /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c: In function 'crystalhd_flea_set_power_state':
    /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c:619:14: warning: 'regVal' may be used uninitialized in this function [-Wmaybe-uninitialized]
    if(!(regVal & BCHP_DDR23_CTL_REGS_0_CTL_STATUS_idle_MASK))
    ^
    /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c:566:11: note: 'regVal' was declared here
    uint32_t regVal;
    ^
    if [ "-pg" = "-pg" ]; then if [ /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.o"; fi; fi;
    gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd_flea_ddr.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd_flea_ddr)" -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_crystalhd_flea_ddr.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c
    if [ "-pg" = "-pg" ]; then if [ /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.o"; fi; fi;
    ld -m elf_i386 -r -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_lnx.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_misc.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_cmds.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_linkfuncs.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.o ; scripts/mod/modpost /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o
    WARNING: /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o(.init.text+0x292): Section mismatch in reference from the function chd_dec_pci_probe() to the function .exit.text:chd_pci_release_mem()
    The function __init chd_dec_pci_probe() references
    a function __exit chd_pci_release_mem().
    This is often seen when error handling in the init function
    uses functionality in the exit path.
    The fix is often to remove the __exit annotation of
    chd_pci_release_mem() so it may be used outside an exit section.
    WARNING: /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o(.init.text+0x47a): Section mismatch in reference from the function chd_dec_pci_probe() to the function .exit.text:chd_dec_release_chdev()
    The function __init chd_dec_pci_probe() references
    a function __exit chd_dec_release_chdev().
    This is often seen when error handling in the init function
    uses functionality in the exit path.
    The fix is often to remove the __exit annotation of
    chd_dec_release_chdev() so it may be used outside an exit section.
    WARNING: /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o(.data+0x10): Section mismatch in reference from the variable bc_chd_driver to the function .init.text:chd_dec_pci_probe()
    The variable bc_chd_driver references
    the function __init chd_dec_pci_probe()
    If the reference is valid then annotate the
    variable with __init* or __refdata (see linux/init.h) or name the variable:
    *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
    (cat /dev/null; echo kernel//tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.ko;) > /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/modules.order
    make -f ./scripts/Makefile.modpost
    find /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_versions -name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost -m -i ./Module.symvers -I /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/Module.symvers -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/Module.symvers -w -s -T -
    WARNING: /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o(.init.text+0x292): Section mismatch in reference from the function chd_dec_pci_probe() to the function .exit.text:chd_pci_release_mem()
    The function __init chd_dec_pci_probe() references
    a function __exit chd_pci_release_mem().
    This is often seen when error handling in the init function
    uses functionality in the exit path.
    The fix is often to remove the __exit annotation of
    chd_pci_release_mem() so it may be used outside an exit section.
    WARNING: /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o(.init.text+0x47a): Section mismatch in reference from the function chd_dec_pci_probe() to the function .exit.text:chd_dec_release_chdev()
    The function __init chd_dec_pci_probe() references
    a function __exit chd_dec_release_chdev().
    This is often seen when error handling in the init function
    uses functionality in the exit path.
    The fix is often to remove the __exit annotation of
    chd_dec_release_chdev() so it may be used outside an exit section.
    WARNING: /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o(.data+0x10): Section mismatch in reference from the variable bc_chd_driver to the function .init.text:chd_dec_pci_probe()
    The variable bc_chd_driver references
    the function __init chd_dec_pci_probe()
    If the reference is valid then annotate the
    variable with __init* or __refdata (see linux/init.h) or name the variable:
    *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
    gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd.mod.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd.mod)" -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -DMODULE -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.mod.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.mod.c
    ld -r -m elf_i386 -T ./scripts/module-common.lds --build-id -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.ko /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.mod.o
    make[1]: Leaving directory '/usr/lib/modules/3.18.4-1-ARCH/build'
    ==> Tidying install...
    -> Purging unwanted files...
    -> Removing libtool files...
    -> Removing static library files...
    -> Compressing man and info pages...
    -> Stripping unneeded symbols from binaries and libraries...
    ==> Creating package "crystalhd-git"...
    -> Generating .PKGINFO file...
    -> Adding install file...
    -> Generating .MTREE file...
    -> Compressing package...
    ==> Leaving fakeroot environment.
    ==> Finished making: crystalhd-git 20130503-1 (Sun Feb 1 14:05:44 UTC 2015)
    ==> Continue installing crystalhd-git ? [Y/n]
    ==> [v]iew package contents [c]heck package with namcap
    ==> ---------------------------------------------------
    ==> y
    loading packages...
    resolving dependencies...
    looking for conflicting packages...
    Packages (1) crystalhd-git-20130503-1
    Total Installed Size: 0.10 MiB
    :: Proceed with installation? [Y/n] y
    (1/1) checking keys in keyring [###########################################] 100%
    (1/1) checking package integrity [###########################################] 100%
    (1/1) loading package files [###########################################] 100%
    (1/1) checking for file conflicts [###########################################] 100%
    error: failed to commit transaction (conflicting files)
    crystalhd-git: /lib exists in filesystem
    Errors occurred, no packages were upgraded.
    ==> WARNING: Your packages are saved in /tmp/yaourt-tmp-eugen

  • Do I have control over "USE flags" when compile from source

    I have  used Gentoo and like it's system specific customizations, but am looking for something a slight bit easier to maintain.  I noticed that Arch also compiles as part of the installation.  Do I have control over the system wide compile setting in order to customize the builds similar to what is done is Gentoo?  Or, is the pacman process a "one size fits all" installer without customizations, for such things as architecture, with or without certain extensions...
    Thanks for your info.  This looks like the distro for me, but am researching first.

    It's a one-size-fits-all approach for the official binary repos and many weird and wonderful things can be found in the AUR or unofficial user repos. You can also use ABS to alter the configuration yourself, but you would have to edit PKGBUILDs for every package you want to change (e.g. add '--enable-foo') as Arch doesn't use the USE flags.
    Official Arch packages support only i686 and generic 64-bit architectures, but e.g. linux -ck kernel https://bbs.archlinux.org/viewtopic.php?id=111715 is provided optimized for many specific processors.

  • How to run "make" trying to compile from source

    when I try and run make, I get a command not found error...anyone know if I need to install anything?

    You need to install the developer tools.
    If you're running 10.4, check your Tiger DVD - the XCode Tools are on the disk (in the 'Other Installers' folder, I think - I forget the name)

  • Am I wasting my time with from source compiles?

    Greetings all,
    I have a question, and it may be silly. I'm a gamer but not a hardcore "zOMG I needZ moRe powAh tHan I actUAlly n33d!" type.
    I've used Gentoo from 2002 - 2006.
    I started using Arch Linux in fall of 2006 and have used it since.
    Couple days ago I "upgraded" from my AMD 64 x2 - 2Ghz system, to a Intel Core 2 Duo E8400 3Ghz system with 4 GB Ram and Geforce 560 Ti. I installed Arch Linux and then I installed Gentoo just for nostalgic and curiosities sake, I had a working Gentoo install within a few hours. I'm not noticing that much of a difference in performance between the two, X seems to load a bit faster on Gentoo but other apps in general load the same, have same performance quality and games have about the same exact framerates. Reguardless if I use "default" USE flags or "all dependencies" USE flags (I tend to be an all dependencies type of guy -- but I did both types for my testings) im not seeing that much, if any at all, performance differences.
    I should also note that: Phoronix Test Suite actually provided better performance numbers in Arch Linux than in Gentoo Linux.
    Now my "silly" question and I want true answers and not just speculative answers.
    Am I wasting my time with Gentoo and from source compiles in general? If I generally tend to do all dep compiles, and im not seeing any performance difference reguardless if I do or don't do the all deps USE flags approach, simular gaming framerates, etc... am I really wasting my time with all the compiles and compile time? Thanks in advance.
    Last edited by Chaniyth (2011-11-21 17:08:26)

    Chaniyth wrote:.....I installed Arch Linux and then I installed Gentoo just for nostalgic and curiosities sake, I had a working Gentoo install within a few hours. I'm not noticing that much of a difference in performance between the two.....I should also note that: Phoronix Test Suite actually provided better performance numbers in Arch Linux than in Gentoo Linux. ..... Am I wasting my time with .. source compiles..?
    IME yes, if your goal is overall performance you ARE wasting your time. I have the same results in benchmarking stock Archlinux vs. the same system recompiled with CFLAGS="-march=native etc." on Sandy Bridge. The recompiled system ran slightly slower on some tests. Quite a bit faster on bzip2 compression. Better x264 performance. Much lower latencies, measured using the interbench package from AUR. But the lower latency depends primarily on the kernel.  I use linux-lqx with arch=native; it is better than linux-ck or linux-pf in my tests.
    I compile everything on my Archlinux system, using xmonad/lxpanel/rox as desktop or, when I'm in an alternate mood, KDE/rox. I don't compile from source for speed (except for math packages like sage-mathematics which can sometimes take advantage of the extra registers and SIMD instructions). I compile from source so that I have a complete system on hand. I once lived off-grid (in a cabin in the Ozark National Forest) and got in the habit of keeping my system ready for self-reliance. I enjoy having source code available for perusal and I modify a few of my packages. I use my own build script that uses meld to help me quickly bring forward my modifications into updated PKGBUILDs from the Arch repository (hey, there's no USE flags but I find that just modifying the PKGBUILD is actually cleaner, less baroque than the circular mess that can happen in Gentoo.)
    One word of caution on your Phoronix benchmarks. Phoronix Test Suite was invented for comparing hardware. It uses its own binaries for many of the tests. When looking for the effect of software changes on the same hardware you should use the changed software (obviously). To do this with PTS you need to go into the ~/.phoronix-test-suite/installed-tests/pts/<test>/ folder and move aside the folder containing the phoronix version of the binary being tested and link to your /usr directory. For example, in the sqlite test folder I move aside "sqlite_" and "ln -s /usr sqlite_"  You can figure how to get each test to run local software by looking at the script in the test folder. If you don't do this, IMO you're getting misleading results from the PTS.

  • [SOLVED] Building from source?

    I'm new - quite new to Linux, totally new to Arch - thus this newbie question.
    I can't seem to understand how to properly compile from source in Arch.
    And before you ask, I have read the Wiki. A lot.
    The way I understand it, normally one would use pacman and rely on it to find, download and install the package. I have not yet got a proper internet connection set up, and will therefore have to download the package(s) from my Win XP computer I'm sitting at.
    I want to download wvdial - for getting dialup up and running. wvdial seems to depend on ppp, wvstreams and xplc, so I have to download those as well.
    After searching, I found them all, but only the source code, as gzipped tarballs.
    I understood that one was then supposed to use makepkg to make a package from the source code, and then install the resulting package using pacman.
    Sounds OK, but it looks like I need a so-called PKGBUILD file for each package, a script used by makepkg to build the package correctly.
    Did those tarballs contain any PKBUILD files? No. There were makefiles, but no such thing as a PKGBUILD file.
    What am I supposed to do, then? Did I get the wrong tarballs?
    I got wvdial from this page: http://www.archlinux.org/packages/extra/i686/wvdial/ which took me here: http://alumnit.ca/wiki/index.php?page=WvDial which again lead me here: http://alumnit.ca/wiki/index.php?page=DownloadReleases
    This last page also included wvstreams.
    For ppp: http://www.archlinux.org/packages/core/i686/ppp/
    For xplc: http://www.archlinux.org/packages/extra/i686/xplc/
    Last edited by Mzg (2009-09-06 18:13:28)

    the binary package have to be downloaded from a mirror. here is a list with them: http://wiki.archlinux.org/index.php/Mirrors
    note: http://www.archlinux.org/packages/extra/i686/wvdial
    looking at the link you can find out where to look. is in extra repository, i686
    http://linkmirror/extra/os/i686/

  • Is installing from AUR similar to install from source?

    I wonder if installing applications from AUR is similar to installing from source? Recently I have a problem where Eclipse SWT embeded browser is broken and 1 solution is installing firefox from source. So I wonder if installing from AUR is similar as installing from source?
    StackOverflow question about broken SWT Browser

    You may also be interested in ABS.  ABS is the official build system for Arch.  Things supported by Developers go into Core and Extra, things supported by trusted users go into community.  To get the packages for the extra (which is where firefox lives), install and run (as root) abs.  Then the build stuff for firefox will live at /var/abs/extra/firefox
    ewaller@odin:/var/abs/extra/firefox 1021 %ls
    firefox.desktop firefox.install firefox-install-dir.patch libvpx.patch mozconfig PKGBUILD vendor.js
    Looking at the PKGBUILD, that package does compile from source.  Copy the directory to a user directory, enter that directory, and you can build your own copy with makepkg.  You can then install the package with pacman -U
    If you need to change something, change the files in your local copy.
    This is not that tough, but it is most definitively not a project for a beginner.  The documentation you need is out there, you will need to do your research.

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

  • Compiling Apache 2.2 and php 5.2 from source on Arch

    Hi there
    Wanting to compile Apache 2 with PHP 5 on my Arch server. I figure this must be frequently done by people out there wanting more control over how their servers are setup, and was wondering if anyone had some good documentation for this? If none exists I'm keen to work on putting it up on the Arch Wiki.
    I've compiled apache httpd-2.2.16 from source already, and have it running nicely.
    Apache compile options were:
    ./configure --prefix=/usr/local/apache \
    --enable-rewrite --enable-ssl --enable-so \
    --enable-mime-magic --enable-suexec \
    --enable-static-rotatelogs \
    --disable-imap --disable-userdir --enable-cgi \
    --disable-dav \
    --disable-proxy-connect --disable-proxy-ftp --disable-proxy-http --disable-proxy \
    --disable-authnz-ldap
    $ /usr/local/apache/bin/httpd -Vvv
    Server version: Apache/2.2.16 (Unix)
    Server built: Sep 6 2010 06:10:41
    Server's Module Magic Number: 20051115:24
    Server loaded: APR 1.4.2, APR-Util 1.3.9
    Compiled using: APR 1.4.2, APR-Util 1.3.9
    Architecture: 32-bit
    Server MPM: Prefork
    threaded: no
    forked: yes (variable process count)
    Server compiled with....
    -D APACHE_MPM_DIR="server/mpm/prefork"
    -D APR_HAS_SENDFILE
    -D APR_HAS_MMAP
    -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
    -D APR_USE_SYSVSEM_SERIALIZE
    -D APR_USE_PTHREAD_SERIALIZE
    -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
    -D APR_HAS_OTHER_CHILD
    -D AP_HAVE_RELIABLE_PIPED_LOGS
    -D DYNAMIC_MODULE_LIMIT=128
    -D HTTPD_ROOT="/usr/local/apache"
    -D SUEXEC_BIN="/usr/local/apache/bin/suexec"
    -D DEFAULT_PIDLOG="logs/httpd.pid"
    -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
    -D DEFAULT_LOCKFILE="logs/accept.lock"
    -D DEFAULT_ERRORLOG="logs/error_log"
    -D AP_TYPES_CONFIG_FILE="conf/mime.types"
    -D SERVER_CONFIG_FILE="conf/httpd.conf"
    Now installing PHP from source is proving to not work out so easily.
    root@server: ~/source-programs/apache/httpd-2.2.16/php-5.2.14
    $ ./configure with-apxs2=/usr/local/apache/bin/apxs --prefix=/usr/local/apache/php
    configure: warning: with-apxs2=/usr/local/apache/bin/apxs: invalid host type
    loading cache ./config.cache
    checking for Cygwin environment... (cached) no
    checking for mingw32 environment... (cached) no
    checking for egrep... (cached) grep -E
    checking for a sed that does not truncate output... (cached) /bin/sed
    checking host system type... with-apxs2=/usr/local/apache/bin/apxs
    checking target system type... with-apxs2=/usr/local/apache/bin/apxs
    checking for gcc... (cached) gcc
    checking whether the C compiler (gcc ) works... yes
    checking whether the C compiler (gcc ) is a cross-compiler... no
    checking whether we are using GNU C... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking how to run the C preprocessor... (cached) gcc -E
    checking for icc... no
    checking for suncc... no
    checking whether gcc and cc understand -c and -o together... (cached) yes
    checking how to run the C preprocessor... gcc -E
    checking for AIX... no
    checking whether ln -s works... (cached) yes
    checking for system library directory... lib
    checking whether to enable runpaths... yes
    checking if compiler supports -R... (cached) no
    checking if compiler supports -Wl,-rpath,... (cached) yes
    checking for gawk... (cached) gawk
    checking for bison... (cached) bison -y
    checking for bison version... (cached) invalid
    configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 (found: none).
    checking for flex... (cached) flex
    checking for yywrap in -lfl... (cached) yes
    checking lex output file root... (cached) lex.yy
    checking whether yytext is a pointer... (cached) yes
    checking for working const... (cached) yes
    checking for flex version... (cached) invalid
    configure: warning: flex versions supported for regeneration of the Zend/PHP parsers: 2.5.4 (found: )
    checking for re2c... no
    configure: warning: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
    checking whether to force non-PIC code in shared modules... no
    checking whether /dev/urandom exists... yes
    checking for pthreads_cflags... (cached) -pthread
    checking for pthreads_lib... (cached)
    Configuring SAPI modules
    checking for AOLserver support... no
    checking for Apache 1.x module support via DSO through APXS... no
    checking for Apache 1.x module support... no
    checking whether to enable Apache charset compatibility option... no
    checking for Apache 2.0 filter-module support via DSO through APXS... no
    checking for Apache 2.0 handler-module support via DSO through APXS... no
    checking for Apache 1.x (hooks) module support via DSO through APXS... no
    checking for Apache 1.x (hooks) module support... no
    checking whether to enable Apache charset compatibility option... no
    I end up with the PHP bin files, but just can't get the module to compile.
    $ /usr/local/apache/php/bin/php -v     
    PHP 5.2.14 (cli) (built: Sep  6 2010 05:37:45)
    Copyright (c) 1997-2010 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    Have tried to make Apache execute php bin via CGI without any luck, but I think I'd rather work on compiling PHP into a module properly.
    Any help or pointers in the right direction would be greatly appreciated.
    Thanks
    Last edited by craig_nz (2010-09-08 08:07:13)

    Thanks for this!
    Using:
    ./configure \
    --with-apxs2=/usr/local/apache/bin/apxs \
    --prefix=/usr/local/apache/php \
    --disable-cgi
    --enable-so \
    --enable-rewrite \
    make
    libtool --finish /root/source-programs/apache/httpd-2.2.16/php-5.2.14/libs
    In /usr/local/apache/modules I get:
    libphp5.a  libphp5.la
    No libphp5.so yet but closer.. Also looking at how I can use ABS just to compile php.

  • Compiling Packages from Source

    I am having some issues using the "make" command when compiling any kind of source code. When doing so, I get the sort of error that one would would expect when trying to build without headers. However, this is not the case. I do have the kernel headers installed (matching the kernel version, of course) and still I am unable to build. Interestingly enough, I am able to make packages from the AUR from source using packer, so I assume that I am able to make packages. Or am I painfully deluded in my understanding?

    TheHebes wrote:@tavianator- I have looked, the RTL8188CE driver is not present is NOT in the AUR. (packer -Ss r 8188 comes up with nothing). Furthermore, @graysky, I do have have kernel26-headers installed. Both the kernel and headers are version 2.6.39 3-1. For the most part, by the looks of it, there is no packagebuild available, so managing this through pacman is not looking like an option. From what I gather, "make" is the only way this is going to compile.
    The driver you want is indeed in the AUR.  Look at the description:
    http://aur.archlinux.org/packages.php?ID=46797
    The driver name and version number exactly match the errors from make you posted above:
    TheHebes wrote:make[1]: *** No rule to make target `*/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192'.  Stop.
    Last edited by mrstegeman (2011-08-10 11:36:02)

  • [solved]Problem compiling alsa from source

    I'm trying to install alsa-driver-1.0.18a from source because I need to compile it with snd-virtuoso.  So I run "./configure --with-cards=virtuoso --with-sequencer=yes" then when I run "make" I get this at the end of it.
    make -C /lib/modules/2.6.27-ARCH/build SUBDIRS=/usr/src/alsa/alsa-driver-1.0.18a CPP="gcc -E" CC="gcc" modules
    make[1]: Entering directory `/usr/src/linux-2.6.27-ARCH'
    CC [M] /usr/src/alsa/alsa-driver-1.0.18a/acore/memory_wrapper.o
    In file included from /usr/src/alsa/alsa-driver-1.0.18a/acore/memory_wrapper.c:25:
    /usr/src/alsa/alsa-driver-1.0.18a/include/adriver.h:282:1: warning: "GFP_DMA32" redefined
    In file included from include/linux/kmod.h:22,
    from include/linux/module.h:13,
    from /usr/src/alsa/alsa-driver-1.0.18a/include/adriver.h:57,
    from /usr/src/alsa/alsa-driver-1.0.18a/acore/memory_wrapper.c:25:
    include/linux/gfp.h:105:1: warning: this is the location of the previous definition
    In file included from /usr/src/alsa/alsa-driver-1.0.18a/acore/memory_wrapper.c:25:
    /usr/src/alsa/alsa-driver-1.0.18a/include/adriver.h:831: error: static declaration of 'jiffies_to_msecs' follows non-static declaration
    include/linux/jiffies.h:286: error: previous declaration of 'jiffies_to_msecs' was here
    /usr/src/alsa/alsa-driver-1.0.18a/include/adriver.h:850: error: static declaration of 'msecs_to_jiffies' follows non-static declaration
    include/linux/jiffies.h:288: error: previous declaration of 'msecs_to_jiffies' was here
    In file included from /usr/src/alsa/alsa-driver-1.0.18a/include/adriver.h:948,
    from /usr/src/alsa/alsa-driver-1.0.18a/acore/memory_wrapper.c:25:
    include/linux/pci.h:627: error: expected identifier or '(' before numeric constant
    In file included from include/asm/pci.h:4,
    from include/linux/pci.h:989,
    from /usr/src/alsa/alsa-driver-1.0.18a/include/adriver.h:948,
    from /usr/src/alsa/alsa-driver-1.0.18a/acore/memory_wrapper.c:25:
    include/linux/mm.h:261: error: conflicting types for 'snd_compat_vmalloc_to_page'
    /usr/src/alsa/alsa-driver-1.0.18a/include/adriver.h:752: error: previous declaration of 'snd_compat_vmalloc_to_page' was here
    In file included from /usr/src/alsa/alsa-driver-1.0.18a/acore/memory_wrapper.c:25:
    /usr/src/alsa/alsa-driver-1.0.18a/include/adriver.h: In function 'snd_pci_orig_save_state':
    /usr/src/alsa/alsa-driver-1.0.18a/include/adriver.h:1197: error: too many arguments to function 'pci_save_state'
    /usr/src/alsa/alsa-driver-1.0.18a/include/adriver.h: In function 'snd_pci_orig_restore_state':
    /usr/src/alsa/alsa-driver-1.0.18a/include/adriver.h:1201: error: too many arguments to function 'pci_restore_state'
    In file included from /usr/src/alsa/alsa-driver-1.0.18a/acore/memory_wrapper.c:25:
    /usr/src/alsa/alsa-driver-1.0.18a/include/adriver.h:1598:1: warning: "page_to_pfn" redefined
    In file included from include/asm/page.h:196,
    from include/asm/pda.h:8,
    from include/asm/current.h:19,
    from include/asm/processor.h:15,
    from include/linux/prefetch.h:14,
    from include/linux/list.h:6,
    from include/linux/module.h:9,
    from /usr/src/alsa/alsa-driver-1.0.18a/include/adriver.h:57,
    from /usr/src/alsa/alsa-driver-1.0.18a/acore/memory_wrapper.c:25:
    include/asm-generic/memory_model.h:78:1: warning: this is the location of the previous definition
    /usr/src/alsa/alsa-driver-1.0.18a/acore/memory_wrapper.c: In function 'snd_compat_vmalloc_to_page':
    /usr/src/alsa/alsa-driver-1.0.18a/acore/memory_wrapper.c:44: error: implicit declaration of function 'VMALLOC_VMADDR'
    /usr/src/alsa/alsa-driver-1.0.18a/acore/memory_wrapper.c:49: error: incompatible type for argument 1 of 'pud_val'
    /usr/src/alsa/alsa-driver-1.0.18a/acore/memory_wrapper.c:50: error: implicit declaration of function 'pte_offset'
    /usr/src/alsa/alsa-driver-1.0.18a/acore/memory_wrapper.c:50: warning: assignment makes pointer from integer without a cast
    make[3]: *** [/usr/src/alsa/alsa-driver-1.0.18a/acore/memory_wrapper.o] Error 1
    make[2]: *** [/usr/src/alsa/alsa-driver-1.0.18a/acore] Error 2
    make[1]: *** [_module_/usr/src/alsa/alsa-driver-1.0.18a] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.27-ARCH'
    make: *** [compile] Error 2
    edit: I tried compiling it on another computer and it was able too...not sure why mine wont.  Although I do seem to remember possibly forgetting to uninstall it before making it again (after kernel upgrade)...I've tried multiple times to compile so far.  Is there someway I can get a list of things to delete to manually remove all remnants of a previous install of alsa-driver?
    Last edited by Gauvenator (2008-12-13 19:48:11)

    Ok I ended up compiling the kernel from source for something else, so I tried compiling the alsa driver from source and it worked...maybe something was leftover in the previous kernel source directory that was causing problems.

  • Compiling JDK 1.4.2 from source, under win32

    Hi,
    Here is how I compiled JDK 1.4.2 from source-code under win32. I hope this helps the many others who are interested in doing the same.
    1) Download the sources from here: http://wwws.sun.com/software/communitysource/j2se/java2/download.html
    Be sure to download all packages (SCSL source, SCSL binaries, mozilla binaries)
    2) Download gnu make from here: http://ftp.gnu.org/pub/gnu/make/
    3) Download Info-zip "zip" and "unzip" packages: http://www.info-zip.org/pub/infozip/UnZip.html and http://www.info-zip.org/pub/infozip/Zip.html
    4) Request and evaluation copy of MKS Toolkit: http://www.mkssoftware.com/eval/
    The key point here is that MKS Toolkit is a commercial product and even once you request an evaluation copy, it'll take a day or two for one of their salespeople to contact and harass you. Tell him whatever you must to get an evaluation copy out of him ("I might buy a copy in 3 months, honest!")... I personally wish Sun would move away from this commercial product and replace it with cygwin or something. It was very annoying getting past this stage.
    5) Download the DirectX 9.0 SDK from here: http://www.microsoft.com/downloads/details.aspx?FamilyID=124552ff-8363-47fd-8f3b-36c226e04c85&displaylang=en
    Sun actually requires DirectX 7.0 SDK but I couldn't find a copy anywhere so we have no choice but use a newer copy. This is another issue Sun should really address.
    6) Install DirectX SDK, MKS Toolkit, Info-zip zip and unzip
    7) Unpack gnu make into a directory and build it using the special steps for the MKS Toolkit shell. If you're trying to build make 3.80 be sure to fix this bug before you proceed or else it won't build: https://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=1687
    8) Set your build environment variables. Here are my personal settings:
    call "C:\Program Files\Microsoft Visual Studio\VC98\Bin\vcvars32.bat"
    set ALT_UNIXCOMMAND_PATH=c:\mksnt
    set ALT_MSVCRT_DLL_PATH=c:\windows\system32
    set ALT_BOOTDIR=c:\j2sdk1.4.2_04
    set ALT_DEVTOOLS_PATH=c:\j2sdk1.4.2_04\source\utils
    set path=C:\make-3.80\WinRel;%path%
    set include=%include%;c:\program files\microsoft sdk\include
    set JAVA_HOME=
    9) You must build against Visual C++ 6.0 (Visual C++ .NET won't work because its missing non-standard header files used by Sun, such as iostream.h)
    10) "cd <jdk source dir>\control\make"
    11) Edit <jdk source dir>\j2me\make\common\Sanity.gmk line 1135. Replace:
    ifeq ($(PLATFORM), windows)
    with
    ifeq ($(PLATFORM), windows_skip)
    This will cause the build process to ignore the fact that you have DirectX 9.0 when it requires version 7.0
    12) Start the build process: "make scsl"
    13) If the build process dies because you have a different service-pack of Visual C++ 6.0 than it expects, edit <jdk source dir>\j2me\make\common\Sanity.gmk lines 71-72 and modify the expected version numbers to the ones you have.
    14) If you see a "'c:\program' not found" error while compiling. Be sure that the paths set by VCVARS32.BAT use short-names not long-names, because make gets confused by paths with spaces.
    15) If you see an error "No rule to make target `/usr/src/j2sdk-1_4_2-src-scsl/control/build/linux-i586/lib/fonts/LucidaTypewriterRegular.ttf'" it means you forgot to extract the "SCSL binaries" package into the source-code directory
    I will post solutions to further compiler errors as I encounter them, I encourage you to do the same.

    hey
    i m trying to install JDK 1.5 from source under win XP
    dev-sanity pass so i suppose i have all installed correctly
    the problem is when i run the command "make scsl" to compile all
    i got an error which is into "link.exe" at the begin of the compilation :
    cd generated && NMAKE /NOLOGO /f C:\cygwin\Sources\hotspot\build\windows
    \makefiles\generated.make DIR=.\generated BUILD_FLAVOR=product
    link.exe kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib ad
    vapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib Wsock32.lib winmm.lib /n
    ologo /machine:I386 /opt:REF /opt:ICF,8 /map /debug /subsystem:console /out:adl
    c.exe main.obj adlparse.obj archDesc.obj arena.obj dfa.obj dict2.obj filebuff.ob
    j forms.obj formsopt.obj formssel.obj opcodes.obj output_c.obj output_h.obj
    link: too many arguments
    Try `link --help' for more information.
    NMAKE : fatal error U1077: 'link.exe' : return code '0x1'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio\VC98\bin\n
    make.exe"' : return code '0x2'
    Stop.
    make[3]: *** [generic_build2] Error 2
    make[3]: Leaving directory `/Sources/hotspot/make'
    make[2]: *** [product] Error 2
    make[2]: Leaving directory `/Sources/hotspot/make'
    make[1]: *** [hotspot-build] Error 2
    make[1]: Leaving directory `/Sources/control/make'
    make: *** [scsl-build] Error 2
    i installed visual studio professional 6 sp3 as required ine the "build-windows-i586.html" file ! is the file link.exe incorrect in the pack 3??
    Thanks

  • Compile a package from source...

    I'm trying to learn how to compile a package from source code.
    I choose bfgminer as my example. I know there's already a pre-built package.
    # Get bfgminer-3.3.0
    wget http://luke.dashjr.org/programs/bitcoin … 3.3.0.tbz2
    tar -Jxvf bfgminer-3.3.0.tar.bz2
    cd bfgminer-3.3.0
    pacman -S uthash    # Required Dependencies
    pacman -S lm_sensors
    # I want to be able to remove unnecessary modules, so I defined CFLAGS:
    CFLAGS="--disable-avalon --disable-opencl --disable-bitfury --disable-littlefury --disable-bitforce --disable-modminer --disable-x6500 --disable-ztex"
    ./configure
    # The package compiles successfully, but It seems to have ignored the CFLAGS.
    Configuration Options Summary:
      Enabled..Drivers.....: avalon bigpic bitforce bitfury_gpio cairnsmore erupter icarus littlefury modminer opencl opencl:adl opencl:sensors x6500 ztex
      Disabled.Drivers.....: bfsb cpu metabank proxy
        To enable proxy, install libmicrohttpd 0.9.5+ (getwork) or libevent 2.0.3+ (stratum)
      Enabled..Algorithms..: SHA256d
      Disabled.Algorithms..: scrypt
      Enabled..Options.....: ncursesw5
      Disabled.Options.....:
    Compilation............: make (or gmake)
      CFLAGS...............:    -pthread -g -O2 -I/usr/include/libusb-1.0    -pthread -Ilibblkmaker
      LDFLAGS..............:   -pthread -Llibblkmaker/.libs -Wl,-rpath,\$$ORIGIN/libblkmaker/.libs,-zorigin  -lpthread  -ldl -lcurl  -ljansson  -L/usr/lib -lncursesw   -lm -ludev -lusb-1.0   -lsensors -lblkmaker_jansson-0.1 -lblkmaker-0.1
    Installation...........: make install && ldconfig #(as root if needed, with 'su' or 'sudo')
      prefix...............: /usr/local
    What did I do wrong?

    cfr wrote:
    ThinkFast wrote:Well you may have misread it at first, but I am running as root. For me, after building a system it seems hard to know when to create a standard user. And it's easy to just continue as root. Most tutorials don't mention it at all.
    Can it be done after the first login as root and changing the root password?
    Easy it may be, but it is also incredibly dangerous. I find it terrifying that people even think of doing this.
    I don't know which tutorials you are reading but the Beginners' Guide clearly includes this step as the first one to complete after rebooting into your new system:
    https://wiki.archlinux.org/index.php/Be … management
    You should do the minimum necessary as root. You should only ever perform a task as root if (1) the task cannot be performed with less privileges, (2) you understand exactly what the task is designed to accomplish AND (3) you understand why it needs to be performed with root privileges.
    While I admit that most do not go this far, I do not compile code with an account which is even in wheel. That means I don't compile even as my regular user - let alone root.
    I guess I have just gotten lucky so far. Thanks for your advise.

Maybe you are looking for

  • Problem in using log4j..i'm getting warning!!!

    i have been using log4j without any porblems. i have placed the log4j.properties file under classes folder under WEB-INF and it worked. but now i'm asked to place it under a folder named properties under CatalinaHome. And i came to know tht there is

  • SD card for TX

    I purchased an SD card for my Palm TX.  It's a 4 GB SDHC card by SanDisk.  I have inserted the card and tried to download pictures from my computer into my Palm however it says that there is no SD card.  I tried to download the sample pictures onto t

  • Constant crashes and graphical issues after updating to Yosemite

    This problem started gradually. First a game I tried to launch crashed. Then I was unable to open any applications at all. I restarted the computer after having to force quit out of everything. The user sign in screen would let me type in my password

  • Ios 8.2 Music dissapears

    I bought a new Ipod 5th gen that has the IOS 8.2 loaded. I have tried to auto sync and also manually load my music. The music appears to be on my device in Itunes. But when I try and click and play songs through Itunes the dont play... They play fine

  • Can't install Photoshop (CS3) via Remote Disc

    I was successfully able to install iWork '08 last night via Remote Disc, but I've tried twice to install Photoshop and both times it failed. I was able to get on Acrobat Professional and some of the Shared Components, but after anywhere between 30 mi