Can allication reffer the shared library using STL?

I want to make the shared library which using STL, and make application using this liblary.
I suceed making shared liblary which using STL, but failed to building allication program. The error message is following ...
/opt/SUNWspro/bin/CC -Kpic -g -mt -V -D_REENTRANT -DFSUN -D_DEBUG -I/export/home/efm/kawaha/EFCFEnv/include -o ./TestDriver.exe SampleDriver.cpp -L/export/home/efm/kawaha/EFCFEnv/lib -L/usr/j2se/jre/lib/sparc/server/ -L/opt/SUNWspro/lib -L/opt/SUNWspro/WS6U1/lib -lhtefcfenv -L/usr/j2se/jre/lib/sparc/server/
CC: Sun WorkShop 6 update 1 C++ 5.2 2000/09/11
ccfe: Sun WorkShop 6 update 1 C++ 5.2 2000/09/11
CClink: Sun WorkShop 6 update 1 C++ 5.2 2000/09/11
CC: Sun WorkShop 6 update 1 C++ 5.2 2000/09/11
/opt/SUNWspro/bin/../WS6U1/bin/c++filt: Sun WorkShop 6 update 1 C++ 5.2 2000/09/11
ld: Software Generation Utilities - Solaris-ELF (4.0)
Undefined first referenced symbol in file
__type_1 std::copy<EFCFMapValue**,EFCFMapValue**>(__type_0,__type_0,__type_1) /export/home/efm/kawaha/EFCFEnv/lib/libhtefcfenv.so
unsigned __rwstd::__rb_tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<const std::basic_string<char,std::char_traits<char>,std::allocator<char> >,EFCFMapValue*>,__rwstd::__select1st<std::pair<const std::basic_string<char,std::char_traits<char>,std::allocator<char> >,EFCFMapValue*>,std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<std::pair<const std::basic_string<char,std::char_traits<char>,std::allocator<char> >,EFCFMapValue*> > >::count(const std::basic_string<char,std::char_traits<char>,std::allocator<char> >&)const /export/home/efm/kawaha/EFCFEnv/lib/libhtefcfenv.so
ld: fatal: Symbol referencing errors. No output written to ./TestDriver.exe
*** Error code 1
make: Fatal error: Command failed for target `TestDriver.exe'
Instanciated symble exit SunWS_cache. I did not know that how application to reffer this symbol.
Can the applicaton reffer the shared library using STL?
or
Can the applicaton reffer the static library using STL?
Mihoko

It seems in ur application,u use STL,but not include the STL header files,just include the right STL header files and "usring namespace std;" in ur application,i think will solve ur problem.

Similar Messages

  • How can I access the iphoto library using windows pc? Upgrading to aperture solves my problem?

    How can I access the iphoto library using windows pc? Upgrading to aperture solves my problem?
    My home network is used both by my macbook and my wife's windows pc. Considering that, I would like to know if we can share our pictures with each other (specially because I intend to store all of them into a NAS storage - WD My Cloud, probably).

    No you can not - neither iPhoto nor Aperture has any cross platform capability
    You can share photos with the PC using MyPhotoStream or Shared PhotoStreames
    You can not share the iPhoto library
    And you can not put the iPHoto library on a NAS - it MUST always be on a volume formatted Mac OS extended (journaled) and mube on a fast wired local connection - it can not be on a Network
    There are Digital Asset Managers that can do what you want - iPhoto and Aperture can not
    LN

  • Hello, I'm trying to transfer my old itunes library to a new computer using home sharing. It's switched on in both computers, but I can't see the old library in the new computer. But I can see tracks from the new computer on the old one. Please help.

    Apologies for poor syntax, my arm's a little sore. Yes, one computer (old) is vista, new is Windows 8. Shouldn't I be able to import the whole library using home sharing? Am I doing something wrong? Thank you in advance

    I am having the same issue.  I recently purchased a new laptop and I have spent the last 3 days using the home share to slowly transfer all 22,000 songs.  However yesterday morning when I turned on both computers to continue the process I am having the following issue:
    both computers are running the same windows OS (8)
    both computers are running the same version of itunes
    both computers are logged in with the same apple ID
    both computers have home sharing turned on
    Now however I can see the NEW computers itunes library in the drop down box on the OLD computer, however I can not see the OLD computers itunes library on the NEW computer.  I can no longer see "HOME SHARES" on the drop down LIBRARY list on the new computer.  I've taken the following steps to correct the error:
    reset the router
    completely shut down BOTH computers and brought them back up
    reopened itunes
    re-logged in on both PC's
    re-activated both PC's with home share
    The articles and help from the apple sites are worthless and it says if you can't see a library just turn home sharing off then back on - I've completed the above steps NUMEROUS times.  After spending 4 days on transferring my music I really do not want to have to start over by using an external hard drive and then importing that way.  I would like some help on discovering why the new laptop is no longer seeing my old library. (When it has been working up to this point) 
    Thanks in advance.

  • I can see the shared library, but it will not open, need help

    I can see the shared library, but when I try to open it, after a few seconds of trying it throws me out.  Need help

    Books from the iTunes Store are intended to be read using the iBooks app on an iOS device.
    tt2

  • HT3819 i originally synced my ipad to itunes on my computer before I found out about home sharing.  Since I set up home sharing, can I remove the synced library?  It seems to be taking up space

    i originally synced my ipad to itunes on my computer before I found out about home sharing.  Since I set up home sharing, can I remove the synced library?  It seems to be taking up space and I'd like to free it up.

    I don't think I have made myself clear... I have recently upgraded my iPhone 4 to a 5 so everything was set up to sync with no problems at all. I transferred everything across to my new device by iCloud and everything appears as it was on my old device including on the face of it my music library. However, I cannot play all of the songs in fact the majority! When at home I can access the entire library via home sharing but that is no use away from the house. I never had this problem with iPhone 4 and although I am automatically syncing the device to iTunes it is not working. If I try to play songs via the device it skips until it finds a song that cAn be played and if I try and play the device via the laptop/iTunes an ! Type signal appears and I cannot play the song!
    Any ideas re solutions would be appreciated???

  • I am trying to move my itunes library from my old pc to my new imac, home sharing is on and I can see the shared library.  My problem is that when I check the shared library to import it to my imac I cannot import it.  Can anyone help me?

    I am trying to move my itunes library from my old pc to my new imac, home sharing is on and I can see the shared library.  My problem is that when I check the shared library to import it to my imac I cannot import it.  Can anyone help me?

    You need to transfer the iTunes Library from the most recent backup you made before the hard drive was replaced.
    You can't transfer the full iTunes Library from the iPad back to iTunes.
    There are third-party Windows applications that will transfer data from an iOS device, but they don't re-create the iTunes Library exactly as it was before.

  • HT2688 Working on a single computer with multiple users, I have set things up to allow each user to view and listen to the others' music libraries under the "Shared Library" function.  Can you then connect an iPod touch and copy music from a shared librar

    Working on a single computer with multiple users, I have set things up to allow each user to view and listen to the others' music libraries under the "Shared Library" function.  Can you then connect an iPod touch and copy music from a shared library?

    Was your wife logged into the libray at the time you tried to log in? I have had a similar problem and it was because another user was logged into the library when I attempted to. I got the permission denied banner.

  • On imac 10.6.8 using current version of Aperture.  How can I access the Aperture Library  on my external hard drive that I use with time machine for backup?  I can only access the application but not the library..

    On imac 10.6.8 using current version of Aperture.  How can I access the Aperture Library  on my external hard drive that I use with time machine for backup?  I can only access the application but not the library..

    Go into Time Machine (the program not the bundle on the extrnal disk) and using Time Machine's browser go to the Folder where the library lives. You could look in the library bundle in Time Machine but that won't really tell you much,
    If you want to make sure it truely has backed up your library you will need to restore it and open the restored library with Aperture.
    If all this still has you confused you need to read up on Time Machine in order to get a feel for how it works, for what it is doing and for how to restore files from it.

  • I can listen to the Music Library in my Ipad through home sharing, but I can't do it in my Iphone. When Iphone managed to connect my Mac, I can see how a watch turns clockwise but it stops when it arrives at a half of the watch. What can I do?

    I can listen to the Music Library in my Ipad through home sharing, but I can't do it in my Iphone. When Iphone managed to connect my Mac, I can see how a watch turns clockwise but it stops when it arrives at a half of the watch. What can I do?

    Hi there,
    You may want to take a look at some of the troubleshooting steps found in the article below.
    Troubleshooting Home Sharing
    http://support.apple.com/kb/ts2972
    Hope that helps,
    Griff W.

  • When I try to open the shared library on the 2nd computer (the one I want to xfer music to), the only songs that come up are those that are already in that same library (the library on the 2nd computer).  While I can see computer

    When I try to open the shared library on the 2nd computer (the one I want to xfer music to), the only songs that come up are those that are already in that same library (the library on the 2nd computer).  While I can see computer #1 listed under 'shared,' when I click on it the only songs I can see are those that I already have on the 2nd computer.  Hopefully that makes sense.  Basically, the library from computer #1 isn't loading up.

    What level of OS X is installed on your Mac (your profile is incomplete)?
    Barry

  • How to make the symbol to be resolved within the shared library ?

    I have two definitions of a symbol, one is in the main code, the other in a shared library. I want the symbol to be resolved within the shared library if it needed in the shared library.
    From the 'C++ User�s Guide', use the option '-Bsymbolic' to build the shared library is a choice. But it also said 'Never use -Bsymbolic with programs containing C++ code, use linker map files instead. So I have to try to use the map file, but I did not get more useful information from 'Linker and Libraries Guide'.
    I want to know what should be included in the map file and how to generate the map file?
    Additionally, from the 'Linker and Libraries Guide', the 'Direct Binding' also could resolve this problem. And I tried to build the shared library by the '-B direct' option, it works.
    Could anybody tell me what's the difference between the '-Bsymbolic' and '-B direct'?
    Any comments are appreciated.

    You didn't provide fun.h, and you didn't show all the commands that you must have used -- there are no commands that compile the source code into .o files. So I can't tell why the -xldscope option didn't work for you.
    Problems and errors that I see in your example:
    Functions func and swap are referenced from C code, but swap and one of the func functions are compiled by the C++ compiler and will get mangled names. If you compile a function with the C++ compiler that is to be called from C code, you need to declare the function as extern "C". But the extern "C" in a shared header needs to be guarded by +#ifdef __cplusplus+, since a C compiler won't understand the declaration.
    When you build a shared library, you must explicitly list the libraries it depends on, since no dependencies are created by default. For a C++ library, you need at least -lCrun -lc in that order. Otherwise, in a real-world program you can have program failures due to incorrect library initialization order. To be sure you have listed all needed libraries, use the -zdefs option, which causes the linker to complain about missing definitions.
    To be sure the shared library is picked up at run time, provide a RUNPATH via the -R option when you build the executable.
    The -xldscope option must appear on compile commands for the files where you want it to take effect. It has no effect on a link command, because the option affects how code is generated.
    Here is my rewrite:
    % cat fun.h
    #ifdef __cplusplus
    extern "C"
    #endif
    void func();
    #ifdef __cplusplus
    extern "C"
    #endif
    void swap();
    % cat fun.c
    #include <stdio.h>
    #include "fun.h"
    extern "C" void func()
        printf("func in the shared lib\n");
    extern "C" void swap()
        func();
    % cat fun_in.c
    #include <stdio.h>
    #include "fun.h"
    void func()
        printf("func in the main code\n");
    % cat main.c
    #include <stdio.h>
    #include "fun.h"
    int main()
        func();
        printf("invoke the swap:\n");
        swap();
    % CC -G -xldscope=symbolic fun.c -Kpic -o liboutside.so -lCrun -lc -zdefs
    % cc -o run main.c fun_in.c -L. -loutside -R .
    % ./run
    func in the main code
    invoke the swap:
    func in the shared libAs you can see, it works as advertised.
    Please note that the -xldscope option affects all functions in the module. If you need more fine-grained control, you must add declarations to the source code, or use a mapfile instead of -xldscope .

  • The shared library is not compatible with this version of itunes

    I have a G3 running Jaguar (and iTunes 6) that hosts my MP3 collection. Until recently, this worked great as a shared library, happily showing up in iTunes on other machines on my network, including my Powerbook.
    Then I got iTunes 8 on my MacBook Pro.
    Now, when I try to access it from my MBP with Leopard, I get the message "the shared library Nick's Music is not compatible with this version of itunes".
    Can I somehow run an older version of iTunes as well as v 8.0 on Leopard?
    Is there another program that can access that library and run on Leopard?
    Any other solutions?

    I solved it myself...What I did was to backup the old library, run iTunes 6 to create a new library, move that new library, edit iTunes 6 preferences to use the library in it's new location, then restore the iTunes 8 library to it's original position.

  • How Can i retain the Shared Variable Values after PC rebooting

    Hi all,
    I am facing a paculiar problem with Shared Variables. I have an application in which shared variables are used for data communication.
    One of the application requirement is to retain the variable values eventhough PC is rebooted or started after crashing. 
    As per the my understanding, the variable values will retain eventhough the PC is rebooted. But here i can observe a paculiar problem like some library variables are retaing the values while some others not. I enabled logging for all the variables.
    I tried many ways. like logging enabled, logging disabled, changing variable names, changing process names etc... But i am not getting a consistent behaviour.
    I hope some you can help me in solving this issue.. "How Can i retain the Shared Variable Values after PC rebooting"
    Thanks and Regards,
    Mir

    Hi Blackperl,
    Thanks for the post and I hope your well. 
    What do you mean by not getting consistent behaviour.. this will all depend on excatly when the crash happens i.e. before the write or after. 
    Surely a better method would be to log the data to a file during the reboot...
    I beleived the value read back
    will be the default value for the shared variable's data type.
    The LabVIEW DSC 8.0 module adds more functionality to the shared variable, including initial values and alarms.
    If you enable an initial value on a shared variable, when the variable
    engine comes back on-line it will default to this value. Setting a bad
    status alarm for the shared variable is also a good way of handling
    this type of event. Additionally, if you are using a LabVIEW Real-Time
    target such as Compact RIO or Compact FieldPoint, it is appropriate to
    consider hosting the shared variable engine on the real-time target.
    These devices have watch-dog capabilities and are typically the
    hardware controlling the critical pieces of an application. Most
    Windows or PC-based targets do not have these fail-safes.
    I guess, if you could explain to me again that would be great. From my point of view, if I have a cRIO and a Windows PC. If the windows PC crashes, the cRIO will still update its shared variables. Then once the PC has started up its own shared variable engine, and the bindings are loaded, it will once again continue to update its copies of the variables.
    Please let me know what you think,
    Kind Regards,
    James.
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

  • Have new iMac with iPhoto sharing turned on. When the shared library is clicked the library disappears or starts to load then disappears? What is wrong?

    Have new iMac with iPhoto sharing turned on. When the shared library is clicked the library disappears or starts to load then disappears? What is wrong?

    Try this:  launch iPhoto with the Option key held down and create a new, test library.  Import some photos and check to see if the same problem persists. If it doesn't then your current library is damaged and needs repair.
    Therefore  make a temporary, backup copy (select the library and type Command+D) and  apply the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Since only one option can be run at a time start with Option #1, followed by #3 and then #4 as needed.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download iPhoto Library Manager and launch.
    Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    If you experience the same problem with the test library then try this basic fix a try:  make a temporary, backup copy (if you don't already have a backup copy) of the library and try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home()/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
         User/Home()/Library/Caches/com.apple.iPhoto folder. 
    Click to view full size
    3 - launch iPhoto and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    NOTE 2:  In Lion and Mountain Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    If that fails a reinstall of iPhoto is indicated. To do so you'll have to delete the current application and all files with "iPhoto" in the file name with either a .PKG or .BOM extension that reside in the HD/Library/Receipts folder and from the /var/db/receipts/  folder,
    Click to view full size
    Then install iPhoto from the source it came on originally.
    OT

  • Images in the shared library not loaded in the application EAR

    The images in the shared library are not getting loaded in the application EAR deployed in the weblogic server.
    I have a portal web project, which is deployed in the server, as a shared library. I'm using this shared library in my application EAR. All the details like the portlets, look and feel elements are loaded. But the images are not displayed when I run my application. Please help!!
    Can it be a problem with the context path specified or something else?

    Hello,
    It is most likely an issue with how your portlets are creating the URLs to the images. What kind of portlets are you using (JPF, JSF, JSR168, Struts, JSP)? And how are you generating the URLs to the images?
    Kevin

Maybe you are looking for

  • I need help in finding previously purchased ISBN numbers in a block. I used three from block of ten, but misplaced the remainder?

    ''dupe of https://support.mozilla.org/en-US/questions/916043'' I had purchased ISBN numbers in a block of 10 previously and used only three at an earlier time for three books. I am now in need of two more, but can't find the original list I purchased

  • Cleaning MacBook Pro screens

    Does anyone know if it is safe to use Kensington's Screen Guardian to clean a MacBook Pro screen? The product contains: Water, 2-Butoxyethanol and Ethanol. Also can this cleaner be used on an iMac and a iPod Touch screens. Thanks for your help.

  • Sequence settings advanced tab

    I'm working on PAL DVCAM 16:9 in FCP 7. Looking at the advanced tab in compresson settings (within sequence settings) does anyone know if it matters whether 4:3 or 16:9 is selected. I've been working foir a while always in 16:9 and have only recently

  • How to show pivot total in value only, and column in percentage only

    Hi All, I want to show pivot table by column percentage only (no value), but total in value only without showing percentage. How to do that? Thank you, Ling

  • Predefine plot color palette

    Has anyone found a way to change the set of colors used by Labview to color plots in a waveform or xy graph?  By default the color sequence is white, red, green, blue, yellow, purple, orange...  I'm working on a waveform graph that plots a sequence o