9 Replies Latest reply: Mar 7, 2012 2:53 AM by Silviu Vergoti RSS

    Can not resolve a multiname reference unambiguously- OSMF build from scratch

    venky_123 Community Member

      Hi

       

      I am trying to build OSMF from scratch and I have been following the Building OSMF and OSMF based projects guide - http://osmf.org/dev/osmf/specpdfs/building-osmf.pdf

       

      I've been doing everything by the guide but when I try to compile the project, which is the unmodified trunk from SVN, I get the following error (see below). I did a fair bit of googling but to no avail. Please Help me out!

       

      This is my entire log on compilation-

       

      E:\OSMF\OSMF SVN\trunk>ant

      Buildfile: E:\OSMF\OSMF SVN\trunk\build.xml

       

       

      all:

       

       

      build:

       

       

      compile.osmf:

       

       

      clean-bin:

       

       

      build:

         [delete] Deleting: E:\OSMF\OSMF SVN\trunk\framework\OSMF\OSMF-build-config.tm

      p.xml

           [copy] Copying 1 file to E:\OSMF\OSMF SVN\trunk\framework\OSMF

          [compc] Loading configuration file E:\OSMF\OSMF SVN\trunk\framework\OSMF\OSM

      F-build-config.tmp.xml

          [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

      anifestParser.as: Error: Can not resolve a multiname reference unambiguously. or

      g.osmf.elements.f4mClasses:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\buildtools

      \sdks\4.5.1\frameworks\libs\osmf.swc(org.osmf.elements.f4mClasses:Base 64Decoder)

      ) and org.osmf.utils:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\framework\OSMF\o

      rg\osmf\utils\Base64Decoder.as) are available.

          [compc]

          [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\B

      ootstrapInfoParser.as: Error: Can not resolve a multiname reference unambiguousl

      y. org.osmf.elements.f4mClasses:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\build

      tools\sdks\4.5.1\frameworks\libs\osmf.swc(org.osmf.elements.f4mClasses :Base64Dec

      oder)) and org.osmf.utils:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\framework\O

      SMF\org\osmf\utils\Base64Decoder.as) are available.

          [compc]

          [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

      ediaParser.as: Error: Can not resolve a multiname reference unambiguously. org.o

      smf.elements.f4mClasses:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\buildtools\sd

      ks\4.5.1\frameworks\libs\osmf.swc(org.osmf.elements.f4mClasses:Base64D ecoder)) a

      nd org.osmf.utils:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\

      osmf\utils\Base64Decoder.as) are available.

          [compc]

          [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\D

      RMAdditionalHeaderParser.as: Error: Can not resolve a multiname reference unambi

      guously. org.osmf.elements.f4mClasses:Base64Decoder (from E:\OSMF\OSMF SVN\trunk

      \buildtools\sdks\4.5.1\frameworks\libs\osmf.swc(org.osmf.elements.f4mC lasses:Bas

      e64Decoder)) and org.osmf.utils:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\frame

      work\OSMF\org\osmf\utils\Base64Decoder.as) are available.

          [compc]

          [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

      anifestParser.as: Error: Can not resolve a multiname reference unambiguously. or

      g.osmf.elements.f4mClasses:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\buildtools

      \sdks\4.5.1\frameworks\libs\osmf.swc(org.osmf.elements.f4mClasses:Base 64Decoder)

      ) and org.osmf.utils:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\framework\OSMF\o

      rg\osmf\utils\Base64Decoder.as) are available.

          [compc]

          [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

      anifestParser.as: Error: Can not resolve a multiname reference unambiguously. or

      g.osmf.elements.f4mClasses:DateUtil (from E:\OSMF\OSMF SVN\trunk\buildtools\sdks

      \4.5.1\frameworks\libs\osmf.swc(org.osmf.elements.f4mClasses:DateUtil) ) and org.

      osmf.utils:DateUtil (from E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\utils\D

      ateUtil.as) are available.

          [compc]

          [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\B

      ootstrapInfoParser.as: Error: Can not resolve a multiname reference unambiguousl

      y. org.osmf.elements.f4mClasses:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\build

      tools\sdks\4.5.1\frameworks\libs\osmf.swc(org.osmf.elements.f4mClasses :Base64Dec

      oder)) and org.osmf.utils:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\framework\O

      SMF\org\osmf\utils\Base64Decoder.as) are available.

          [compc]

          [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

      ediaParser.as: Error: Can not resolve a multiname reference unambiguously. org.o

      smf.elements.f4mClasses:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\buildtools\sd

      ks\4.5.1\frameworks\libs\osmf.swc(org.osmf.elements.f4mClasses:Base64D ecoder)) a

      nd org.osmf.utils:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\

      osmf\utils\Base64Decoder.as) are available.

          [compc]

          [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\D

      RMAdditionalHeaderParser.as: Error: Can not resolve a multiname reference unambi

      guously. org.osmf.elements.f4mClasses:Base64Decoder (from E:\OSMF\OSMF SVN\trunk

      \buildtools\sdks\4.5.1\frameworks\libs\osmf.swc(org.osmf.elements.f4mC lasses:Bas

      e64Decoder)) and org.osmf.utils:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\frame

      work\OSMF\org\osmf\utils\Base64Decoder.as) are available.

          [compc]

          [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

      anifestParser.as(137): col: 26 Error: Access of undefined property DateUtil.

          [compc]

          [compc]                             manifest.startTime = DateUtil.parseW3CDT

      F(root.nmsp::startTime.text());

          [compc]                                                  ^

          [compc]

          [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

      anifestParser.as(680): col: 18 Error: Type was not found or was not a compile-ti

      me constant: Base64Decoder.

          [compc]

          [compc]                                     var decoder:Base64Decoder = new

      Base64Decoder();

          [compc]                                                 ^

          [compc]

          [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

      anifestParser.as(680): col: 38 Error: Call to a possibly undefined method Base64

      Decoder.

          [compc]

          [compc]                                     var decoder:Base64Decoder = new

      Base64Decoder();

          [compc]

      ^

          [compc]

          [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\B

      ootstrapInfoParser.as(92): col: 17 Error: Type was not found or was not a compil

      e-time constant: Base64Decoder.

          [compc]

          [compc]                             var decoder:Base64Decoder = new Base64De

      coder();

          [compc]                                         ^

          [compc]

          [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\B

      ootstrapInfoParser.as(92): col: 37 Error: Call to a possibly undefined method Ba

      se64Decoder.

          [compc]

          [compc]                             var decoder:Base64Decoder = new Base64De

      coder();

          [compc]                                                             ^

          [compc]

          [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

      ediaParser.as(67): col: 16 Error: Type was not found or was not a compile-time c

      onstant: Base64Decoder.

          [compc]

          [compc]                     var decoder:Base64Decoder;

          [compc]                                 ^

          [compc]

          [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

      ediaParser.as(147): col: 19 Error: Call to a possibly undefined method Base64Dec

      oder.

          [compc]

          [compc]                             decoder = new Base64Decoder();

          [compc]                                           ^

          [compc]

          [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

      ediaParser.as(154): col: 19 Error: Call to a possibly undefined method Base64Dec

      oder.

          [compc]

          [compc]                             decoder = new Base64Decoder();

          [compc]                                           ^

          [compc]

          [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

      ediaParser.as(187): col: 19 Error: Call to a possibly undefined method Base64Dec

      oder.

          [compc]

          [compc]                             decoder = new Base64Decoder();

          [compc]                                           ^

          [compc]

          [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\D

      RMAdditionalHeaderParser.as(91): col: 17 Error: Type was not found or was not a

      compile-time constant: Base64Decoder.

          [compc]

          [compc]                             var decoder:Base64Decoder = new Base64De

      coder();

          [compc]                                         ^

          [compc]

          [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\D

      RMAdditionalHeaderParser.as(91): col: 37 Error: Call to a possibly undefined met

      hod Base64Decoder.

          [compc]

          [compc]                             var decoder:Base64Decoder = new Base64De

      coder();

          [compc]                                                             ^

          [compc]

       

       

      BUILD FAILED

      E:\OSMF\OSMF SVN\trunk\build.xml:15: The following error occurred while executin

      g this line:

      E:\OSMF\OSMF SVN\trunk\build.xml:22: The following error occurred while executin

      g this line:

      E:\OSMF\OSMF SVN\trunk\build.xml:53: The following error occurred while executin

      g this line:

      E:\OSMF\OSMF SVN\trunk\framework\OSMF\build.xml:14: The following error occurred

      while executing this line:

      E:\OSMF\OSMF SVN\trunk\buildtools\utils.xml:107: compc task failed

       

       

      Total time: 56 seconds