Solaris has a lot of bugs, fstream wont write to file correctly!


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris has a lot of bugs, fstream wont write to file correctly!
# 1  
Old 12-03-2006
Error Solaris has a lot of bugs, fstream wont write to file correctly!

I've got a c++ program that works fine on Linux, compiles on Solaris fine with g++, but will not write to a fstream correctly in a class object.

And I've run into numerous other bugs in the disk management.

Jon
# 2  
Old 12-04-2006
I have not had any real problems with either, does it work if you use the Sun compilers?
# 3  
Old 12-04-2006
Didn't realize this was the complaint dept.
# 4  
Old 12-05-2006
Tools What is the command for sun c++ compiler?

Quote:
Originally Posted by reborg
I have not had any real problems with either, does it work if you use the Sun compilers?
I don't know of this sun c++ compiler, can you give me a example command line, and what bin directory is the sun compiler in?

Thanks,
Jon
# 5  
Old 12-05-2006
You will nedd to download and install the Sun developer studio. Is available from http://www.sun.com/downloads

In my opinion this is a problem with the gnu standard libraries on Solaris, or the code using non standard features rather than the OS.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

NFS write error on host xyz: Stale NFS file handle - Solaris 10

Oct 13 12:19:15 xyz nfs: NFS write error on host xyz: Stale NFS file handle. Oct 13 12:19:15 xyz nfs: (file handle: 68000000 1bc5492e 20000000 377c5e 1ce9395c 720a6203 40000000 bdfb0400) Oct 13 12:19:15 xyz nfs: NFS write error on host zyz: Stale NFS file handle. Oct 13 12:19:15 xyz nfs: ... (5 Replies)
Discussion started by: psychocandy
5 Replies

2. Solaris

SMF in Solaris wont write to stderr/stdout ?

Hi, I got a process (c written) that we usually run this way : EmsChkQu >> /EMS/log/EmsChkQu.log 2>&1 When trying to use it as a service I defined it this way : <?xml version='1.0'?> <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'> <service_bundle... (6 Replies)
Discussion started by: zionassedo
6 Replies

3. AIX

One package from SP wont install correctly

I recently updated one of our servers from 6100-08-05-1415 to 6100-08-06-1441 and the `oslevel -s` is showing the correct version, but when I run an `lppchk -v` I am hit with: lppchk: The following filesets need to be installed or corrected to bring the system to a consistent state: ... (9 Replies)
Discussion started by: JAR1
9 Replies

4. Programming

Replacing a word of a text file, in C++ fstream

How to replace a word in text file using c++ fstream. Is there a way, without creating any temporary file. Could you please share pseudo code ??? (1 Reply)
Discussion started by: techmonk
1 Replies

5. Homework & Coursework Questions

Cannot correctly connect multi-stage C command pipe (among others) (FYI: a lot of code)

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: We are supposed to write a C program that parses a command line, separates it into each command (further... (5 Replies)
Discussion started by: kowit010
5 Replies

6. Solaris

Solaris 9 zone wont boot - interface in use

We have a Solaris 10 system with a solaris 9 branded zone. Trying to create a new lo interfaces i ended up rebooting the zone. The zone will not come up, it ran fine before i tried this. When i run the zoneadm -z zone-s9 boot command i get "zoneadm: zone 'zone-s9': lo0:2: could not bring... (4 Replies)
Discussion started by: oly_r
4 Replies

7. UNIX for Dummies Questions & Answers

file wont execute

sh filename and it gives me an error saying the file doesnt exist but it definately does. (4 Replies)
Discussion started by: iago
4 Replies

8. HP-UX

fstream - detach in aCC

How to use detach function for aCC. Error 187: "/cc/smc3/root/development/auto_activation/AARS/src/ResultServer.cpp", line 623 # Referenced object 'detach' is not a member of class basic_ofstream<char,std::char_traits<char> > . READ_TOKEN(tmp) (0 Replies)
Discussion started by: onlyforforum
0 Replies

9. UNIX for Dummies Questions & Answers

head command wont work on MF file

I am trying to do a head on a mainframe file and on doing ti just gives me a blank screen with nothing on it. however, when i do a tail for the same file...i get a few lines on the screen. i know tht mainframe files have all the records on one line...does this have to do something with this.... (10 Replies)
Discussion started by: alfredo123
10 Replies

10. Solaris

file wont remove

check this out ls -l nmo* -rwsr-s--- 1 root dba 19312 Mar 31 14:44 nmo -rw-r----- 1 oracle dba 0 May 19 2004 nmo0 -rwxr-x--- 1 oracle dba 16512 Mar 31 14:44 nmocat # rm nmo0 nmo0: No such file or directory # id uid=0(root) gid=1(other) what... (8 Replies)
Discussion started by: csaunders
8 Replies
Login or Register to Ask a Question