[Click] fopen , fread
wouter.vandorpe at howest.be
wouter.vandorpe at howest.be
Tue Apr 19 07:53:40 EDT 2005
Hi,
i'm trying to read a handler value from on element into an onther.
This i do with (see below).
But after a successfull installation of the element (make-install) i
try to start click.
and the following appears.
click:/home/guest/click-1.4.3# click-install
/home/guest/configQosInteraction
/usr/local/lib/click.o: unresolved symbol fopen
/usr/local/lib/click.o: unresolved symbol fclose
click-install: '/sbin/insmod /usr/local/lib/click.o' failed
click:/home/guest/click-1.4.3#
How do i compile the use off fopen, fread, etc into click.o?
Are do ya have other possibilities to read a handler from one
elemenent into the other.
regards
wouter vandorpe
-----------------------------------
int qosfeedback::readHandler_rtpQos_Loss(){
FILE *fp;
fp = fopen("/click/rtpQos at 83/Loss", "r");
if(fp == 0)
click_chatter("Cannot open /click/rtpQos at 83/Loss");
else{
click_chatter("Openen van /click/rtpQos at 83/Loss");
}
fclose(fp);
return (0);
}
---------------------------------
http://www.gordano.com - Messaging for educators.
More information about the click
mailing list