Talk:Common compilation problems

From Second Life Wiki
Revision as of 08:05, 28 February 2013 by Gwyneth Llewelyn (talk | contribs) (→‎bison/lex problems under Mac compilation: new section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
  • Is it safe to remove from this page stuff that talks about SCons? No supported viewer still uses it (replaced by cmake in 1.21). Thickbrick Sleaford 15:43, 29 August 2009 (UTC)

bison/lex problems under Mac compilation

This page talks mostly about compilation problems under Windows. A similar issue exists for Mac compilations, which often fail (when linking) with:

Undefined symbols for architecture i386: "lscript_compile(char const*, char const*, char const*, int, char const*, int)"

This clearly comes from bison/lex problems under Xcode 4.6. I'm trying to understand what exactly fails during the compilation/linking stage.

Compiling outside Xcode with different bison/lex versions (namely the ones from MacPorts) does successfully compile and link, but the resulting binary crashes on start, without even logging a single line of errors, with memory addressing erros.

Gwyneth Llewelyn 07:05, 28 February 2013 (PST)