[mythtv-commits] Ticket #9426: MacOS X symbols missing
MythTV
noreply at mythtv.org
Sat Feb 12 05:52:38 UTC 2011
#9426: MacOS X symbols missing
-------------------------+----------------------------
Reporter: nigel | Owner: stuarta
Type: Bug Report | Status: new
Priority: minor | Milestone: 0.25
Component: Ports - OSX | Version: Trunk Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
-------------------------+----------------------------
Comment (by dgatwood@…):
I'm seeing the same problem on the OSX-fixes branch, so it's definitely
not just a trunk issue.
Sadly, the build scripts don't respect the CC or CXX environment
variables, so the usual fix for these sorts of problems:
{{{
export CC=/usr/bin/gcc-4.0
export CXX=/usr/bin/g++-4.0
}}}
does nothing.
The patches above, however (the two MPUBLIC additions plus the
attribute((visibility("default"))) changes) seem to have gotten past that
problem... after I realized that the bug tracking system clobbered it, and
that it should be:
{{{
__attribute__((visibility("default")))
}}}
Still getting this build failure, though:
{{{
ld: file not found: /Users/dg/mythtv/.osx-
packager/build/lib/libmythswscale.dylib
}}}
Grr. After hand-adding links in the right place in the middle of the
build process, I now have:
{{{
ld: file not found: /Users/dg/mythtv/.osx-
packager/build/lib/libmythavformat.dylib
}}}
then eventually:
{{{
ld: file not found: libmythfreemheg-0.24.0.dylib
}}}
and so on. There's something really seriously broken in the Makefiles.
All the libraries are getting built, but the lib directory isn't getting
populated correctly.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9426#comment:15>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list