UNIX/Linux Programming - October 2009

by jimctu
gcc library question
 
hi everyone im doing a project with the miracl library... i make it works fine with codeblocks on ubuntu 9.04... but in my project i have to measure the perf...
[1 reply] : There are a couple of ways to do this: when linking: g++ -R<path_to... (by PanGalactic)
by Aazor
Segmentation fault error
 
I need help debugging this segmentation fault.. I have narrowed it down to the separateComandsAndPrompts function but thats where I run into a brick wall. I can...
[5 replies] Last: ok thank you guys very much! (by Aazor)
: operator (colon)
 
Alright, I've been doing some Gtk+ development as of late, and I've been going over the documentation of certain enumerations and structs in the library. I cam...
[3 replies] Last: Correct. (by kbw)
question about reusing a nonblock file descriptor for epoll
 
After receiving a client event (EPOLLIN|EPOLLOUT|EPOLLRDHUP) ,then close the nonblock file descriptor (say it n), and get a errno ( n is busy).Because system i...
[no replies]
xml-xalan-c make errors
 
I'm new in this foruma nd trying to compile xml-xalan c++ on Ubuntu 9.04 ; I've installed gcc 4.4.2; I get no errors when launching 'make', but I've got the fol...
[1 reply] : Have you asked on the xalan developer forum? http://xml.apache.org/... (by PanGalactic)
Arguments to signal handler
 
Hi Guys, I was wondering, is there a way by which I could pass arguments to signal handler? Actually, I want to update few files to maintain the informati...
[2 replies] Last: Ah that's not good :-( Anyways, thanks for the reply jsmith (by kevinchkin)
pthread_exit((void *)0)
 
Hi,I'm Woods! the function pthread_exit void pthread_exit(void *rval_ptr); will let the controlling thread exit with return value rval_ptr whose type is vo...
[2 replies] Last: thanks,KBW i forgot I used a local variable :int i; i will see the e... (by woods2001)
Programming with G++
 
It's very basic and I am sure many guys will be able to help me out. I have been programming quite a bit in Windows with MSVC++ and Dev-C++.. I built simple ...
[13 replies] Last: Look, as a new Linux programmer you could try this thread http://ubunt... (by ridowan007)
Getting *** glibc detected *** free(): invalid next size (normal):
 
Hi , When i am writing to a file continuously I am getting this error. *** glibc detected *** ./MITE_Project2_Exe: free(): invalid next size (normal): 0x000...
[5 replies] Last: At first glance there seems to be a number of potential pitfalls. F... (by jsmith)
by devas
collect2 error
 
Hello, i'm trying to call a C method in C++ code and i have some difficulties about it. let me explain it with code samples: my .h header file. #i...
[1 reply] : I do not see you linking against X_Module.o which contains the impleme... (by jsmith)
SOAP / WSDL for designing a web portal on Linux/Unix
 
Hi there, Is there anyone who have experience with using SOAP / WSDL for designing a web service (e.g., a dynamic web portal accessing databases). How can I...
[no replies]
by rhine2
Calculate ISP speed
 
Hello I am trying to develop a small program that will periodically (say every 6 hrs) calculate my ISP broadband speed (both up and dn stream) and display on m...
[4 replies] Last: Or you could use Beej's guide to network programming (which is centere... (by chrisname)
by CD4
anything that displays parameter list as we go on coding?
 
hello, i want to know is there anything that will show the parameter list while we write a function? Like in MASM whenwe use to put any function from a library ...
[2 replies] Last: Eclipse and NetBeans do this to an extent if I remember. I can't remem... (by closed account S6k9GNh0)
by CD4
copying data from file to anothr file
 
hello i am a newbie.. i had been following Beginning linux programming 4th edition. I tried to go for a sample but the data isnt getting copied to other file b...
[4 replies] Last: hello duoas.. i am a coplete newbie so its not getting clear.. i re-wr... (by CD4)
Segmentation fault while reading a binary file
 
Hi.. I am creating a program that writes to a binary file and then reads from it. It also checks that if the file exists then append the file or else write a n...
[3 replies] Last: @dkalita and @kbw.. I tried that .. that was the first thing i made bu... (by herat007)
SDL_ttf linking error using TTF_GetFontKerning among others
 
I am having trouble linking SDL_ttf against a project I am developing on Mac OS X Snow Leopard. I am compiling SDL_ttf from source because I implemented my own ...
[1 reply] : What does your link command look like? And are you "installing" your v... (by ioctl)
Problem with string and segmentation fault in UDP sockets
 
I am doing unix network programming over cygwin. I am trying to receive an object via the recvfrom() function (I am using UDP sockets). The class definition of ...
[2 replies] Last: A common(and dirty) way to achieve the serialization/deserialization y... (by ioctl)
by xcoder
gtk + linux
 
Hello again! I can't figure something out... How can I send more than one argument to function using g_timeout_add? I have function which requires 10 g...
[3 replies] Last: If you want all the pointers to be passed to the timer callback withou... (by ioctl)
by schliz
IPC Question
 
I have 2 Programs. One program will start the other and should block for input, read the input, block again and so on: But I only get the input, when all the c...
[1 reply] : stdout is (usually) buffered by default. Try setvbuf(stdout,NULL,_ION... (by ioctl)
Creating new process
 
Hey guys! I have a problem and was wondering if anyone could help? I'm currently working on a 3D simulator that *must* run a certain section of code in pa...
[7 replies] Last: Shared memory could be an option as well I guess. And pipes aren't all... (by ioctl)
October 2009 Pages: 12
  Archived months: [sep2009] [nov2009]

This is an archived page. To post a new message, go to the current page.