bugGnash - The GNU Flash player - Bugs: bug #29020, Can't build on Darwin since...

 
 

bug #29020: Can't build on Darwin since AMF-refactoring.

Submitted by:  Markus Gothe <nihilus>
Submitted on:  Sat 27 Feb 2010 11:09:47 AM UTC  
 
Category: RTMP and AMFSeverity: 4 - Important
Release: trunkStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 27 Feb 2010 03:50:39 PM UTC, comment #1:

It doesn't look like a Gnash bug. Have you tried with a non-llvm build?

Benjamin Wolsey <bwy>
Project Member
Sat 27 Feb 2010 11:09:47 AM UTC, original submission:

/bin/sh ../libtool --tag=CXX --mode=compile ccache llvm-g++-4.2 -DHAVE_CONFIG_H -I. -I.. -I../libnet -I../libamf -I../backend -I../libcore/swf -I../libcore/abc -I../libcore/asobj -I../libcore/asobj/flash -I../libcore/parser -I../libltdl -I../libcore/vm -I../libbase -I../libmedia -I../libsound -D_THREAD_SAFE -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/opt/local/include -I../libmedia/ffmpeg -O2 -pipe -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -MT AMFConverter.lo -MD -MP -MF .deps/AMFConverter.Tpo -c -o AMFConverter.lo AMFConverter.cpp
libtool: compile: ccache llvm-g++-4.2 -DHAVE_CONFIG_H -I. -I.. -I../libnet -I../libamf -I../backend -I../libcore/swf -I../libcore/abc -I../libcore/asobj -I../libcore/asobj/flash -I../libcore/parser -I../libltdl -I../libcore/vm -I../libbase -I../libmedia -I../libsound -D_THREAD_SAFE -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/opt/local/include -I../libmedia/ffmpeg -O2 -pipe -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -MT AMFConverter.lo -MD -MP -MF .deps/AMFConverter.Tpo -c AMFConverter.cpp -fno-common -DPIC -o .libs/AMFConverter.o
In file included from /opt/local/include/boost/date_time/posix_time/conversion.hpp:18,
from /opt/local/include/boost/thread/xtime.hpp:16,
from /opt/local/include/boost/thread/pthread/mutex.hpp:14,
from /opt/local/include/boost/thread/mutex.hpp:17,
from /opt/local/include/boost/thread/pthread/thread_data.hpp:13,
from /opt/local/include/boost/thread/thread.hpp:18,
from /opt/local/include/boost/thread.hpp:14,
from ../libbase/GC.h:30,
from ../libbase/smart_ptr.h:44,
from as_value.h:24,
from AMFConverter.h:28,
from AMFConverter.cpp:25:
/opt/local/include/boost/date_time/gregorian/conversion.hpp: In function ‘tm boost::gregorian::to_tm(const boost::gregorian::date&)’:
/opt/local/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer for member ‘tm::tm_sec’
/opt/local/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer for member ‘tm::tm_min’
/opt/local/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer for member ‘tm::tm_hour’
/opt/local/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer for member ‘tm::tm_mday’
/opt/local/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer for member ‘tm::tm_mon’
/opt/local/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer for member ‘tm::tm_year’
/opt/local/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer for member ‘tm::tm_wday’
/opt/local/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer for member ‘tm::tm_yday’
/opt/local/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer for member ‘tm::tm_isdst’
/opt/local/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer for member ‘tm::tm_gmtoff’
/opt/local/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer for member ‘tm::tm_zone’
In file included from /opt/local/include/boost/thread/xtime.hpp:16,
from /opt/local/include/boost/thread/pthread/mutex.hpp:14,
from /opt/local/include/boost/thread/mutex.hpp:17,
from /opt/local/include/boost/thread/pthread/thread_data.hpp:13,
from /opt/local/include/boost/thread/thread.hpp:18,
from /opt/local/include/boost/thread.hpp:14,
from ../libbase/GC.h:30,
from ../libbase/smart_ptr.h:44,
from as_value.h:24,
from AMFConverter.h:28,
from AMFConverter.cpp:25:
/opt/local/include/boost/date_time/posix_time/conversion.hpp: In function ‘tm boost::posix_time::to_tm(const boost::posix_time::time_duration&)’:
/opt/local/include/boost/date_time/posix_time/conversion.hpp:46: warning: missing initializer for member ‘tm::tm_sec’
/opt/local/include/boost/date_time/posix_time/conversion.hpp:46: warning: missing initializer for member ‘tm::tm_min’
/opt/local/include/boost/date_time/posix_time/conversion.hpp:46: warning: missing initializer for member ‘tm::tm_hour’
/opt/local/include/boost/date_time/posix_time/conversion.hpp:46: warning: missing initializer for member ‘tm::tm_mday’
/opt/local/include/boost/date_time/posix_time/conversion.hpp:46: warning: missing initializer for member ‘tm::tm_mon’
/opt/local/include/boost/date_time/posix_time/conversion.hpp:46: warning: missing initializer for member ‘tm::tm_year’
/opt/local/include/boost/date_time/posix_time/conversion.hpp:46: warning: missing initializer for member ‘tm::tm_wday’
/opt/local/include/boost/date_time/posix_time/conversion.hpp:46: warning: missing initializer for member ‘tm::tm_yday’
/opt/local/include/boost/date_time/posix_time/conversion.hpp:46: warning: missing initializer for member ‘tm::tm_isdst’
/opt/local/include/boost/date_time/posix_time/conversion.hpp:46: warning: missing initializer for member ‘tm::tm_gmtoff’
/opt/local/include/boost/date_time/posix_time/conversion.hpp:46: warning: missing initializer for member ‘tm::tm_zone’
In file included from AMFConverter.cpp:25:
AMFConverter.h: At global scope:
AMFConverter.h:150: error: ‘Type’ has not been declared
AMFConverter.h:150: error: ‘NOTYPE’ was not declared in this scope
AMFConverter.cpp: In member function ‘bool gnash::AMF::Writer::writePropertyName(const std::string&)’:
AMFConverter.cpp:113: error: ‘STRING_AMF0’ was not declared in this scope
AMFConverter.cpp:113: error: ‘writePlainString’ was not declared in this scope
AMFConverter.cpp: In member function ‘bool gnash::AMF::Writer::writeObject(gnash::as_object*)’:
AMFConverter.cpp:134: error: ‘REFERENCE_AMF0’ was not declared in this scope
AMFConverter.cpp:154: error: ‘DATE_AMF0’ was not declared in this scope
AMFConverter.cpp:157: error: ‘swapBytes’ was not declared in this scope
AMFConverter.cpp:170: error: ‘XML_OBJECT_AMF0’ was not declared in this scope
AMFConverter.cpp:175: error: ‘LONG_STRING_AMF0’ was not declared in this scope
AMFConverter.cpp:175: error: ‘writePlainString’ was not declared in this scope
AMFConverter.cpp:182: error: ‘UNSUPPORTED_AMF0’ was not declared in this scope
AMFConverter.cpp:205: error: ‘STRICT_ARRAY_AMF0’ was not declared in this scope
AMFConverter.cpp:228: error: ‘ECMA_ARRAY_AMF0’ was not declared in this scope
AMFConverter.cpp:237: error: ‘OBJECT_AMF0’ was not declared in this scope
AMFConverter.cpp:247: error: ‘OBJECT_END_AMF0’ was not declared in this scope
AMFConverter.cpp: In member function ‘bool gnash::AMF::Writer::writeString(const std::string&)’:
AMFConverter.cpp:254: error: cannot convert ‘gnash::SimpleBuffer’ to ‘int’ for argument ‘1’ to ‘ssize_t write(int, const void*, size_t)’
AMFConverter.cpp: In member function ‘bool gnash::AMF::Writer::writeNumber(double)’:
AMFConverter.cpp:261: error: cannot convert ‘gnash::SimpleBuffer’ to ‘int’ for argument ‘1’ to ‘ssize_t write(int, const void*, size_t)’
AMFConverter.cpp: In member function ‘bool gnash::AMF::Writer::writeBoolean(bool)’:
AMFConverter.cpp:268: error: cannot convert ‘gnash::SimpleBuffer’ to ‘int’ for argument ‘1’ to ‘ssize_t write(int, const void*, size_t)’
AMFConverter.cpp: In member function ‘bool gnash::AMF::Writer::writeUndefined()’:
AMFConverter.cpp:279: error: ‘UNDEFINED_AMF0’ was not declared in this scope
AMFConverter.cpp: In member function ‘bool gnash::AMF::Writer::writeNull()’:
AMFConverter.cpp:289: error: ‘NULL_AMF0’ was not declared in this scope
AMFConverter.cpp: At global scope:
AMFConverter.cpp:300: error: ‘Type’ has not been declared
AMFConverter.cpp: In member function ‘bool gnash::AMF::Reader::operator()(gnash::as_value&, int)’:
AMFConverter.cpp:310: error: ‘NOTYPE’ was not declared in this scope
AMFConverter.cpp:311: error: expected type-specifier before ‘Type’
AMFConverter.cpp:311: error: expected `>' before ‘Type’
AMFConverter.cpp:311: error: expected `(' before ‘Type’
AMFConverter.cpp:311: error: ‘Type’ was not declared in this scope
AMFConverter.cpp:311: error: expected `)' before ‘;’ token
AMFConverter.cpp:325: error: ‘BOOLEAN_AMF0’ was not declared in this scope
AMFConverter.cpp:326: error: ‘readBoolean’ was not declared in this scope
AMFConverter.cpp:329: error: ‘STRING_AMF0’ was not declared in this scope
AMFConverter.cpp:330: error: ‘readString’ was not declared in this scope
AMFConverter.cpp:333: error: ‘LONG_STRING_AMF0’ was not declared in this scope
AMFConverter.cpp:334: error: ‘readLongString’ was not declared in this scope
AMFConverter.cpp:337: error: ‘NUMBER_AMF0’ was not declared in this scope
AMFConverter.cpp:338: error: ‘readNumber’ was not declared in this scope
AMFConverter.cpp:341: error: ‘UNSUPPORTED_AMF0’ was not declared in this scope
AMFConverter.cpp:342: error: ‘UNDEFINED_AMF0’ was not declared in this scope
AMFConverter.cpp:346: error: ‘NULL_AMF0’ was not declared in this scope
AMFConverter.cpp:351: error: ‘REFERENCE_AMF0’ was not declared in this scope
AMFConverter.cpp:355: error: ‘OBJECT_AMF0’ was not declared in this scope
AMFConverter.cpp:359: error: ‘ECMA_ARRAY_AMF0’ was not declared in this scope
AMFConverter.cpp:363: error: ‘STRICT_ARRAY_AMF0’ was not declared in this scope
AMFConverter.cpp:367: error: ‘DATE_AMF0’ was not declared in this scope
AMFConverter.cpp:371: error: ‘XML_OBJECT_AMF0’ was not declared in this scope
AMFConverter.cpp:376: error: ISO C++ forbids declaration of ‘AMFException’ with no type
AMFConverter.cpp:376: error: expected `)' before ‘&’ token
AMFConverter.cpp:376: error: expected `{' before ‘&’ token
AMFConverter.cpp:376: error: ‘e’ was not declared in this scope
AMFConverter.cpp:376: error: expected `;' before ‘)’ token
AMFConverter.cpp: In member function ‘gnash::as_value gnash::AMF::Reader::readXML()’:
AMFConverter.cpp:391: error: ‘readLongString’ was not declared in this scope
AMFConverter.cpp: In member function ‘gnash::as_value gnash::AMF::Reader::readStrictArray()’:
AMFConverter.cpp:408: error: ‘AMFException’ was not declared in this scope
AMFConverter.cpp:411: error: ‘readNetworkLong’ was not declared in this scope
AMFConverter.cpp:426: error: ‘AMFException’ was not declared in this scope
AMFConverter.cpp: In member function ‘gnash::as_value gnash::AMF::Reader::readArray()’:
AMFConverter.cpp:443: error: ‘AMFException’ was not declared in this scope
AMFConverter.cpp:446: error: ‘readNetworkLong’ was not declared in this scope
AMFConverter.cpp:473: error: ‘readNetworkShort’ was not declared in this scope
AMFConverter.cpp:480: error: ‘OBJECT_END_AMF0’ is not a member of ‘gnash::AMF’
AMFConverter.cpp:505: error: ‘AMFException’ was not declared in this scope
AMFConverter.cpp: In member function ‘gnash::as_value gnash::AMF::Reader::readObject()’:
AMFConverter.cpp:529: error: ‘STRING_AMF0’ is not a member of ‘gnash::AMF’
AMFConverter.cpp:530: error: ‘AMFException’ was not declared in this scope
AMFConverter.cpp:548: error: ‘AMFException’ was not declared in this scope
AMFConverter.cpp: In member function ‘gnash::as_value gnash::AMF::Reader::readReference()’:
AMFConverter.cpp:559: error: ‘AMFException’ was not declared in this scope
AMFConverter.cpp:561: error: ‘readNetworkShort’ was not declared in this scope
AMFConverter.cpp:570: error: ‘AMFException’ was not declared in this scope
AMFConverter.cpp: In member function ‘gnash::as_value gnash::AMF::Reader::readDate()’:
AMFConverter.cpp:580: error: ‘AMFException’ was not declared in this scope
AMFConverter.cpp:589: error: ‘swapBytes’ was not declared in this scope
AMFConverter.cpp:605: error: ‘AMFException’ was not declared in this scope
make[4]: *** [AMFConverter.lo] Error 1

Markus Gothe <nihilus>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bwy (Posted a comment)
  • -unavailable- added by nihilus (Submitted the item)
  • -unavailable- added by nihilus
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 08 Mar 2010 08:13:35 PM UTCnihilusStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sat 27 Feb 2010 03:50:39 PM UTCbwySeverity5 - Blocker=>4 - Important
      Assigned tobwy=>None
    Sat 27 Feb 2010 11:10:20 AM UTCnihilusSummaryCan\'t buld on Darwin since AMF-refactoring.=>Can't build on Darwin since AMF-refactoring.
    Sat 27 Feb 2010 11:09:47 AM UTCnihilusCarbon-Copy-=>Added nihilus

    Back to the top


    Powered by Savane 3.1-cleanup1