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
Similar Messages
-
Linker error: ild: (undefined symbol)
I am porting a large pack of C++ from AIX to Solaris. All the modules now passed compilation. But the linker (incremental loader) complains about undefined symbol, such as
ild: (undefined symbol) __rwstd::__rb_tree<CString,std::pair<const CString,int>,__rwstd::__select1st<std::pair<const CString,int>,CString>,std::less<CString>,std::allocator<std::pair<const CString,int> > >::iterator __rwstd::__rb_tree<CString,std::pair<const CString,int>,__rwstd::__select1st<std::pair<const CString,int>,CString>,std::less<CString>,std::allocator<std::pair<const CString,int> > >::erase(__rwstd::__rb_tree<CString,std::pair<const CString,int>,__rwstd::__select1st<std::pair<const CString,int>,CString>,std::less<CString>,std::allocator<std::pair<const CString,int> > >::iterator,__rwstd::__rb_tree<CString,std::pair<const
CString,int>,__rwstd::__select1st<std::pair<const String,int>,CString>,std::less<CString>,std::allocator<std::pair<const CString,int> > >::iterator) -- referenced in the text segment of ../Release/solaris/libSpiderWeb.a(SpiderCommand.o)
ild: (undefined symbol) void std::list<const Process*,std::allocator<const Process*> >::__deallocate_buffers() -- referenced in the text segment of ../Release/solaris/libDragline.a(SystemScope.o)
I did not explicitly use those functions for sure. However, when I link a small test program using std::list and/or std::map which had at least __deallocate_buffers after template instantiation, the linker did not complain.
Any insighgt? What could be the problem and what is the fix?
BTW I am on SunOS 5.6 sun4u sparc SUNW,Ultra-2 and use compiler Sun WorkShop 6 2000/04/07 C++ 5.1.
Thanks a lot!
LanThere is no Solaris 6.2. To find the Solaris version, run the command
uname -a
Probably you mean Sun Workshop (or Forte Developer) 6 update 2. (The name of the product changed mid-stream, from "Sun Workshop" to "Forte Developer", and now is "Sun Studio".)
To find the compiler version, run the command
CC -V
For Workshop 6u2, the CC version is 5.3.
For old compiler versions like this, problems with missing template definitions can usually be fixed by clearing the template cache and rebuilding. To clear the template cache, you can just remove the directory SunWS_cache, or more conservatively, run the command
CCadmin -clean
There will be a cache directory in every directory where you create .o files. You need to clean all of them.
Starting with Sun Studio 8 (C++ 5.5) in 2003, the compiler no longer uses a template cache by default. These kinds of problems no longer occur.
You really should stop using the old compiler, and get a current one. The later compilers run faster, generate code that runs faster, are more standard-conforming, support modern hardware, and have superior program development tools (compiler, debugger, performance analyzer, thread analyzer). Best of all, the current compilers are completely free for all uses. The only license is the license you click to accept when you download the product.
If you are running on Solaris 8, get Sun Studio 11 here:
[http://developers.sun.com/sunstudio/products/previous/11/index.jsp]
If you are running on Solaris 9, Solaris 10, Solaris Express, or Open Solaris, get the current release, Sun Studio 12:
[http://developers.sun.com/sunstudio/] -
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 -
I am writng a simple application in C language for communicating with GPIB. when I compile the c file I am getting a linker error
LIBC.lib(ctr0.obj): LNK2001 error: unresolved sysmbol _main
I compile the application in the dos window using the command
cl gpibApplication.c gpib-32.obj.
Could anyone tell me how to remove this errorHello-
It sounds like the main function is missing from the gpibApplication.c file. Be sure that the following function is somewhere in the code:
int main (int argc, char *argv[])
Also, note that this function is case sensitive, so be sure main is not capitalized.
Randy Solomonson
Application Engineer
National Instruments -
RegExpr_FindPatternInText Link Error
I'm trying to use function RegExpr_FindPatternInText. I have included regexpr.h at the top of my source file, and I have regexpr.fp loaded and added to my project. The program compiles just fine, but won't link.
The link error is Undefined symbol '_RegExpr_FindPatternInText@36 referenced in "main_updated.c".
What else must I do to get the program to link this function in?
Thanks.If you have moved regexpr.fp ro regexpr.obj after you added it to your project, it can cause confusion when CVI tries to link. You can load the fp file from either the toolbox directory or you can copy both it and the obj file to your project directory and then load it from there. Once you load the fp and your project links correctly, then add the instrument to your project so that the relationship is saved with your project.
National Instruments
Product Support Engineer -
Missing prototype and Undefined Symbol errors
So, I am using an Opal Keyy XEM3005 board.
Depending on the documentation I read, this board has a native ANSI C interface with a C++ wrapper.
In their forums, they say to rename the ".cpp" file to "c", and then go forward with calling the default constructor & keep track of the pointer. Their functions are all in an externally loadable DLL.
Well and good.
Their API documentatin is available here: http://www.opalkelly.com/library/FrontPanelAPI/
I have written a REALLY simple app to ease my way in - it does nothing more than allow the user to throw a switch, and when this happens, it goes off to connect to the board:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#include <cvirte.h>
#include <userint.h>
#include "Try1.h"
#include "XEM.h"
#define _WIN32_WINNT 0x0501
//#define _WIN32
#include <windows.h>
static int panelHandle;
static okFrontPanel_HANDLE XEM_Device;
int __stdcall WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpszCmdLine, int nCmdShow)
if (InitCVIRTE (hInstance, 0, 0) == 0)
return -1; /* out of memory */
if ((panelHandle = LoadPanel (0, "Try1.uir", PANEL)) < 0)
return -1;
DisplayPanel (panelHandle);
RunUserInterface ();
DiscardPanel (panelHandle);
return 0;
int CVICALLBACK Connect (int panel, int control, int event,
void *callbackData, int eventData1, int eventData2)
int Value = 0;
switch (event)
case EVENT_COMMIT:
GetCtrlVal(PANEL, PANEL_CONNECT_SWITCH, &Value);
SetCtrlVal(PANEL, PANEL_CONNECT_LED, Value);
if( Value )
XEM_Connect(XEM_Device);
else
XEM_Disconnect(XEM_Device);
break;
return 0;
int CVICALLBACK Quit (int panel, int control, int event,
void *callbackData, int eventData1, int eventData2)
switch (event)
case EVENT_COMMIT:
QuitUserInterface (0);
break;
return 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This, of course, works fine by itself (with empty _Connect() and _Disconnect() functions)
I then started working with the XEM_Connect function.
The first step is to run their LoadDLL function as such:
int XEM_Connect ( okFrontPanel_HANDLE XEM_Device )
int NoDevices = 0; // Number of devices attached to the PC
// Load the DLL (?)
// Load the FrontPanel DLL
if (FALSE == okFrontPanelDLL_LoadLib(NULL))
printf("Could not load FrontPanel DLL\n");
exit(-1);
return XEM_SUCCESS;
And this would compile and run just fine.
Now, when I added the functions to start trying to get info about the device, I started getting "missing prototype" errors.
int XEM_Connect ( okFrontPanel_HANDLE XEM_Device )
int NoDevices = 0; // Number of devices attached to the PC
// Load the DLL (?)
// Load the FrontPanel DLL
if (FALSE == okFrontPanelDLL_LoadLib(NULL))
printf("Could not load FrontPanel DLL\n");
exit(-1);
// Find out how many devices are attached
XEM_Device = okFrontPanel_Construct( );
// XEM_Device = okCFrontPanel( void );
// NoDevices = GetDeviceCount( );
printf("%d OK devices attached\n", NoDevices);
// Call the contructor?
// okCFrontPanel ();
return XEM_SUCCESS;
Now, I searched the forums and found the bits about adding #define _WIN32_WINNT 0x0501 prior to inclusion of windows.h. Did that. No joy.
Then I searched some more and found the bit about changing the build options to uncheck the "prototype required" flag.
Done.
This seemed to work at first (the above code could be built with no errors, and appeared to run).
So I thought maybe I had it, and added the next line, so:
int XEM_Connect ( okFrontPanel_HANDLE XEM_Device )
int NoDevices = 0; // Number of devices attached to the PC
// Load the DLL (?)
// Load the FrontPanel DLL
if (FALSE == okFrontPanelDLL_LoadLib(NULL))
printf("Could not load FrontPanel DLL\n");
exit(-1);
// Find out how many devices are attached
XEM_Device = okFrontPanel_Construct( );
OpenBySerial( XEM_Device, "UaLgzvVpBJ" );
// XEM_Device = okCFrontPanel( void );
// NoDevices = GetDeviceCount( );
printf("%d OK devices attached\n", NoDevices);
// Call the contructor?
// okCFrontPanel ();
return XEM_SUCCESS;
Now it doesn't complain about no prototypes (duh), but instead I get linker errors:
Undefined symbol '_OpenBySerial@0' referenced in "XEM.c".
So, dredging through the .h and .c files, I found a couple of things:
in the okFrontPanel.c file I found the following:
okDLLEXPORT ok_ErrorCode DLL_ENTRY
okFrontPanel_OpenBySerial(okFrontPanel_HANDLE hnd, const char *serial)
if (_okFrontPanel_OpenBySerial)
; return((*_okFrontPanel_OpenBySerial)(hnd, serial));
return(ok_UnsupportedFeature);
In the okFrontPanel.h file I found:
and also:
okDLLEXPORT ok_ErrorCode DLL_ENTRY okFrontPanel_OpenBySerial(okFrontPanel_HANDLE hnd, const char *serial);
So, I see them in the .h & .c files, but the linker is bombing out.
I smell a problem with actual code to link being in the DLL... How do I resolve this, any ideas? Or am I doing something so stupidly (and obviously) wrong that I'm being blinded to it?Hi tomii,
My suspicion is that these issues are due to using a C++ dll in a C environment. There are inherent challenges with performing such an operation as you have to make sure all your parameters and settings are correct.
I also could not find the documentation that the Opal Kelly dll is ANSI C but it sounds like you can use this in C with some reconfiguration. I would recommend using their forums to get more information on what steps need to take place to get things working in ANSI C.
From the information you provided, I did find some resources on the missing prototype error and undefined symbol issue with the linker.
For the missing prototype I found a thread of someone actually using LabWindows and seeing this compiler error you may want to look at
http://bytes.com/topic/c/answers/695019-missing-prototype
I found a few cases where using a function definition of int func(void) removes such issue when int func() does not.
Another link I found that may be worth a look can be found at http://www.parashift.com/c++-faq-lite/mixing-c-and-cpp.html
It gives some good pointers to mixing C and C++ code. Some of it may be applicible in your case.
And, a resource for your undefined symbol linking issue.
http://www.cprogramming.com/tutorial/compiler_linker_errors.html
Hopefully these resources will give some context for getting things compiling and working with your dll.
Good luck!
James W.
Applications Engineer
National Instruments -
Help !! a link error
when I link my application to an lib. the following link error occurs:
Undefined first referenced
symbol in file
__RTTI__1CpknKDT_TSymbol4nJRWCString___ /am/lib/sun4.solaris2.9/libDV.so
How can I get the information about the symbols in a lib?
I'm not sure where the symbol __RTTI__1CpknKDT_TSymbol4nJRWCString is defined?I see that this forum software deleted the stuff in angle brackets in my original answer. The missing RTTI symbol refers to const DT_TSymbol< RWCString >* That is, a pointer to template class DT_TSymbol instantiated on type RWCString.
The missing symbol is a data object generated by the compiler. Since the data object is referenced in each shared library, it should be contained in each shared library.
The RTTI data is missing, and there are at least two reasons why that might be so.
1. The library was not built correctly; a necessary object file was omitted. That missing object file would have contained the RTTI data.
2. The library was built with a compiler that neglected to emit the RTTI object (a compiler bug).
Determining which is the case is beyond the scope of what we can do in this forum.
A place to start is to have whoever built those libraries add the option "-z defs" to the CC command line that was used to create each shared library. They will see linker error messages about all the needed symbols that are missing. That's a starting point for tracking down why they are missing.
In general, shared libraries should be built with "-z defs" so that the creator of the library finds out about missing symbols instead of inflicting the pain on clients of the library. -
Visa, BorladC++ Builder3.1, linking errors
I have linking error, then building my program written in BorlandC++ Builder3.1
(program has no compiling errors)
I need to use header in my program.
It was installed in C:\VXIpnp\Win95\include directory.
I have 2 linking errors:
Undefined symbol _viClose in module
Undefined symbol _viOpen in module
I copied all VISA (driver from National Insruments (www.ni.com), i use it to communicate with serial port RS232)
so I copied all VISA files from C:\VXIpnp\Win95 to C:\BorlandC dirctory ("include" ant "lib" folders respectively)
errors persist.
In BorlandC++ Options>>Directories i wrote paths to library and to include in C:\VXIpnp\Win95.
errors persist.
I also tried with following
3 programs:
1) BorlandC++ Builder 6 (evaluation version)
2) Icc – win32 (free) and
3) SoftIntegration Ch 4.5 standart (free)
They all throwed the same error messages:
Undefined symbol _viClose in module
Undefined symbol _viOpen in module
ViClose and viOpen are defined in hereby:
72) ViStatus _VI_FUNC viOpenDefaultRM (ViPsession vi);
83) ViStatus _VI_FUNC ViClose (ViObject vi);
I opened visatype.h to fined out how ViStatus....are defined and made table:
Are _VI_FUNC and VIPSession defined correctly?
(Because there is no such variable as ViPtr and VISAFN in BorlandC.)
If they are not how must i define them?
I attached visa.h and visatype.h and table for convenience.
Thanks in advise
Gintare
Attachments:
table.doc 34 KB
visatype.h 6 KB
visa.h 34 KBAre you linking against C:\VXIpnp\Win95\lib\bc\visa32.lib? If not, do so and that should solve your problems.
If you are trying to link with that library, and it's not working, perhaps you'll need to create your own import library based on visa32.dll. We haven't changed the Borland import library in awhile, and I don't know if it's still compatible with the latest versions of the Borland products.
Dan Mondrik
National Instruments -
SunStudio 11 cannot link libtiff in Solaris 10 (undefined symbol)
Hello
we are producing a software using multiple external libraries, among them Sam Leffler's TIFF library version 3.6.1
This software compiles and runs well on Solaris 9 / SunStudio 11
But in Solaris 10 / SunStudio we get an 'undefined symbol' error even if the symbol exists!!
I have patched the OS and SunStudio to the latest level required but it's no help
the linker error message is:
CC -compat=4 -I../AGR -I../STA -I../SVI -I../KRN -I../COMMON_APAS -I../CXML -I../SCS -I. -I../INCLUDE -I../AFC -I../ITI -I../IEM -I../MMF -I../MMI -I../ICS -I../EIV -I../TSF -I../TTM -I../TIM -I../MIR -I../INA -I../INX -I../DEC -I../MAR -I../IXA -I../MXR -I../ICO -I../JPEG -I../LTIFF -I../OVS -I../UTIL -I../TRE -I../IRE -I../INR -I../IST -I../IXR -I/opt/SUNWspro/prod/include/CC -I/usr/include -g0 -libmil -xtarget=native -mt -xildoff -keeptmp -verbose=%all -L/usr/lib -L/usr/local/lib -LFPCSolaris10 -L../lib/FPCSolaris10 -L/opt/SUNWspro/prod/lib/rw7/CC4 -L/opt/SUNWspro/lib -L/usr/X11R6/lib -o FPCSolaris10/MainItls_ils FPCSolaris10/MainItls_ils.o FPCSolaris10/MAIN_Module_ils.o -lICS -lEIV -lMIR -lINA -lDEC -lMAR -lICO -lMXR -lIXA -lOVS -lUtil -ltiff -lSVIils -lSTAils -lKRN -lSCS -lITIils -lIEMils -lAGR -lMMF -lAFC -lMMI -lCXML -lcommon_apas -Bstatic -lrwtool -Bdynamic -lnsl -lposix4 -lsocket -lxnet -ldl -lgen -lcurses -lXm -lXt -lX11 -lxml2
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.489
ld: warning: symbol `clog' has differing types:
(file /opt/SUNWspro/lib/CC4/libC.so type=OBJT; file /usr/lib/libm.so type=FUNC);
/opt/SUNWspro/lib/CC4/libC.so definition taken
Undefined first referenced
symbol in file
TIFFOpenMem ../lib/FPCSolaris10/libIXA.a(IXA_ImageManager.o)
ld: fatal: Symbol referencing errors. No output written to FPCSolaris10/MainItls_ils
gmake[1]: *** [FPCSolaris10/MainItls_ils] Error 1
But if I analyse the libraries used the missing symbol is actually there:
nm -g ../lib/FPCSolaris10/libtiff.a
../lib/FPCSolaris10/libtiff.a[tif_msrc.o]:
[Index] Value Size Type Bind Other Shndx Name
[26] | 0| 0|FUNC |GLOB |0 |UNDEF |TIFFClientOpen
[22] | 0| 0|FUNC |GLOB |0 |UNDEF |TIFFError
[24] | 416| 161|FUNC |GLOB |0 |2 |TIFFOpenMem
[23] | 0| 0|FUNC |GLOB |0 |UNDEF |free
[25] | 0| 0|FUNC |GLOB |0 |UNDEF |malloc
[21] | 0| 0|FUNC |GLOB |0 |UNDEF |memcpy
Does anybody have an idea of what's wrong ?
Thank you for your help!The libraries are probably being linked in the wrong order.
Libraries are processed in the order seen on the link command. When the linker sees an archive library (.a), it pulls in any .o files from it that can satisfy existing undefined references. Suppose libA needs f1 from library libtiff, but -lA appears on the command line after -ltiff. The reference will not be resolved.
Move the -ltiff option to a spot later on the command line, after all libraries that use libtiff, but before any libraries that libtiff uses. If libraries have circular references (A uses B which uses A), leave -ltiff where it is, but add another one later on the command line. The library will be searched twice.
Another option is to build libtiff as a shared library (.so). The position on the link command line of a shared library is less sensitive, and references to it from later files can still be resolved. You don't list a shared library twice.
An unrelated question: Why are you using the -compat=4 option? That option is provided to allow linking code that was compiled by C++ 4.2 (shipped in 1996), or compiling code that predates the 1998 C++ Standard.
You usually cannot mix -compat=4 binaries with standard-mode binaries, you can't use the C++ standard library in -compat=4 mode, and code using C++ features introduced after the ARM (1991) won't compile in -compat=4 mode. Unless you are stuck with 10-year-old binaries built with C++ 4.2, it is best to recompile all your code in default standard mode (without -compat=4).
The C++ Migration Guide explains all the issues involved in converting code from old-style to standard C++.
[http://docs.sun.com/app/docs/doc/819-3689|http://docs.sun.com/app/docs/doc/819-3689] -
C++ linking error Undefined symbols AIX 5.3 xlC bdb 4.7
I am getting the following linking error while linking the MyCb example given in Berkley DB guide
xlC -bnoquiet -o /ra2/frt_bld/TMPBIN/BDBtest \
/ra2/frt_bld/TMPOBJ/DBAbs.o \
/ra2/frt_bld/TMPOBJ/MyDb.o \
/ra2/frt_bld/TMPOBJ/PPNum.o \
/ra2/frt_bld/TMPOBJ/PPNumStore.o \
/ra2/frt_bld/TMPOBJ/PPNumStoreDB.o \
/ra2/frt_bld/TMPOBJ/UTDbtest.o \
/ra2/frt_bld/TMPOBJ/UTPPNUm.o \
-lC_r ../../../ACE_wrappers/ace/libACE.so -ldb_cxx -L../../../db-4.7.25/build_unix -L/usr/local/ssl -L/../../../ACE_wrappers/ace -lcrypto -lpthread -lz -lm -o /ra2/frt_bld/TMPBIN/BDBtest
ld: 0711-318 ERROR: Undefined symbols were found.
The following symbols are in error:
Symbol Inpndx TY CL Source-File(Object-File) OR Import-File{Shared-object}
RLD: Address Section Rld-type Referencing Symbol
.Db::set_error_stream(std::basic_ostream<char,std::char_traits<char> >*) [1010] ER PR MyDb.cpp(/ra2/frt_bld/TMPOBJ/MyDb.o)
00003b50 .text R_RBR [148] .MyDb::MyDb(std::basic_string<char,std::char_traits<char>,std::allocator<char> >&,std::basic_string<char,std::char_traits<char>,std::allocator<char> >&)
.Db::open(DbTxn*,const char*,const char*,DBTYPE,unsigned int,int) [1012] ER PR MyDb.cpp(/ra2/frt_bld/TMPOBJ/MyDb.o)
00003b84 .text R_RBR [148] .MyDb::MyDb(std::basic_string<char,std::char_traits<char>,std::allocator<char> >&,std::basic_string<char,std::char_traits<char>,std::allocator<char> >&)
ER: The return code is 8.
ld: 0711-317 ERROR: Undefined symbol: .Db::open(DbTxn*,const char*,const char*,DBTYPE,unsigned int,int)
// File: MyDb.cpp
#include "MyDb.h"
#include <string>
#include <iostream>
// Class constructor. Requires a path to the location
// where the database is located, and a database name
MyDb::MyDb(std::string &path, std::string &dbName)
: db_(NULL, 0), // Instantiate Db object
dbFileName_(path + dbName), // Database file name
cFlags_(DB_CREATE) // If the database doesn't yet exist,
// allow it to be created.
try
// Redirect debugging information to std::cerr
db_.set_error_stream( static_cast<std::ostream *>(&std::cerr) );
// Open the database
db_.open(NULL, dbFileName_.c_str(), NULL, DB_BTREE, cFlags_, 0);
// DbException is not a subclass of std::exception, so we
// need to catch them both.
catch(DbException &e)
std::cerr << "Error opening database: " << dbFileName_ << "\n";
std::cerr << e.what() << std::endl;
catch(std::exception &e)
std::cerr << "Error opening database: " << dbFileName_ << "\n";
std::cerr << e.what() << std::endl;
//And then we need the implementation for the close() method:
// Private member used to close a database. Called from the class
// destructor.
void
MyDb::close()
// Close the db
try
db_.close(0);
std::cout << "Database " << dbFileName_
<< " is closed." << std::endl;
catch(DbException &e)
std::cerr << "Error closing database: " << dbFileName_ << "\n";
std::cerr << e.what() << std::endl;
catch(std::exception &e)
std::cerr << "Error closing database: " << dbFileName_ << "\n";
std::cerr << e.what() << std::endl;
Thanks
Anand Rathi
Edited by: user10127683 on Jun 10, 2009 9:02 AMHi Anand,
http://www.oracle.com/technology/documentation/berkeley-db/db/ref/build_unix/aix.html <-- check FAQ #4.
Please use a "-D_LARGE_FILES=1" when building BDB on AIX.
Let me know how it works.
Thanks,
Bogdan Coman -
Linking Error : Undefined Symbols: SUN Studio 5
Hi ,
I am facing some Linking error which throws up Undefined Symbol errors like .
[Undefined first referenced
symbol in file
__rwstd::__rb_tree<DevNexus,DevNexus,__rwstd::__ident<DevNexus,DevNexus>,std::less<DevNexus>,std::allocator<DevNexus> >::iterator __rwstd::__rb_tree<DevNexus,DevNexus,__rwstd::__ident<DevNexus,DevNexus>,std::less<DevNexus>,std::allocator<DevNexus> >::erase(__rwstd::__rb_tree<DevNexus,DevNexus,__rwstd::__ident<DevNexus,DevNexus>,std::less<DevNexus>,std::allocator<DevNexus> >::iterator,__rwstd::__rb_tree<DevNexus,DevNexus,__rwstd::__ident<DevNexus,DevNexus>,std::less<DevNexus>,std::allocator<DevNexus> >::iterator) PacketServer.o
__type_0 std::find<std::deque<AdapterPort,std::allocator<AdapterPort> >::iterator,AdapterPort>(__type_0,__type_0,const __type_1&) PacketServer.o
void std::vector<Controller,std::allocator<Controller> >::__insert_aux(Controller*,const Controller&) Subsystem.o
void std::deque<AdapterDisc,std::allocator<AdapterDisc> >::__allocate_at_end() PacketServer.o
__rwstd::__rb_tree<unsigned long,std::pair<const unsigned long,char*>,__rwstd::__select1st<std::pair<const unsigned long,char*>,unsigned long>,std::less<unsigned long>,std::allocator<std::pair<const unsigned long,char*> > >::iterator __rwstd::__rb_tree<unsigned long,std::pair<const unsigned long,char*>,__rwstd::__select1st<std::pair<const unsigned long,char*>,unsigned long>,std::less<unsigned long>,std::allocator<std::pair<const unsigned long,char*> > >::erase(__rwstd::__rb_tree<unsigned long,std::pair<const unsigned long,char*>,__rwstd::__select1st<std::pair<const unsigned long,char*>,unsigned long>,std::less<unsigned long>,std::allocator<std::pair<const unsigned long,char*> > >::iterator,__rwstd::__rb_tree<unsigned long,std::pair<const unsigned long,char*>,__rwstd::__select1st<std::pair<const unsigned long,char*>,unsigned long>,std::less<unsigned long>,std::allocator<std::pair<const unsigned long,char*> > >::iterator) DeviceProp.o
std::deque<AdapterPort,std::allocator<AdapterPort> >::~deque() PacketServer.o
__type_0 std::find<std::deque<AdapterDisc,std::allocator<AdapterDisc> >::iterator,char*>(__type_0,__type_0,const __type_1&) PacketServer.o
unsigned std::deque<AdapterPort,std::allocator<AdapterPort> >::__buffer_size() PacketServer.o
unsigned std::deque<AdapterDisc,std::allocator<AdapterDisc> >::__buffer_size() PacketServer.o
void __rwstd::__rb_tree<DevNexus,DevNexus,__rwstd::__ident<DevNexus,DevNexus>,std::less<DevNexus>,std::allocator<DevNexus> >::__deallocate_buffers() PacketServer.o
std::deque<AdapterDisc,std::allocator<AdapterDisc> >::~deque() PacketServer.o
ld: fatal: Symbol referencing errors. No output written to spagent
*** Error code 1
make: Fatal error: Command failed for target `spagent'
Current working directory /home/kiranc/solaris_hang1/4.0/agent
*** Error code 1
make: Fatal error: Command failed for target `recurse'
Current working directory /home/kiranc/solaris_hang1/4.0/agent
*** Error code 1
make: Fatal error: Command failed for target `all'
I am using Sun Studio 5. Pls let me know how to resolve/fix this. Unfortunately I cant upgrade the Sun Studio.
Thanks in Advance
KiranHi Kiran ,
if you cannot upgrade Sun Studio, I suggest that you take a view on this solution:
http://forum.java.sun.com/thread.jspa?forumID=850&threadID=5069680
It only works to std::vector::__insert_aux method, but I think you could get some useful idea from it.
Good luck.
Bye. -
Linking Error : Undefined Symbols
Hi evryone,
I am facing some Linking error which throws up Undefined Symbol errors like .
Undefined first referenced
symbol in file
vector<DPEEDFU>::insert_aux(DPEEDFU*, const DPEEDFU&) ./obj/dpeesel.o
I am migrating the code to Sun 5.2 & using -compat=4 for compilation.
On some analysis using nm , I found that the symbols which are flagged as UNDEFINED are in fact getting defined in the temporary objects created in the SunWS_cache directory.
Any suggestion on how to resolve this.
urgent help needed.
Thanks & Regards
shivaHi,
I am running into same(similar) issue. I am using Forte 6 update2. I have created the links manually. I am looking to do dynamic linking of the libCstd. Now,
here's a snippet of the error I see :
/import/sunray/tools/WS6u2/SUNWspro/bin/CC -o SunOS.sparc/uttsc SunOS.sparc/main.o SunOS.sparc/platforminfo.o -L../../lib/tscutil/SunOS.sparc -L../../lib/addins/rdpdr/fs/SunOS.sparc -L../../lib/addins/rdpdr/scard/SunOS.sparc -L../../lib/addins/rdpdr/print/SunOS.sparc -L../../lib/addins/rdpdr/serial/SunOS.sparc -L../../lib/addins/rdpdr/SunOS.sparc -L../../lib/enum/SunOS.sparc -L../../lib/addins/cliprdr/SunOS.sparc -L../../lib/audio/SunOS.sparc -L../../lib/aipa/SunOS.sparc -L../../lib/addins/rdpsnd/SunOS.sparc -L../../lib/util/SunOS.sparc -L../../lib/vxrdp/SunOS.sparc -L../../lib/vx/SunOS.sparc -L../../lib/rdp/SunOS.sparc -L../../lib/mcs/SunOS.sparc -L../../lib/isot/SunOS.sparc -L../../lib/common/SunOS.sparc -L../../lib/X11/SunOS.sparc -L../../lib/platform/SunOS.sparc -L../../lib/device/serial/posix/SunOS.sparc -L../../lib/device/fs/posix/SunOS.sparc
-L../../lib/device/print/lpr/SunOS.sparc -L../../lib/device/SunOS.sparc -L/usr/X11R6/lib -L/usr/openwin/lib -ltscutil --lcommon -lXext -lX11 -lplatform -lCstd -lcrypto
Undefined first referenced
symbol in file
void std::list<addins::rdpdr::IDeviceService*,std::allocator<addins::rdpdr::IDeviceService*> >::__deallocate_buffers() ../../lib/addins/rdpdr/SunOS.sparc/librdpdr.a(devicemanager.o)
bind ../../lib/platform/SunOS.sparc/libplatform.a(socket.o) (symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
std::pair<__rwstd::__rb_tree<unsigned,std::pair<const unsigned,device::serial::Device*>,__rwstd::__select1st<std::pair<const unsigned,device::serial::Device*>,unsigned>,std::less<unsigned>,std::allocator<std::pair<const unsigned,device::serial::Device*> > >::iterator,bool>__rwstd::__rb_tree<unsigned,std::pair<const unsigned,device::serial::Device*>,__rwstd::__select1st<std::pair<const unsigned,device::serial::Device*>,unsigned>,std::less<unsigned>,std::allocator<std::pair<const unsigned,device::serial::Device*> > >::insert(const std::pair<const unsigned,device::serial::Device*>&) ../../lib/addins/rdpdr/serial/SunOS.sparc/librdpdrserial.a(source.o)
void __rwstd::__rb_tree<unsigned,std::pair<const unsigned,device::fs::Device*>,__rwstd::__select1st<std::pair<const unsigned,device::fs::Device*>,unsigned>,std::less<unsigned>,std::allocator<std::pair<const unsigned,device::fs::Device*> > >::__deallocate_buffers() ../../lib/addins/rdpdr/fs/SunOS.sparc/librdpdrfs.a(rdpdrfssource.o)
__type_1 std::copy<std::deque<Buffer,std::allocator<Buffer> >::const_iterator,std::back_insert_iterator<std::deque<Buffer,std::allocator<Buffer> > > >(__type_0,__type_0,__type_1) ../../lib/audio/SunOS.sparc/libaudio.a(audiodevsink.o)
std::list<enumeration::DeviceInfo*,std::allocator<enumeration::DeviceInfo*> >::iterator std::list<enumeration::DeviceInfo*,std::allocator<enumeration::DeviceInfo*> >::erase(std::list<enumeration::DeviceInfo*,std::allocator<enumeration::DeviceInfo*> >::iterator,std::list<enumeration::DeviceInfo*,std::allocator<enumeration::DeviceInfo*> >::iterator) ../../lib/enum/SunOS.sparc/libenum.a(pnpmodule.o)
...<many more>...
How did you resolve your issue ?
Thanks
Sangeeta -
Link Error with Sample on Solaris
I am getting linking error when compiling the sample for XML C++ Parser, help anyone ?
make SAXSample
gcc -o SAXSample -I../include SAXSample.cpp -L../lib -lxml8 -lxmlc8 -lcore8 -lnls8 -lcore8 -lnls8 -lcore8 -lnsl -lsocket
Undefined first referenced
symbol in file
cout /var/tmp/cczSDNUP.o
XMLParser::xmlterm(void) /var/tmp/cczSDNUP.o
XMLParser::xmlinit(unsigned char *, void (*)(void *, unsigned char const *, unsigned int), void *, xmlsaxcb *, void *, unsigned char *)/var/tmp/cczSDNUP.o
ostream::operator<<(char const *) /var/tmp/cczSDNUP.o
ostream::operator<<(unsigned int) /var/tmp/cczSDNUP.o
XMLParser::xmlparse(unsigned char *, unsigned char *, unsigned int)/var/tmp/cczSDNUP.o
ostream::write(unsigned char const *, int)/var/tmp/cczSDNUP.o
ostream::flush(void) /var/tmp/cczSDNUP.o
ld: fatal: Symbol referencing errors. No output written to SAXSample
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `SAXSample'
nullI am getting this problem as well. I see it was also reported by 2 other people earler. Has anyone resolved this yet? I also have these unresolved external problems when using the C V1 XML parser. It is almost as if the libs downloaded are for a different version of Solaris and not recognized by the newly compiled objects. I have tried a number of things to resolve this without success.
Any help would be greatly appreciated.
Thanks
Julie Bartlett
null -
Linking Error :: Solaris 8 machine with 3rd party libraries
Hi,
I am working on a Solaris8 migration project.
I need an explanation for a problem I have compiling a rather old program I am working with at work. I tried compiling it,
however I get a bunch of errors of the same type:
Undefined symbol first referenced in file
unsafe_ostream::do_opfx(void) /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
operator new(unsigned int) /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.
so
endl(ostream&) /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
ws(istream&) /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
exthrow /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
RWCString RWLocaleSnapshot::asString(double,int,bool)const ./objs/CalcFinancial.o
FDRMSCash::FDRMSCash(const RWDBDatabase&,const RWCString&) ./objs/CalcFinancial.o
RWDBMemTable::~RWDBMemTable() ./objs/CalcFinancial.o
exalloc /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
ostream::operator <<(double) /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
ostream::operator <<(long) /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
istream::operator >>(double&) /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
istream::operator >>(int&) /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
istream::operator >>(long&) /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
istream::operator >>(char*) /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
Iostream_init::Iostream_init(void) /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
FDRMSvsCash::FDRMSvsCash(const RWDBDatabase&,const RWCString&) ./objs/CalcFinancial.o
RWDBValue&RWDBRow::operator[](unsigned)const ./objs/CalcFinancial.o
RWDBRow&RWDBMemTable::operator[](unsigned) ./objs/CalcFinancial.o
RWDecimalPortableInit::RWDecimalPortableInit() ./objs/CalcFinancial.o
ld: fatal: Symbol referencing errors. No output written to CalcFinancial
*** Error code 1
make: Fatal error: Command failed for target `CalcFinancial'
I can understand that it has to do with linking problems...Compiling is ok..
I am working on Solaris 8 machine with additional 3rd party libraries like rogue wave etc..
I have added the library path to the makefile with the -L option & also given the library name with -l option.
Any help would be appreciated...
regards
DebkumarI am using FORTE 6 compiler on Solaris 8, & Rogue Wave Source Pro.
The LINK command is
$(ALTCC) -mt -library=rwtools7,iostream -staticlib=rwtools7,iostream -lCcFi -lCcDt /xenv/RK
Curves/sun4/5.x/1.0_A0_beta/lib/librk.a -L/software/development/fdrms/ab83445/src/lib/sun4-5 -lFDRMS
Calc -L/software/development/fdrms/ab83445/src/lib/sun4-5.5.1 -lFDRMSCalc -ptr$(OBJDIR) -o $@ $(OBJECTS:%=$(OBJDIR)/%)
The librk.so linking errors can be eliminated if i force it to link the static libraries by including the complete paths to it...
The errors with CalcFinancial still persists..
RWCString RWLocaleSnapshot::asString(double,int,bool)const ./objs/CalcFinancial.o
FDRMSCash::FDRMSCash(const RWDBDatabase&,const RWCString&) ./objs/CalcFinancial.o
RWDBMemTable::~RWDBMemTable() ./objs/CalcFinancial.o
FDRMSvsCash::FDRMSvsCash(const RWDBDatabase&,const RWCString&) ./objs/CalcFinancial.o
RWDBValue&RWDBRow:perator[](unsigned)const ./objs/CalcFinancial.o
RWDBRow&RWDBMemTable:perator[](unsigned) ./objs/CalcFinancial.o
RWDecimalPortableInit::RWDecimalPortableInit() ./objs/CalcFinancial.o
bool RWLocaleSnapshot::stringToNum(const RWCString&,unsigned long*)const ./objs/CalcFinancial.o
bool RWLocaleSnapshot::stringToNum(const RWCString&,long*)const ./objs/CalcFinancial.o
FDRMSDebugger::FDRMSDebugger() ./objs/CalcFinancial.o
bool RWLocaleSnapshot::stringToTime(const RWCString&,std::tm*)const ./objs/CalcFinancial.o
void DestroyCurves() ./objs/CalcFinancial.o
FDRMSvsNonCash::FDRMSvsNonCash(const RWDBDatabase&,const RWCString&) ./objs/CalcFinancial.o
RWDBDatabase::~RWDBDatabase() ./objs/CalcFinancial.o
RWDBDatabase RWDBManager::database(const RWCString&,const RWCString&,const RWCString&,const RWCStrin
g&,const RWCString&) ./objs/CalcFinancial.o
RWDate getValueDate(const RWDBDatabase&) ./objs/CalcFinancial.o
FDRMSDebugger::~FDRMSDebugger() ./objs/CalcFinancial.o
unsigned RWDBTable::index(const RWCString&)const ./objs/CalcFinancial.o
RWCString RWDBValue::asString()const ./objs/CalcFinancial.o
void closeDatabase(RWDBDatabase&) ./objs/CalcFinancial.o
unsigned RWDBMemTable::entries()const ./objs/CalcFinancial.o
bool RWLocaleSnapshot::stringToDate(const RWCString&,std::tm*)const ./objs/CalcFinancial.o
FDRMSFinancial::FinancialType FDRMSFinancial::convertStringToFinancialType(const RWCString) ./objs/C
alcFinancial.o
void CreateCurves() ./objs/CalcFinancial.o
RWCString arg(RWCString,int,char**) ./objs/CalcFinancial.o
RWDBMemTable*getRefsByFinclSrcAndBatchStp(const RWDBDatabase&,const RWCString&,const RWCString&,cons
t RWCString&,const int,const int) ./objs/CalcFinancial.o
bool RWLocaleSnapshot::stringToMoney(const RWCString&,double*,RWLocale::CurrSymbol)const ./objs/Calc
Financial.o
bool FDRMSDebugger::start(const RWCString&) ./objs/CalcFinancial.o
bool RWLocaleSnapshot::stringToNum(const RWCString&,double*)const ./objs/CalcFinancial.o
bool RWDBDatabase::isValid()const ./objs/CalcFinancial.o
ld: fatal: Symbol referencing errors. No output written to CalcFinancial
*** Error code 1
make: Fatal error: Command failed for target `CalcFinancial'
Any help...
Thanks in advance.
Deb -
Symbolic link error when exporting during heterogeneous system copy
My enviroment is ECC6.0/Oracle 10.2.0.2/SUN Solaris 10 . I'm performing heterogeneous system copy to Oracle 10.2.0.2/AIX 6.1 enviroment.
I've succesfully exported & imported two systems ie DEV & Solutin Manager , but PRD system has an OS problem with symbolic links ie Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS
I want to export both ABAP & JAVA stack but only the java stack is getting picked.
Below is part of the resultng sapinst.log
Thanks
INFO 2011-09-05 10:44:30.573
Execute step verifyJavaHome of component |NW_Export|ind|ind|ind|ind|0|0|NW_getJavaHome|ind|ind|ind|ind|2|0
INFO[E] 2011-09-05 10:44:33.851
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/._), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:44:33.851
FSL-02061 Link /._ is invalid: Unable to link a link to itself.
INFO 2011-09-05 10:44:46.118
Execution of the command "/usr/j2sdk1.4.2_09/bin/java -classpath /tmp/sapinst_exe.29247.1315208256/JAR/ins-j2ee.jar com.sap.ins.j2ee.GetSystemProperty" finished with return code 0. Output: #
#Mon Sep 05 10:44:45 EAT 2011
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
sun.boot.library.path=/usr/j2sdk1.4.2_09/jre/lib/sparc
java.vm.version=1.4.2_09-b05
java.vm.vendor=Sun Microsystems Inc.
java.vendor.url=http\://java.sun.com/
path.separator=\:
java.vm.name=Java HotSpot(TM) Client VM
file.encoding.pkg=sun.io
user.country=US
sun.os.patch.level=unknown
java.vm.specification.name=Java Virtual Machine Specification
user.dir=/oracle/PRD/INSTDIR/sapinst_dir
java.runtime.version=1.4.2_09-b05
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.endorsed.dirs=/usr/j2sdk1.4.2_09/jre/lib/endorsed
os.arch=sparc
java.io.tmpdir=/var/tmp/
line.separator=\n
java.vm.specification.vendor=Sun Microsystems Inc.
os.name=SunOS
sun.java2d.fontpath=
java.library.path=/usr/j2sdk1.4.2_09/jre/lib/sparc/client\:/usr/j2sdk1.4.2_09/jre/lib/sparc\:/usr/j2sdk1.4.2_09/jre/../lib/sparc\:/tmp/sapinst_exe.29247.1315208256\:/usr/openwin/lib\:/usr/lib
java.specification.name=Java Platform API Specification
java.class.version=48.0
java.util.prefs.PreferencesFactory=java.util.prefs.FileSystemPreferencesFactory
os.version=5.10
user.home=/
user.timezone=Africa/Nairobi
java.awt.printerjob=sun.print.PSPrinterJob
file.encoding=ISO8859-1
java.specification.version=1.4
java.class.path=/tmp/sapinst_exe.29247.1315208256/JAR/ins-j2ee.jar
user.name=root
java.vm.specification.version=1.0
java.home=/usr/j2sdk1.4.2_09/jre
sun.arch.data.model=32
user.language=en
java.specification.vendor=Sun Microsystems Inc.
java.vm.info=mixed mode
java.version=1.4.2_09
java.ext.dirs=/usr/j2sdk1.4.2_09/jre/lib/ext
sun.boot.class.path=/usr/j2sdk1.4.2_09/jre/lib/rt.jar\:/usr/j2sdk1.4.2_09/jre/lib/i18n.jar\:/usr/j2sdk1.4.2_09/jre/lib/sunrsasign.jar\:/usr/j2sdk1.4.2_09/jre/lib/jsse.jar\:/usr/j2sdk1.4.2_09/jre/lib/jce.jar\:/usr/j2sdk1.4.2_09/jre/lib/charsets.jar\:/usr/j2sdk1.4.2_09/jre/classes
java.vendor=Sun Microsystems Inc.
file.separator=/
java.vendor.url.bug=http\://java.sun.com/cgi-bin/bugreport.cgi
sun.io.unicode.encoding=UnicodeBig
sun.cpu.endian=big
sun.cpu.isalist=sparcv9vis2 sparcv9vis sparcv9 sparcv8plusvis2 sparcv8plusvis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc
INFO 2011-09-05 10:44:47.076
Execution of the command "/usr/j2sdk1.4.2_09/bin/java -classpath /tmp/sapinst_exe.29247.1315208256/JAR/ins-j2ee.jar:/tmp/sapinst_exe.29247.1315208256/JAR/sapxmltoolkit.jar -d64 com.sap.ins.j2ee.TestClassLoader" finished with return code 0. Output: CORRECT
INFO 2011-09-05 10:44:47.572
Execute step verifyPolicy of component |NW_Export|ind|ind|ind|ind|0|0|NW_getJavaHome|ind|ind|ind|ind|2|0
INFO 2011-09-05 10:44:47.715
Execute step setNWOption of component |NW_Export|ind|ind|ind|ind|0|0|NW_getJavaHome|ind|ind|ind|ind|2|0
WARNING 2011-09-05 10:44:47.944
Could not determine a valid JAVA_HOME directory from the environment.
INFO 2011-09-05 10:44:48.86
Execute step assignUsersToSapinstGroup of component |NW_Export|ind|ind|ind|ind|0|0
INFO 2011-09-05 10:44:48.890
Account sapinst already exists.
INFO 2011-09-05 10:44:48.894
Account prdadm already exists.
INFO 2011-09-05 10:44:48.917
Account oraprd already exists.
INFO 2011-09-05 10:44:49.73
Execute step useDatabaseMethod of component |NW_Export|ind|ind|ind|ind|0|0
INFO 2011-09-05 10:44:49.217
Execute step setDatabaseMethodOra of component |NW_Export|ind|ind|ind|ind|0|0
INFO 2011-09-05 10:44:49.341
Execute step setDatabaseMethodDB6 of component |NW_Export|ind|ind|ind|ind|0|0
INFO 2011-09-05 10:44:49.480
Execute step mainExportParameters of component |NW_Export|ind|ind|ind|ind|0|0
INFO[E] 2011-09-05 10:44:52.251
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/._), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:44:52.252
FSL-02061 Link /._ is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.760
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/cntrl), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.761
FSL-02061 Link /oracle/PRD/cntrl is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.762
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/._), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.762
FSL-02061 Link /oracle/PRD/._ is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.763
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/sdubhibq), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.764
FSL-02061 Link /oracle/PRD/sdubhibq is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.765
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/sduccayx), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.765
FSL-02061 Link /oracle/PRD/sduccayx is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.766
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/inventory), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.767
FSL-02061 Link /oracle/PRD/inventory is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.768
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/OPatch), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.768
FSL-02061 Link /oracle/PRD/OPatch is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.769
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/assistants), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.770
FSL-02061 Link /oracle/PRD/assistants is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.771
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/bin), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.772
FSL-02061 Link /oracle/PRD/bin is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.773
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/clone), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.773
FSL-02061 Link /oracle/PRD/clone is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.774
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/crs), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.775
FSL-02061 Link /oracle/PRD/crs is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.776
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/css), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.777
FSL-02061 Link /oracle/PRD/css is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.778
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/ctx), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.778
FSL-02061 Link /oracle/PRD/ctx is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.779
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/dbs), line (346) in file (syuxclink.cpp).Hi,
In PRD system, u might have craeted many symbolic links in /oracle/PRD fileystem . This should be avoided. Symbolic link should not be created in /oracle/PRD ...
Please check why symbolic links are created and get help from System Operation team . Please becareful to unlink symbolic links that are created by non-SAP. Make sure to perform full offline backup .
Please get the help from Unix System Operation team. Also it does not makes any sense to increase value of Unix parameter for maximum symbolic links.
Regards
APR
Maybe you are looking for
-
CAN I APPLY TEXT TO A PROTECTED DOCUMENT IN WORKSPACE
I AM TRYING TO FILL OUT AN RFP THAT I DOWNLOADED FROM THE WEBSITE. IT IS PASSWORD PROTECTED, HOW CAN I APPLY MY TEXT TO THE DOCUMENT?
-
Notes cut off when printing, issue with margins
When I print a slide with notes, the notes complete cover the width of the page, flush left and right. My printer cuts the margins automatically (not a bleed), so those portions of the text in the notes gets cut off. Any way to control the margins, l
-
I was recently given a MacBook Air 11" for my birthday (lucky me!) and chose English as the system language. I chose the date and time settings to follow the European system (I live in France) i.e. date: 28/9/2010 and time: 20:40, but Mail displays t
-
In Prem. Elements 8, how can I zoom in on one face in a slide?
I am putting together a slide show in PE 8. I have a slide with multiple face and want to zoom in on one face. I don't want to zoom in on all the slides so I don't think I want to use presets. Is there a way to do it for one slide? I also have PSE
-
9.0 install problem with iTunes label on player
Since installing 9.0, the title bar of my itunes(the line above the current track window) no longer says iTunes. It says New Stories(Highway Blues).wma It is permanent, regardless what track i have playing. How did it switch to that and how can i cha