This is a discussion on cgilib problem within the Linux software forums, part of the Linux Getting Started category; Hi all, I want to install rrdtool, but for that I am missing cgilib. When I try to compile it(cgilib) ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
Hi all,
I want to install rrdtool, but for that I am missing cgilib. When I try to compile it(cgilib) I get the following: host:~/cgilib-0.5 # make && make install make: `libcgi.a' is up to date. cc -I. -Wall -O2 -g -c -o cgitest.o cgitest.c cgitest.c: In function `main': cgitest.c:108: warning: implicit declaration of function `strcmp' cgitest.c:116: error: syntax error before "Library" cgitest.c:129: warning: implicit declaration of function `strlen' make: *** [cgitest.o] Error 1 host:~/cgilib-0.5 # Can anyone help me? Will be waiting... |
| Sponsored Links | ||
|
|
|
||||
|
Quote:
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
||||
|
Use yast2 or yast Software Management tool
Code:
yast Then search mrtg, rrdtool and install them. I know all these software available. I had installed them in past on Suse Enterprise 9 server. Or use rpm command to install all the files Code:
rpm -ivh cgilib rpm -ivh mrtg rpm -ivh rrdtool
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
|||
|
I was getting the same error so I figured I'd take a quick crack at the source. The error is being thrown on line 116 of cgitest.c, so open it up and hop to line 116, and what do we see?
Code:
printf ("<h3>Cookie "Library" set</h3>\n");
Code:
printf ("<h3>Cookie \"Library\" set</h3>\n");
--cmantito |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|