[Python-bugs-list] [ python-Bugs-436131 ] freeze: global symbols not exported
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 06 Jul 2001 09:25:45 -0700
Bugs item #436131, was opened at 2001-06-25 10:26
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=436131&group_id=5470
Category: demos and tools
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Charles Schwieters (chuckorama)
>Assigned to: Mark Hammond (mhammond)
Summary: freeze: global symbols not exported
Initial Comment:
python-2.1
linux-2.2, others?
the freeze tool does not export global symbols. As a
result the frozen executable fails with unresolved
symbols in shared objects.
fix: include the LINKFORSHARED flag in freeze.py:
*** freeze.py~ Tue Mar 20 15:43:33 2001
--- freeze.py Fri Jun 22 14:36:23 2001
***************
*** 434,440 ****
somevars[key] = makevars[key]
somevars['CFLAGS'] = string.join(cflags) #
override
! files = ['$(OPT)', '$(LDFLAGS)', base_config_c,
base_frozen_c] + \
files + supp_sources + addfiles + libs +
\
['$(MODLIBS)', '$(LIBS)', '$(SYSLIBS)']
--- 434,440 ----
somevars[key] = makevars[key]
somevars['CFLAGS'] = string.join(cflags) #
override
! files = ['$(OPT)', '$(LDFLAGS)',
'$(LINKFORSHARED)',base_config_c, base_frozen_c] + \
files + supp_sources + addfiles + libs +
\
['$(MODLIBS)', '$(LIBS)', '$(SYSLIBS)']
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=436131&group_id=5470