From: Alexei S. <isv...@sy...> - 2006-02-19 17:38:29
|
Building BasiliskII on OS X 10.4.5 gave me a build error (with both gcc-4.0 and gcc-3.3), during the linking process with libslirp.a. The error was "has local relocation entries in non-writable section (__TEXT,__text)". The problem was that the generated makefile had - mdynamic-no-pic set in its CFLAGS, which is inappropriate, apparently (see http://lists.apple.com/archives/xcode-users/2005/May/ msg00917.html). Removing this flag fixed the build. It would be nice if someone would update the CVS w/ this fix. (The actual change would be in src/MacOSX/configure.in to the line CFLAGS="$CFLAGS -mdynamic-no-pic"). -Alexei |