Programming :: Program Stops Working After A Time With "libncurses.so.5 Error 24"
Oct 6, 2010
The error is: error while loading shared libraries: libncurses.so.5: cannot open shared object file: Error 24 This occurs after a good time of running, after I added some file stuff to my code. I can't see why this is happening.
Code: Code:
// Get CPU Temperature
char sensorsRaw[128];
system("sensors >& .sensors");
std::ifstream fileIn;
fileIn.open(".sensors");
[Code]...
View 3 Replies
ADVERTISEMENT
Feb 8, 2011
I opened a text file and read some stuff. Then I (think) I closed it. Then I tried to open another one and it stopped working. It seemed to compile fine though. Why would this be?
Code:
#include <iostream>// Libraries included
#include <string>
#include <fstream>
#include <sstream>
#include <list>
[Code]....
View 3 Replies
View Related
May 19, 2011
i am graduate student and my X colleague gave me this Fortran 77 program to run my result files with. She is no longer reachable. I compiled the following program with gfortran, it compiled well but, when i run it, gave me end of file error. My output file (which is the input file for this program (DFILE1) ) has about 78,000 lines of velocities of atoms (Vx, Vy, Vz with 1000 steps.. an example of some of the atom's velocities in the 1st step is given at the end of this program). I will be highly obliged if any one can help me with this.I run this program on opensuse linux 11.3 version /32 bit/i586
error message:
Code:
At line 124 of file v.autocorrelation.f (unit = 10, file = 'DFILE1')
Fortran runtime error: End of file
Code:
PROGRAM TCORR
COMMON / BLOCK1 / STORX, STORY, STORZ
COMMON / BLOCK2 / VX, VY, VZ
COMMON / BLOCK3 / VACF, ANORM
C *******************************************************************
code....
View 6 Replies
View Related
Oct 11, 2010
Yesterday I installed Maverick (32bit), fixed the soundcard and everything worked very well. In particular my touchscreen (eturbotouch) worked now for the first time. Unfortunately there is a problem with the mouse. After some time the left mouse button stops working. There is no problem with the right button and with the movement of the cursor. I tried several mices, therefore the problem shouldn't be related to the mouse hardware.
View 1 Replies
View Related
Jan 6, 2010
Since I updated to Karmic, I noticed a very annoying problem that forces me to restart Firefox every 20 minutes or so: When the cursor is located inside the address bar (CRTL+L), I always type one or two characters, a drop down menu appears with most visited links that contain these characters, I press <down-arrow>, <Enter> and go to one of my usual links. I use this all the time, which allows me to go to me usual links in a second or two. The problem is that this feature stops working after browsing for some time: no drop-down menu appears and pressing the down-arrow does nothing.
The only other problem that happens in coincidence is that you have to click 2 or 3 times on the 'arrow-down' button on the right side of the address bar before you get a drop-down menu with the most visited links (this normally happens on the first click). The problem appears at random moments (typically after some 10 to 20 minutes of browsing, but sometimes earlier) and disappears when I restart FF. I tried clearing the history, but that does not change anything. Does anyone else see this problem and knows how to fix it?
My setup:
Toshiba notebook, 32 bit
up to date Karmic
FF 3.5.6, with some add-ons: adblock plus, bugmenot, all-in-one gestures, xmarks and some dictionaries, all working without any problems.
View 3 Replies
View Related
Feb 5, 2011
I am currently dual booting between Linux Mint 10, and Windows Vista SP2. Wireless works fine in both these OSes, but when I quit Mint and load Windows, 70% of the time my wireless stops working.
ie, it does not detect any wireless networks nearby, althought there are tons of them.
Restarting the wireless device doesnt help, I have to restart my computer at least 4 times for wireless to start working again.
And as of now, my wireless in Linux Mint has stopped working.
View 1 Replies
View Related
Nov 13, 2010
I'm running Ubuntu 10.10 Maverick Meerkat 64-bit on my desktop with a wired internet connection (with no firewall). For the past 2 days, I have observed that1. Firefox randomly throws up errors like "Problem loading page" whenever I click on a hyperlink. When I click on Reload, the page loads up just fine. This has been happening a lot recently..and I do not remember updating anything consciously. By the way, ipv6 is disabled in Firefox.2. The network stops working all of a sudden (usually indicated by the Firefox error). The Autho Eth0 indication is active, but I am unable to connect to any external machine.
3. Needless to say, this error is manifesting itself in apt-get as well. I get "something wicked happened" errors all the time, and am unable to download or install anything.That this is not a problem with the ISP is obvious because I also have Windows (from which I'm typing this, ironically), which is able to access the internet.Is this a bug in Ubuntu 10.10?
View 9 Replies
View Related
Jun 24, 2011
I need to write a program for time. like i have 2 tasks both minutes and hours.
like this
1st task=5 hours and 30 minutes
2nd task=2hours and 45 minutes
Together they will take 8 hours and 15 minutes.
I need to write a program thats called ADDTIMES to do something like this.
This is what i have so far.
H1=int(input("enter the number of hours:")) etc..
View 6 Replies
View Related
May 11, 2011
im trying to calculate how much time does my program run, use very simple script
clock_t end, start;
start= clock();
int i;
printf("initial %d
",(int)start);
[Code]....
but it outputs 0 all the time. cant figure out where could be the problem.
View 2 Replies
View Related
Apr 24, 2011
i have the example code below, i want to calculate the time taken for a sample program to run. but i keep getting undefined reference error.
#include <sys/time.h>
#include <iostream>
int main(int argc, char **argv) {
struct timeval startTime;
struct timeval endTime;
[Code]...
View 9 Replies
View Related
Oct 16, 2010
I am making a program to do a breadth first search.The code which I am posting here just makes a que of the nodes visited in a binary tree in inorder fashion,so this implementation is not yet complete.While developing I got a segmentation fault which I was not able to understand why I am getting so I am posting since the tree of same program (without BFS) is working.
Code:
#include<stdio.h>
#include<stdlib.h>
[code]...
View 4 Replies
View Related
Jul 24, 2010
I tried to draw two lines with xlib.h in C. If I start this compiled program it show me in most cases a window with two lines as it should be.
But sometimes the two lines are not drawn.If I insert XFlush() before the second XSync() it worked better but not every time.Why?How can I solve the problem?How works the X-Server buffer in detail?
Code:
View 1 Replies
View Related
May 9, 2011
I am having trouble with encryption/ decryption program. The program goes out and finds the file I want it to, encrypts it into a continuing series of a single repeated negative number, then generally decrypts(or should i say re-encrypts)it into a widely repeated character, different but same results every time.
[Code]....
View 3 Replies
View Related
Nov 16, 2009
I have made a vb6 porgram, it is running without any error in windows platform. However, i want it to be run at Fedora too. I run my program with Wine Windows Program Loader in a Linux pc, but the program stuck with an error message:
Run-time error '429':
ActiveX component can't create object
I thought it was the error message because of missing some dll/reference files, so I tried to copy all those related .dll & .ocx file into my wine file. (Just copy and paste into the system32 of wine, no regsvr32 statement to register the .dll as what we always do in Windows.) However, all my efforts are in vain. I not sure what is the cause of this error.
View 12 Replies
View Related
Mar 15, 2011
The following is the error in my program :
Here is my program...
View 7 Replies
View Related
Jan 30, 2010
I was windering, if you are writing a C program, I don't think you are supposed to commit the .o files and executables. How can you test your program without making a copy outside the git working dir?
View 3 Replies
View Related
Oct 28, 2010
Code:
Above is a code for UDP server which I am trying.
When I compile it I get following errors
Code:
View 1 Replies
View Related
Nov 18, 2010
I have the following code:
Code:
And it gives this error:
Code:
View 2 Replies
View Related
May 26, 2010
I am using the C++ compiler G++ to compile my programs on Linux Mint 8 - Gnome.
I recently installed QT and when I tried to compile a simple "Hello World!" program it gave me this error:
Quote:
This is the code in HelloWorldQt.cpp:
Code:
I have tried using GTK instead but I get a similar error.
View 7 Replies
View Related
Jul 21, 2010
I'm building my main program on SUSE using C, but the compiler returns the error below.
Code:
Here's my code to which the errors are pointing to:
Code:
View 3 Replies
View Related
May 8, 2010
I've created 3 files: swap.h and swap.c then make static library from it
Code:
Then I write 2 program to test this library: test_swap.c and test_swap.cpp
I compile
Code:
What's wrong with this in C++? And how can I make a library that can work both for any C and C++ program?
Here the source code
Code:
Code:
Code:
View 2 Replies
View Related
Feb 28, 2011
I was trying to get the ssid of WLAN through the following C program
What is the cause of this error?
View 1 Replies
View Related
Aug 26, 2010
I have a program which reads some parameters in from an input file before solving a differential equation. This program compiles fine, I'm using Numerical Algorithms Group (NAG) libraries to solve the differential equation so I'm also the NAG compiler called nagfor.
The namelist I have is declared as follows:
And the input file is:
When I run the code I get the following error message:
I really can't see what's wrong with this code.
Also, I'm using Fedora 11, and running the code in tcsh if this is relevant.
View 1 Replies
View Related
Apr 15, 2010
I'm just wondering what the limits for time are. I have a program that always takes exactly 20 ms, so I assume this is the lowest it can measure, but I want to see if there's some sort of documentation of this.
View 3 Replies
View Related
Jul 9, 2010
I have a simple C program which uses ncurses library and I am having linker issues and couldn't get the program to link.
[Code]...
So I think the ncurses libraries are in place but gcc still couldn't link. I am totally stumped.
View 3 Replies
View Related
Jun 9, 2010
I am using Ubuntu 9.04 linux 2.6.28-11-generic. When I write a program that gives the "Segmentation fault" error, or when I send this signal (SIGSEGV) to a program, the "Segmentation fault" is shown and no core dumped. When I look for "core" file in the current directory, I can't find it, too.
View 2 Replies
View Related
May 5, 2011
I am getting a linker error for a simple program to represent a singleton class.
Find below the program which I have written:
View 3 Replies
View Related
Oct 14, 2010
I've got an error with compiling a program: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/python2.5/config/libpython2.5.a: could not read symbols: Bad value collect2: ld a retourn 1 code dtat d'excution make[2]: *** [bindings/_yafqt.so] Erreur 1.
View 1 Replies
View Related
Feb 14, 2011
Below are the header files and the program:
using namespace std:
View 2 Replies
View Related
Jul 9, 2015
I have debian jessie 8.8.1 Oscam and a phoenix card reader running on a tower pc. Everything works on reboot but when i leave it running then when i wake up in the morning the card reader has stopped working and does not show up in lsusb. The only way to get it working again is to reboot then it stops after x amount of time and the same problem.
View 2 Replies
View Related