"Undefined symbols for architecture"  when building Universal Binaries

The build I'm doing works fine when specifying either i386 or x86_64 or ppc *by itself*, however whenever I try to combine the archs to make a UB, I get problems building libraries. I'm using an existing makefile system as this needs to be portable across many platforms. Any ideas?
Here's the output (trying i386 & x86_64):
gcc -I/Users/Documents/AccurevWorkspace/RDMe-AurigaDevmacosx/include -D_REENTRANT -DOSX_X86 -DNO_TERMCAP -DNOPOSIXMUTEXES -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.5 -DNO_ENCRYPTION -DTASK_DEFN -DNO_ENCRYPTION -c sddlp_util.c -o osx/static/sddlp_util.o
ar ru osx/librdmeddl9_static.a osx/static/ddlp.o osx/static/ddlalign.o osx/static/ddllex.o osx/static/ddlp_util.o osx/static/ddltable.o osx/static/ddlxref.o osx/static/writejni.o osx/static/sddlp.o osx/static/sddlp_util.o
ar: creating archive osx/librdmeddl9_static.a
cp -f /Users/Documents/AccurevWorkspace/RDMe-AurigaDev_macosx/source/tools/ddl/osx/librdmeddl9static.a /Users/Documents/AccurevWorkspace/RDMe-AurigaDevmacosx/lib/osx
gcc -c -I/Users/Documents/AccurevWorkspace/RDMe-AurigaDevmacosx/include -D_REENTRANT -DOSX_X86 -DNO_TERMCAP -DNOPOSIXMUTEXES -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.5 -DNO_ENCRYPTION -DTASK_DEFN -DNO_ENCRYPTION ddlp_main.c -o osx/static/ddlp_main.o
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.5 -o osx/ddlp_static osx/static/ddlp_main.o -L/Users/Documents/AccurevWorkspace/RDMe-AurigaDevmacosx/lib/osx -lrdmeddl9_static -L/Users/Documents/AccurevWorkspace/RDMe-AurigaDevmacosx/lib/osx -lrdmebase9_static -L/Users/Documents/AccurevWorkspace/RDMe-AurigaDevmacosx/lib/osx -lrdmepsp9_static
ld: warning: in /Users/Documents/AccurevWorkspace/RDMe-AurigaDev_macosx/lib/osx/librdmeddl9static.a, file is not of required architecture
ld: warning: in /Users/Documents/AccurevWorkspace/RDMe-AurigaDev_macosx/lib/osx/librdmebase9static.a, file is not of required architecture
ld: warning: in /Users/Documents/AccurevWorkspace/RDMe-AurigaDev_macosx/lib/osx/librdmepsp9static.a, file is not of required architecture
Undefined symbols for architecture i386:
"pspinit", referenced from:
_main in ddlp_main.o
"pspterm", referenced from:
_main in ddlp_main.o
"ddlpmain", referenced from:
_main in ddlp_main.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
ld: warning: in /Users/Documents/AccurevWorkspace/RDMe-AurigaDev_macosx/lib/osx/librdmeddl9static.a, file is not of required architecture
ld: warning: in /Users/Documents/AccurevWorkspace/RDMe-AurigaDev_macosx/lib/osx/librdmebase9static.a, file is not of required architecture
ld: warning: in /Users/Documents/AccurevWorkspace/RDMe-AurigaDev_macosx/lib/osx/librdmepsp9static.a, file is not of required architecture
Undefined symbols for architecture x86_64:
"pspinit", referenced from:
_main in ddlp_main.o
"pspterm", referenced from:
_main in ddlp_main.o
"ddlpmain", referenced from:
_main in ddlp_main.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/0H/0H34PYrnF7SXdZBPnDciuU+jA/-Tmp-//cciWTBHk.out (No such file or directory)
make: * [osx/ddlp_static] Error 1

OK, solved the problem. AR requires the -s flag when building UBs:
If you are building for multiple arches then you should pass ar the -s
flag (as Rainer said) to ar to ensure that the table of contents is
created. As you can see from the ar sources it calls ranlib -q normally,
and ranlib -f if it saw the -s flag. Ranlib -q will "Do nothing if a
universal file would be created." whereas ranlib -f will create the fat
archive.
http://www.nabble.com/Why-ar-doesn't-call-ranlib-on-Mac--td22319721.html

Similar Messages

  • Error compiling "Undefined symbols for architecture armv6:"

    Hey, I seem to be getting errors like this a lot... I only just started making apps yesterday, so they are all still very basic, but I was wondering if I am doing something wrong when I import frameworks?
    This may be caused from something else entirely, but this is what I seem to think is causing it...
    Basically the error I'm getting is:
    Undefined symbols for architecture armv6:
    "_kUTTypeImage", referenced from:
    -[CameraViewController(CameraDelegateMethods) imagePickerController:didFinishPickingMediaWithInfo:] in CameraViewController.o
    -[CameraViewController(CameraDelegateMethods) startCameraControllerFromViewController:usingDelegate:] in CameraViewController.o
    "_kUTTypeMovie", referenced from:
    -[CameraViewController(CameraDelegateMethods) imagePickerController:didFinishPickingMediaWithInfo:] in CameraViewController.o
    "_OBJC_CLASS_$_CameraViewController", referenced from:
    objc-class-ref in CameraViewController.o
    l_OBJC_$_CATEGORY_CameraViewController_$_CameraDelegateMethods in CameraViewController.o
    ld: symbol(s) not found for architecture armv6
    collect2: ld returned 1 exit status
    As you can probably tell, I am trying to make a very simple camera app. Most of the code is copied and pasted straight from apple's site.
    If it would help I can put the full source code I have so far on these forums, just let me know.
    Thanks for any help!

    I've got this error while importing a project from XCode 3 to XCode 4
    A simple workaround which has worked for me was :
    1) Start a new project from scratch in XCode 4 using a template... I know, it should be tedious... ;-(
    2) You should change the build settings  « Architectures » of your project (under TARGETS) to compile with « armv6 » instead of the default value which is « Standard (armv7) »
    Double click « Standard (armv7) » in the « Architectures » setting 
    Add « armv6 » in the popup after clicking « + » button in the bottom-left of the popup

  • Undefined symbols for architecture armv7

    Hello,
    I'm in the process of creating an ANE for an iOS SDK and I'm encountering issues when using the generated ANE in a test project.
    When trying to debug the app on the device via Flash Builder here is the error I'm getting:
    Error occurred while packaging the application:
    Undefined symbols for architecture armv7:
      "_OBJC_CLASS_$_ASIdentifierManager", referenced from:
          objc-class-ref in com.mycompany.MySDKANE.o
    ld: symbol(s) not found for architecture armv7
    Compilation failed while executing : ld64
    It looks like the error is saying that I've not added the AdSupport.framework when packaging my ANE.
    When I look at the ANT script I've implemented I can see that the platform.xml file correctly lists all the iOS frameworks I need.
    Here is an excerpt of my ANT script :
    <!-- Package -->
         <target name="package" description="Create the extension package">
              <exec executable="${flex.sdk}/bin/adt" failonerror="true" dir="../temp">
                   <env key="AIR_SDK_HOME" value="${flex.sdk}"/>
                   <arg value="-package"/>
                   <arg value="-target"/>
                   <arg value="ane"/>
                   <arg value="${name}.ane"/>
                   <arg value="../build/extension.xml"/>
                   <arg line="-swc swc/${name}.swc"/>
                   <arg line="-platform iPhone-ARM -platformoptions ../build/platform.xml -C ios/ ."/>
                   <arg line="-platform iPhone-x86 -platformoptions ../build/platform.xml -C iosSimulator/ ."/>
                   <arg line="-platform default -C default/ ."/>
              </exec>
            <move file="../temp/${name}.ane" todir="../bin"/>
            <delete dir="../temp"/>
        </target>
    and the content of the platform.xml :
    <?xml version="1.0" encoding="utf-8" ?>
    <platform xmlns="http://ns.adobe.com/air/extension/13.0">
         <sdkVersion>7.1</sdkVersion>
         <linkerOptions>
              <option>-ios_version_min 5.1.1</option>
              <option>-framework Accelerate</option>
              <option>-weak_framework AdSupport</option>
              <option>-framework CoreGraphics</option>
              <option>-framework Foundation</option>
              <option>-framework QuartzCore</option>
              <option>-framework Security</option>
              <option>-weak_framework StoreKit</option>
              <option>-framework SystemConfiguration</option>
              <option>-framework UIKit</option>
         </linkerOptions>
    </platform>
    The script runs fine and generates a valide ANE but when I use is in my project I encounter the error above.
    Here is my environment:
    - Flash Builder 4.7
    - AIR SDK 13.0.0.76
    - Xcode 5.1 with iOS 7.1
    Does anyone have an idea on the source of my problem?
    Thank you.

    I have the sam issue with Parse SDK. ANE is generated without errors but project compilation fails with error:
    Undefined symbols for architecture armv7:
      "_OBJC_CLASS_$_PFPush", referenced from:
    My platformoptions.xml is:
    <platform xmlns="http://ns.adobe.com/air/extension/3.5">
      <sdkVersion>6.1</sdkVersion>
        <linkerOptions>
            <option>-ios_version_min 5.0</option>
            <option>-framework Parse</option>
        </linkerOptions>
        <packagedDependencies>
            <packagedDependency>Parse.framework</packagedDependency>
        </packagedDependencies>
    </platform>
    Some help would be greatly appreciated.

  • Error while packaging app for iOS - Undefined symbols for architecture armv7

    First time trying to package an AS3 Air app for development on iOS.
    App works fine on Android and is available on the Google/Amazon store etc. The version I'm trying to package has all references to the ANE I use removed to simplify matters.
    I'm using Flash Builder 4.7, AIR v4.0 and am developing on a Windows 8 PC.
    When using fast packaging no error is thrown but the app just shows a black screen on my test Ipad (v3).
    Using standard packaging I get the following error at 57%:
    Error occurred while packaging the application:
    Undefined symbols for architecture armv7:
      "__Z15abcOP_nullcheckIPN7avmplus6AbcEnvEEvPNS0_9MethodEnvET_", referenced from:
          _abcMethod_builtin_2_2_function public::global21.describeType in AOTBuildOutput-3.o
          _abcMethod_builtin_3_3_function public::global21.describeTraits in AOTBuildOutput-3.o
          _abcMethod_builtin_6_6_function public::global21.describeParams in AOTBuildOutput-3.o
          _abcMethod_builtin_5_5_function public::global21.describeMetadata in AOTBuildOutput-3.o
          _abcMethod_builtin_4_4_function public::global21.finish in AOTBuildOutput-3.o
          _abcMethod_builtin_26_26_function public::Object$._dontEnumPrototype in AOTBuildOutput-3.o
          _abcMethod_builtin_30_30_null ::_init. in AOTBuildOutput-3.o
    ld: symbol(s) not found for architecture armv7
    Compilation failed while executing : ld64
    Any help you can offer would be very welcome.

    Thanks for your reply Nimisha.
    Can you please tell me how to install the AIR 15 beta in such a way that I can easily go back to the AIR 14 release so I may continue to develop builds for release safely. I do not want to release anything built with beta builds for obvious reasons. Thank you.

  • What does the sdkVersion mean in the platform.xml for iPhone when building ANEs?

    Are there any requirements for it? Such as it must be the iOS sdk version used in compiling the .a files used in ANE?
    For its value, higher is better or lower is better?

    hi ,
    i apply this SAP note from SNOTE Tcode?
    you should generally  apply  through  snote only 
    as  if in future there are some changes in  code they can be handled by SAP while upgrade otherwise you have to apply that notes  manually every time  during upgrade  .
    it should follow standard   .
    regards
    Deepak.

  • Ld: file was built for unsupported file format...for architecture armv7

    hi:
    I recently developed a project with custom ANE and I get this error msg when compile ipa since I upgraded the sdk from 3.5 to 3.8.
    ANE compile CMD:
    adt -package -storetype pkcs12 -keystore ane.p12 -storepass 1234 -target ane yund.ane extension.xml -swc yunding.swc -platform iPhone-ARM -platformoptions platform.xml IDS.framework library.swf libIslandIDSANE.a
    platform.xml:
    <platform xmlns="http://ns.adobe.com/air/extension/3.5">
         <sdkVersion>6.1</sdkVersion>
         <linkerOptions>
                        <option>-w</option>
            <option>-ios_version_min 4.2</option>
                        <option>-framework Foundation</option>
                        <option>-framework StoreKit</option>
                        <option>-framework AdSupport</option>
                        <option>-framework QuartzCore</option>
                        <option>-framework UIKit</option>
                        <option>-framework CoreGraphics</option>
                        <option>-framework SystemConfiguration</option>
                        <option>-framework Foundation</option>
                        <option>-lz</option>
         </linkerOptions>
                 <packagedDependencies>
                        <packagedDependency>IDS.framework</packagedDependency>
              </packagedDependencies>
    </platform>
    msg:
    ld: file was built for unsupported file format ( 0x56 0x65 0x72 0x73 0x69 0x6f 0x6e 0x73 0x2f 0x43 0x75 0x72 0x72 0x65 0x6e 0x74 ) which is not the architecture being linked (armv7): C:\Users\timoo\AppData\Local\Temp\139d9782-79fd-422a-8c15-da1da2da8c53/IDS.framework/IDS for architecture armv7
    Compilation failed while executing : ld64
    help me
    thx

    Have you Found the way to solve this problem yet?
    I  have got the same problem. Here is the error log when building the IPA:
    ld: warning: ignoring file /var/folders/c0/m8m1_z5915qblkj9d_7jhmcw0000gn/T/3cb383e9-0092-4b1c-909f-5c219b2fbcd4/Par tytrack.framework/Partytrack, file was built for unsupported file format ( 0x56 0x65 0x72 0x73 0x69 0x6f 0x6e 0x73 0x2f 0x43 0x75 0x72 0x72 0x65 0x6e 0x74 ) which is not the architecture being linked (armv7): /var/folders/c0/m8m1_z5915qblkj9d_7jhmcw0000gn/T/3cb383e9-0092-4b1c-909f-5c219b2fbcd4/Par tytrack.framework/Partytrack
    ld: warning: CPU_SUBTYPE_ARM_ALL subtype is deprecated: /Users/apple/Documents/flexsdk/flex3.9/lib/aot/lib/libDebugger1.arm-air.a(avmplusDebugger .cpp.o)
    Undefined symbols for architecture armv7:
      "_OBJC_CLASS_$_Partytrack", referenced from:
          objc-class-ref in libcom.haibin.extension.PromotionAPI.a(partyTrackAPI.o)
    ld: symbol(s) not found for architecture armv7
    Compilation failed while executing : ld64
    My platformoption.xml content is:
    <platform xmlns="http://ns.adobe.com/air/extension/3.8">
        <sdkVersion>7.0</sdkVersion>
        <linkerOptions>
            <option>-ios_version_min 4.3</option>
            <option>-framework CoreData</option>
            <option>-framework UIKit</option>
            <option>-framework Foundation</option>
            <option>-framework Security</option>
            <option>-weak_framework AdSupport</option>
        </linkerOptions>
        <packagedDependencies>
            <packagedDependency>Partytrack.framework</packagedDependency>
        </packagedDependencies>
    </platform>
    And my build command are:
    <target name="package" description="Create the extension package">
    <exec executable="${FLEX_HOME}/bin/adt" failonerror="true" dir="${basedir}">
    <env key="AIR_SDK_HOME" value="${FLEX_HOME}"/>
    <arg value="-package"/>
    <arg line="-storetype pkcs12"/>
    <arg line="-keystore testkey.p12"/>
    <arg line="-storepass 123456"/>
    <arg line="-target ane"/>
    <arg value="../${ANE_NAME}.ane"/>
    <arg value="extension.xml"/>
    <arg line="-swc ../swc/${ANE_NAME}.swc"/>
    <arg line="-platform iPhone-ARM -platformoptions platform.xml -C ../iPhone-ARM/ . "/>
    <arg line="-platform Android-ARM -C ../Android-ARM/ ."/>
    <arg line="-platform default -C ../default/ ."/>
    </exec>
    </target>
    File "Partytrack.framework " is in the directory "iPhone-ARM"

  • Error when building a target that calls ldap_lts_inplace()

    I am writing a simple LDAP client that supports SSL/TLS using C in Xcode. I am using the following code snippet to start TLS:
    ldap_start_tls_s(ld, NULL,  NULL); 
    success = ldap_tls_inplace(ld); 
    ... etc
    When I try to build, I get the following error:
    Undefined symbols for architecture x86_64: 
    "_ldap_tls_inplace", referenced from: 
          _auth_using_ldap in myLdapClient.o 
    ld: symbol(s) not found for architecture x86_64 
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    The function definition can be found in ldap.h, but I cannot build successfully.
    How can I resolve this? Any helps or hints will be appreciated.
    Current building environment:
    - OS X 10.7.5
    - Xcode 4.5.2
    Linked libraries in Xcode:
    - libldap.dylib
    - Cocoa.framework

    yes!
    early on i tried: BlackjackDAO.addPlayer(request, response);
    instead of: theBlackjackDAO.addPlayer(request, response);
    you rock - thanks a ton

  • Undefined symbol error when calling stat from extproc

    Hi, I'm trying to call an external procedure written in C that calls stat, and am getting the following error. Note that we have other extprocs running, and we are on Oracle 8.1.7 on redhat 6.2...
    SQL Error: ORA-06520: PL/SQL: Error loading external library
    ORA-06522: /tmp/extproc.so: undefined symbol: stat
    OS/compiler
    Linux enchilada 2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST 2000 i686 unknown
    gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
    Oracle version: 8.1.7
    added following lines to file plsql/demo/extproc.c:
    (at top of file)
    #include <unistd.h>
    #include <sys/types.h>
    #include <sys/stat.h>
    #include <fcntl.h>
    (inside UpdateSalary function)
    struct stat mystat;
    stat("/tmp/foo", &mystat);
    reported error:
    SQL Error: ORA-06520: PL/SQL: Error loading external library
    ORA-06522: /tmp/extproc.so: undefined symbol: stat
    NOTE: when I remove call to stat, procudure runs properly.
    null

    I've talked to support, and this is supposedly a problem with Oracle not recognizing the library path. It is supposed to be fixed in 8.1.7.1.

  • Solaris link error - cout undefined symbol

    I am using the Forte 6 C++ compiler, but instead of using the built-in roguewave STL library I am using STLPort 4.5.1 for performance reasons. If I compile my application using the roguewave STL it links ok, but when I use the STLPort I received an undefined symbol for cout.
    Ideas how I can get around this?
    Thanks,
    Sean

    Are you sure you posted the entire output of the linker? It doesn't look like you have.
    The error you posted is:
    Undefined first referenced
    symbol in file
    ISymbolTable::__
    It then goes on to state that the file that needs this symbol (the file that first references this missing symbol) is /lib/cxx//libMyBusinessObjects.so.
    Now, what I don't get is the symbol itself. what is ISymbolTable::__ ? That's just plain whacky.
    Is libMyBusinessObjects.so your library?
    Anyhow, to fix these types of errors, it is typically an issue of adding another lib or .o to you link list in the Makefile. But, first, you have to make sense of the symbol that is "missing".
    If you provide more data, it might help in resolving this...
    -- jrj

  • What is the symbol $ for?

    Hi i'd like to know what is the $ symbol for and when it can be used.
    I've seen it in class definitions like
    "org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process"
    Thanks

    Basically '$' is an ordinary "Java letter", but should normally not be used in identifiers (see below). The JLS says [http://java.sun.com/docs/books/jls/third_edition/html/lexical.html#3.8]:
    The Java letters include uppercase and lowercase ASCII Latin letters A-Z (\u0041-\u005a), and a-z (\u0061-\u007a), and, for historical reasons, the ASCII underscore (_, or \u005f) and dollar sign ($, or \u0024). The $ character should be used only in mechanically generated source code or, rarely, to access preexisting names on legacy systems.
    Some details on how Java uses the '$' internally are available here: [http://java.sun.com/docs/books/jls/third_edition/html/binaryComp.html#13.1]
    Another example that is not connected to nested or inner classes is with java.lang.reflect.Proxy [http://java.sun.com/javase/6/docs/api/java/lang/reflect/Proxy.html]:
    The unqualified name of a proxy class is unspecified. The space of class names that begin with the string "$Proxy" should be, however, reserved for proxy classes.

  • Usbser_edge module not loaded, lots of undefined symbols

    Greetings folks,
    I've just recently more or less completed my Solaris 10 (sparc) jumpstart image and have noticed that upon booting the system will warn about undefined symbols for the usbser_edge module. I've been hunting around and I can't seem to find out where this module is specified to be loaded. The machine in question is a 220R, and I'd like to figure out how to not load this module so the warnings will go away:
    Sep 9 09:33:25 jump-test krtld: [ID 819705 kern.notice] /kernel/misc/sparcv9/usbser: undefined symbol
    Sep 9 09:33:25 jump-test krtld: [ID 826211 kern.notice] 'usb_dprintf0'
    Sep 9 09:33:25 jump-test krtld: [ID 819705 kern.notice] /kernel/misc/sparcv9/usbser: undefined symbol
    Sep 9 09:33:25 jump-test krtld: [ID 826211 kern.notice] 'usb_dprintf1'
    Sep 9 09:33:25 jump-test krtld: [ID 819705 kern.notice] /kernel/misc/sparcv9/usbser: undefined symbol
    Sep 9 09:33:25 jump-test krtld: [ID 826211 kern.notice] 'usb_dprintf2'
    Sep 9 09:33:25 jump-test krtld: [ID 819705 kern.notice] /kernel/misc/sparcv9/usbser: undefined symbol
    Sep 9 09:33:25 jump-test krtld: [ID 826211 kern.notice] 'usb_free_log_hdl'
    Sep 9 09:33:25 jump-test krtld: [ID 819705 kern.notice] /kernel/misc/sparcv9/usbser: undefined symbol
    Sep 9 09:33:25 jump-test krtld: [ID 826211 kern.notice] 'usb_alloc_log_hdl'
    Sep 9 09:33:25 jump-test krtld: [ID 472681 kern.notice] WARNING: mod_load: cannot load module 'usbser'
    Sep 9 09:33:25 jump-test krtld: [ID 749970 kern.notice] WARNING: usbser:
    Sep 9 09:33:25 jump-test krtld: [ID 225575 kern.notice] unable to resolve dependency, module 'misc/usba' not found
    Sep 9 09:33:25 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:25 jump-test krtld: [ID 826211 kern.notice] 'usb_lookup_ep_data'
    Sep 9 09:33:25 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:25 jump-test krtld: [ID 826211 kern.notice] 'usb_parse_data'
    Sep 9 09:33:25 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:25 jump-test krtld: [ID 826211 kern.notice] 'usb_dprintf0'
    Sep 9 09:33:25 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:25 jump-test krtld: [ID 826211 kern.notice] 'usb_dprintf2'
    Sep 9 09:33:25 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:26 jump-test krtld: [ID 826211 kern.notice] 'usb_pipe_ctrl_xfer_wait'
    Sep 9 09:33:26 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:26 jump-test krtld: [ID 826211 kern.notice] 'usbser_close'
    Sep 9 09:33:26 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:26 jump-test krtld: [ID 826211 kern.notice] 'usbser_power'
    Sep 9 09:33:26 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:26 jump-test krtld: [ID 826211 kern.notice] 'usb_pipe_sync_ctrl_xfer'
    Sep 9 09:33:26 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:26 jump-test krtld: [ID 826211 kern.notice] 'usb_alloc_intr_req'
    Sep 9 09:33:26 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:26 jump-test krtld: [ID 826211 kern.notice] 'usbser_getinfo'
    Sep 9 09:33:26 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:26 jump-test krtld: [ID 826211 kern.notice] 'usb_pipe_close'
    Sep 9 09:33:26 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:26 jump-test krtld: [ID 826211 kern.notice] 'usb_unregister_event_cbs'
    Sep 9 09:33:26 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:26 jump-test krtld: [ID 826211 kern.notice] 'usb_pipe_reset'
    Sep 9 09:33:26 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:26 jump-test krtld: [ID 826211 kern.notice] 'usb_pipe_bulk_xfer'
    Sep 9 09:33:26 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:26 jump-test krtld: [ID 826211 kern.notice] 'usb_free_bulk_req'
    Sep 9 09:33:26 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:26 jump-test krtld: [ID 826211 kern.notice] 'usb_register_event_cbs'
    Sep 9 09:33:26 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:26 jump-test krtld: [ID 826211 kern.notice] 'usb_free_intr_req'
    Sep 9 09:33:26 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:26 jump-test krtld: [ID 826211 kern.notice] 'usb_free_log_hdl'
    Sep 9 09:33:27 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:27 jump-test krtld: [ID 826211 kern.notice] 'usb_pipe_stop_intr_polling'
    Sep 9 09:33:27 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:27 jump-test krtld: [ID 826211 kern.notice] 'usbser_attach'
    Sep 9 09:33:27 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:27 jump-test krtld: [ID 826211 kern.notice] 'usbser_detach'
    Sep 9 09:33:27 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:27 jump-test krtld: [ID 826211 kern.notice] 'usb_get_dev_data'
    Sep 9 09:33:27 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:27 jump-test krtld: [ID 826211 kern.notice] 'usb_pipe_open'
    Sep 9 09:33:27 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:27 jump-test krtld: [ID 826211 kern.notice] 'usb_alloc_log_hdl'
    Sep 9 09:33:27 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:27 jump-test krtld: [ID 826211 kern.notice] 'usbser_rsrv'
    Sep 9 09:33:27 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:27 jump-test krtld: [ID 826211 kern.notice] 'usbser_wsrv'
    Sep 9 09:33:27 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:27 jump-test krtld: [ID 826211 kern.notice] 'usbser_wput'
    Sep 9 09:33:27 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:27 jump-test krtld: [ID 826211 kern.notice] 'usbser_open'
    Sep 9 09:33:27 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:27 jump-test krtld: [ID 826211 kern.notice] 'usb_check_same_device'
    Sep 9 09:33:27 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:27 jump-test krtld: [ID 826211 kern.notice] 'usb_pipe_intr_xfer'
    Sep 9 09:33:27 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:27 jump-test krtld: [ID 826211 kern.notice] 'usb_create_pm_components'
    Sep 9 09:33:27 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:27 jump-test krtld: [ID 826211 kern.notice] 'usb_free_descr_tree'
    Sep 9 09:33:28 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:28 jump-test krtld: [ID 826211 kern.notice] 'usb_set_device_pwrlvl0'
    Sep 9 09:33:28 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:28 jump-test krtld: [ID 826211 kern.notice] 'usb_set_device_pwrlvl1'
    Sep 9 09:33:28 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:28 jump-test krtld: [ID 826211 kern.notice] 'usb_set_device_pwrlvl2'
    Sep 9 09:33:28 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:28 jump-test krtld: [ID 826211 kern.notice] 'usb_set_device_pwrlvl3'
    Sep 9 09:33:28 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:28 jump-test krtld: [ID 826211 kern.notice] 'usb_pipe_get_max_bulk_transfer_size'
    Sep 9 09:33:28 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:28 jump-test krtld: [ID 826211 kern.notice] 'usbser_soft_state_size'
    Sep 9 09:33:28 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:28 jump-test krtld: [ID 826211 kern.notice] 'usb_alloc_bulk_req'
    Sep 9 09:33:28 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:28 jump-test krtld: [ID 826211 kern.notice] 'usb_handle_remote_wakeup'
    Sep 9 09:33:28 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:28 jump-test krtld: [ID 826211 kern.notice] 'usb_client_attach'
    Sep 9 09:33:28 jump-test krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/usbser_edge: undefined symbol
    Sep 9 09:33:28 jump-test krtld: [ID 826211 kern.notice] 'usb_client_detach'
    Sep 9 09:33:28 jump-test krtld: [ID 472681 kern.notice] WARNING: mod_load: cannot load module 'usbser_edge'
    Sep 9 09:33:28 jump-test krtld: [ID 749970 kern.notice] WARNING: usbser_edge:
    Sep 9 09:33:28 jump-test krtld: [ID 225575 kern.notice] unable to resolve dependency, module 'misc/usba' not found
    Thanks in advance for any advice anyone can provide.
    pb

    I just attempted a generic search at Sunsolve, for "usbser_edge".
    It produced references to a lot of documents available after contract login to the site.
    If you have a Spectrum login account, get to BugID 4703982.
    It's from 2003 or so...
    but it discusses the SUNWuedg package being incorrectly installed,
    on beta versions of Sol-10, to an E250 and to a SB1000.
    Other search result references to various BugID's also happened to discuss
    removing references to the driver in the /etc/name_to_major file
    as well as in the /etc/driver_aliases file.
    See BugID 4790469 or BugID 5045102
    I don't trust my skill level with mucking around with such files, however.
    If you have contract coverage for the OS or for that system, open a support case.
    If not, then see if the SUNWuedg package is installed and remove it.
    Then a reconfiguration reboot may be in order.
    What the heck, try a reconfiguration reboot just for grins and giggles.
    ... just my two cents, at least.

  • Xcode building to both architectures when I only want one?

    I have a fairly simple (one source file) command line application in C which was written for Linux but ought to run in OSX as long as I can provide its dependencies (some GNU libraries). I compiled/installed the GNU libraries it needed using Fink. Fink only builds Intel binaries, since I am using an Intel Mac. Because of this, I need Xcode to only try to compile my little application as an Intel (i386) binary, and not try to make a PPC binary or a Universal binary.
    I opened "Project" -> "Edit Project Settings..." -> clicked on the "Build" tab and went to the "Architectures" setting. I made sure it said only "i386" and did a Clean and then another Build. However I can clearly see in the build log that Xcode is invoking the compiler and linker twice each -- once for each CPU architecture. After compiling the PPC version of my code it will fail to link, because there are no PPC versions of its dependencies (the GNU libraries).
    Why is Xcode doing this, and is there a second setting that I haven't found, to make it ONLY build an Intel binary?

    I tried your experiment and saw a similar problem... I'm on a PPC Mac though. Initially the standard tool was building a Universal Binary even though the Project Info -> Build -> Architectures was just set to "ppc".
    So first I tried going to the "General" pane of the Project Info window and switching the pop-up at "Cross-Develop Using Target SDK:" from "Mac OS X 10.4 (Universal)" to "Current Mac OS"... That still tried to build a universal binary only this time I got several errors on the Intel link phase because the "Current OS" SDK contained no Intel libraries.
    However there appears to be a different Architectures setting on a per Target basis.
    In your "Groups & Files" pane expand the "Targets" group and select your target. Then click the "Info" button in the toolbar (or select "File -> Get Info") to get to the Target Info window. Select the "Build" pane... On my machine the "Architectures" setting here was set to both "ppc" and "i386". Turning off the "i386" here fixed my problem and allowed it to build only for ppc.
    I'm not sure how these Target settings roll up into what you see in the Project settings. But it does seem kind of odd.
    Steve

  • Universal Binaries for FCE HD?

    will FCE HD be phased out? Or will apple introduce universal binaries for FCE HD? Or has it already been ported?
    If anyone knows for sure, please post revelant URLs (rather than opinions)
    thanks

    Well I finally had a real project to work on and rendering is awfully hindered in Rosetta, which I should have expected.
    I have several sequences about 5 min in length with several transitions like cross fade and fade to black. I also applied a color correction filter. Rendering takes about 10-15 minutes which, if I remember my G5's performance correctly, is way slow.
    Also of note, there are dropped frames during playback when it reaches cuts with transitions and filters applied and is unrendered (real time playback).
    Other than that, I was able to finish the project like I normally would have, it just took longer.
    PowerMac G5 Dual 1.8, MacBook Pro 2.16   Mac OS X (10.4.6)  

  • Undefined symbol error when importing PyQt5.Core

    If I try to import (in python) PyQt5.QtCore, issues arise:
    ImportError Traceback (most recent call last)
    <ipython-input-1-2bb10a0eb39a> in <module>()
    ----> 1 import PyQt5.QtCore
    ImportError: /usr/lib/python3.4/site-packages/PyQt5/QtCore.so: undefined symbol: _ZTI13QFileSelector
    Unwrapping that symbol with c++filt, I get:
    typeinfo for QFileSelector
    This issue pops up when compiling sonic-pi-git. It also prevents the launch of applications like leo that import PyQt5.Core.
    This is only an issue on one of my systems, a laptop with an Intel i7 (Haswell) processor. My AMD-based desktop does not have this issue.
    I think it's probably a poorly installed library, but which one it is and how I fix it is a mystery to me. Any thoughts are appreciated, more info can be provided on request. Thank you for your time.

    Well I've got good news and bad news it seems.
    Bad: installing the latest development snapshot of PyQt5 (PyQt-gpl-5.5-snapshot-f6bfd44ba749) from their website did not solve the problem. The same error occurs on trying to import PyQt5.QtCore. This issue is still non-existant on my Antergos VM with the official packages, which have the same version numbers as those in the Arch repos. 
    Good: removing the python2-pyqt5 package solves my issue with launching the program Leo, so it seems the library import and Leo issues might be unrelated. Still need this package as a dependency for other programs though...
    I'm kind of stumped. Is the next best step just removing packages until I've found the one that's breaking this part of the library, or seeking some help upstream? And is anyone else running into this issue as well, or is it really just me?

  • Undefined Symbols when using Workshop 6 update 1

    When trying to build my executable , I get undefined symbols
    START and END in crti.o
    The error message is
    Undefined Symbol "_START_"
    First reference is from /opt/SUNWspro/WS6U1/lib/crti.o
    I am working on WS 6U1 on solaris 5.8
    I have all standard & WS Libraries in LD_LIBRARY_PATH
    Any ideas greatly appreciated as I need to get this resolved quickly ..

    Your program is not correctly linked with a runtime.
    How did you compile it? Is this a first trial with
    a newly installed compiler? Had you compiled other
    programs correctly?

Maybe you are looking for

  • HT4314 can I have multiple game center accounts with one itunes account?

    All members of the family havee iphones ipads associated with the same itunes account.  How can they have seperate game center accounts?

  • Exchange emails don't get pushed in iOS7

    Hi, Since I updated my iPhone 5 to iOS7, all my email accounts (hotmail, gmail, exchange) don't get pushed automatically to my phone. I need to go inside the application and slide down in order to download new emails. I have enabled the push option t

  • Screen compatabil​ity help needed

    Hi, I have used the T400 for last 4 years and still like it as my laptop.  I like it so much in fact that I have just about worn mine out (usb's don't work, keys are wearing out, etc).  I recently purchased a very lightly used one on ebay and would l

  • Problem with Inventory Cube

    Inventory ZCUBE extracting data from datasource 2LIS_03_BF, Loading records wrongly: R/3 side: Matdoc no       PO No.       Debit/Credit Indicator    Qty        Amt    400000065      350000444       S               55         8888 400000077      3500

  • Word printing problem snow leopard

    When I print a Word document to my wireless HP 8600 printer, it will not print.  It sits in the print queue and ties up the printer - but no printed output is produced.  If I print from other MS applications such as Excel, they work fine.  I usually