Changes between Version 68 and Version 69 of BuildInstructions


Ignore:
Timestamp:
Aug 24, 2009, 10:33:37 AM (15 years ago)
Author:
Colin Rothwell
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildInstructions

    v68 v69  
    133133
    134134=== Known problems and solutions ===
     135 * If your make output appears to go round and round in endless circles, circles (you should be fairly sure that it is - builds take a long time). Stop it, and if you can see a message like "you may need to install nspr" do a `sudo port install nspr`. You then may also need to run `EXPORT PKG_CONFIG_PATH="/opt/local/lib/pkgconfig/"` to get it to work - you can add it to your ~/.bash_profile to stop you having to do this every time you recompile.
     136
    135137 * If you get linker errors like '''`multiple definition of '(anonymous namespace)::_1'`''', particularly when using GCC 4.1, try running `./update-workspaces.sh --without-pch` and then `cd gcc; make clean` and rebuild.
    136138
    137139 * If you get '''Performance warning: your graphics card does not support compressed textures''' when starting the game, it is an issue with [http://dri.freedesktop.org/wiki/S3TC S3TC texture compression]. You might be able to solve it by installing the `libtxc_dxtn` library, in a distro-specific way.
    138140
    139  * if you get '''`/usr/bin/ld: Undefined symbols`''' (see code snippet here under), this comes from your glibc that is older than 2.4 :
     141 * If you get '''`/usr/bin/ld: Undefined symbols`''' (see code snippet here under), this comes from your glibc that is older than 2.4 :
    140142
    141143{{{
     
    149151}}}
    150152  Actually, older versions of glibc doesn't support the stack-protection feature. So, until this is detected by the build system, you can hack it by removing the "-fstack-protector-all" line (and the next line too if needed) from build/premake/premake.lua
     153
     154 * If you get
     155{{{
     156/opt/local/include/js/jsotypes.h:77: error: conflicting declaration ‘typedef struct JSUint64 uint64’
     157/System/Library/Frameworks/Security.framework/Headers/cssmconfig.h:48: error: ‘uint64’ has a previous declaration as ‘typedef uint64_t uint64’
     158}}}
     159   Run your favourite text editor as root, and edit line 77 of /opt/local/include/js/jsotypes.h from `typedef JSUint64 uint64;` to
     160{{{
     161#ifndef _UINT64
     162typedef JSUint64 uint64;
     163#define _UINT64
     164#endif
     165}}}