Opened 12 years ago
Closed 12 years ago
#34553 closed defect (fixed)
swftools: Undefined symbols _PrintGifError
Reported by: | simon.groenewolt@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.1 |
Keywords: | haspatch | Cc: | ryandesign (Ryan Carsten Schmidt), robsonpeixoto@…, fracai, turk.brandon@…, macports_peep@…, mark.steddom@… |
Port: | swftools |
Description
My port install swftools fails:
(probably) relevant part of the log:
:info:build /usr/bin/clang -DHAVE_CONFIG_H swfrender.o -o swfrender ../lib/libgfxswf.a ../lib/librfxswf.a ../lib/libgfx.a ../lib/libbase.a -L/opt/local/lib -arch x86_64 -L/usr/local/lib -L/opt/local/lib -lmp3lame -lgif -ljpeg -lpdf -lz -lm -L/opt/local/lib -lfreetype -lz -lbz2 :info:build Undefined symbols for architecture x86_64: :info:build "_PrintGifError", referenced from: :info:build _MovieAddFrame in gif2swf.o :info:build _CheckInputFile in gif2swf.o :info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[1]: *** [gif2swf] Error 1
I've done a port selfupdate, a clean and a fresh install of swftools.
Full install log attached
Attachments (2)
Change History (17)
Changed 12 years ago by simon.groenewolt@…
comment:1 Changed 12 years ago by simon.groenewolt@…
Oops - this might be related to an Xcode upgrade. I will reinstall all ports en see if problem persists.
comment:2 follow-up: 3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Keywords: | swftools removed |
Summary: | swftools-0.9.1_2.darwin_10.x86_64 build error on OSX 10.6.8 → swftools: Undefined symbols _PrintGifError |
No, this is related to giflib having been updated to 4.2.0 and the PrintGifError symbol having been removed from giflib in that version. See #34541 for the same problem with gdal. I'm looking to see if updating swftools to 0.9.2 would help.
comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to ryandesign@…:
I'm looking to see if updating swftools to 0.9.2 would help.
It does not, so please report the problem to the developers of swftools so they can resolve it.
comment:4 follow-up: 13 Changed 12 years ago by simon.groenewolt@…
I've joined the swftools mailinglist and posted a message regarding this error.
comment:5 Changed 12 years ago by simon.groenewolt@…
Workaround: Just commenting or removing the two lines that reference PrintGifError in gif2swf.c in the downloaded source and running port install swftools again makes it work -- I guess you'll miss out on errors reported about gifs :-)
Changed 12 years ago by robsonpeixoto@…
Attachment: | giflib.diff added |
---|
With this patch it will compile. Based on; http://fossies.org/dox/giflib-4.2.0/qprintf_8c_source.html#l00041
comment:8 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | turk.brandon@… added |
---|
Has duplicate #34690.
comment:11 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mark.steddom@… added |
---|
Has duplicate #34998.
comment:12 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch added |
---|
comment:13 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to simon.groenewolt@…:
I've joined the swftools mailinglist and posted a message regarding this error.
Here are the messages in that thread:
- http://lists.nongnu.org/archive/html/swftools-common/2012-05/msg00038.html
- http://lists.nongnu.org/archive/html/swftools-common/2012-05/msg00039.html
- http://lists.nongnu.org/archive/html/swftools-common/2012-05/msg00055.html
- http://lists.nongnu.org/archive/html/swftools-common/2012-05/msg00056.html
comment:14 Changed 12 years ago by robsonpeixoto@…
To compile the swftools, is needed an downgrade to giflib 4.1.6 like this:
$ svn co http://svn.macports.org/repository/macports/trunk/dports/graphics/giflib -r80038 $ cd giflib
change the master_sites to : 'master_sites sourceforge:project/${name}/${name}-${major}.x/${name}-${version}
'
$ sudo port install
comment:15 Changed 12 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
install log