CC LInker Error UNIX Sun Solaris


 
Thread Tools Search this Thread
Top Forums Programming CC LInker Error UNIX Sun Solaris
# 1  
Old 03-18-2004
CC LInker Error UNIX Sun Solaris

Hi Together,

while compiling my program with CC I get the following Error message from the Linker:

Undefined first referenced
symbol in file

std::basic_string<char,std::char_traits<char>,std::allocator<char> >&std::basic_string<char,std::char_traits<char>,std::allocator<char> >::__sun_append(const std::basic_string<char,std::char_traits<char>,std::allocator<char> >&) /opt/RogueWave/XMLOL/lib/libtls7712d.so

std::basic_string<char,std::char_traits<char>,std::allocator<char> >&std::basic_string<char,std::char_traits<char>,std::allocator<char> >::__sun_append(const std::basic_string<char,std::char_traits<char>,std::allocator<char> >&) /opt/RogueWave/XMLOL/lib/libtls7712d.so

ld: fatal: Symbol referencing errors. No output written to po_main
*** Error code 1
make: Fatal error: Command failed for target `po_main'

I've already checked the LD_LIBRARY_PATH.

A hint would help me very much.

Thanks in Advance.

NIk


Smilie
# 2  
Old 03-18-2004
Hi,

I've tried to LInk with the flag but the following message came up:

ld: fatal: library -lstdc++: not found
ld: fatal: File processing errors. No output written to datenmodell_main+

I can't find the lstdc flag in the CC manual. But I tried it with -lC and got the same error with this library. Maybe a missing Path?

Thanks

Nik
# 3  
Old 03-23-2004
I linked the lib: /usr/lib/libCstd.so.1 and it worked, but when I run the exe the following error came up:

ld.so.1: po_main: fatal: libpo1212d.so: open failed: No such file or directory
Killed

libpo1212d.so is placed in the directory of po_main

Is there somebody who have an idea of solving the problem?


Thanks

nik
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Create Unix printer in sun Solaris

Guy's Can anyone explain how to Create Unix printer in Solaris what's the exact steps to create Unix direct printer ? (3 Replies)
Discussion started by: Mr.AIX
3 Replies

2. UNIX for Dummies Questions & Answers

what is the 1st step into unix sun solaris?

Dear all, recently, i thought about use UNIX.but i really ignore what to do? So KINDLY help: 1-suggest a good material to study (SCSAS) 2-any simulation/emulation to use? Thanks in advance (1 Reply)
Discussion started by: ahmedamer12
1 Replies

3. Homework & Coursework Questions

What are the different between UNIX and Sun Solaris OS?

What are the different between UNIX and Sun Solaris OS? could you discuss this in term of the following : memory management, processor, storage management, processing issue, coding issue. ps. thank you :) (0 Replies)
Discussion started by: [-BlackSheep-]
0 Replies

4. UNIX for Dummies Questions & Answers

UNIX, Linux and Sun Solaris Dummy

My name is Jimmy. My company support a client that using Sun Microsystems and Oracle. I'm totally zero knowledge about it. Only know installation a bit in Debian Linux and some commands. Do anyone here can help me at least some idea how to operate the Sun Microsystems. Please correct me if i'm... (14 Replies)
Discussion started by: jimmyysk
14 Replies

5. Solaris

Building cdrkit on Solaris 8 generates a linker problem

I'm trying to build cdrkit-1.1.9 but have the same problem with 1.1.6 as well. The reason I need cdrkit is that it has an extended Joilet that mkisofs doesn't have but if anyone has another program that can provide this that might be a work around I can use. The problem I'm having is when I... (1 Reply)
Discussion started by: dxk3355
1 Replies

6. Solaris

UNIX SUN Solaris Certification How To prepare

Dears This link explain UNIX SUN solaris certification Course Content and what you should have to to know Solaris Value Packages (1 Reply)
Discussion started by: dellroxy
1 Replies

7. Solaris

gcc & linker question (Solaris 10)

Hi, I'm confused about the GCC & Linking process could somebody please briefly explain? I have GCC 3.4.6 installed from SunFreeware. Reading the narrative alongside the package states "It was compiled to use the SUN assembler and loader usually in /usr/ccs/bin if the SUNW developer packages... (1 Reply)
Discussion started by: Celtic_Monkey
1 Replies

8. Linux

G++ Linker Error

Hi All, I m new to this group. I m facing one problem during my linking of CPP code at Linux env. after compliation i m getting error "undefined reference to ....." Please anyone help me to resolve this error. Regards, ASR make: Leaving directory /fwk' echo g++ -o server ... (1 Reply)
Discussion started by: ASRRAJ
1 Replies

9. Solaris

Sun solaris unix commands

hi friends, I am working in Sun solaris unix 10 with shell commands and all these works properly. Then i created a small function which includes these commands. Now the problem arises. When the commands are run by calling this fuction.it shows error. Why i am not able to run the unix... (1 Reply)
Discussion started by: gjithin
1 Replies
Login or Register to Ask a Question