[linux] Re: cgi-lib error na 'make install' -> nieuwere versie niet te vinden :(

J. mailing-lists op xs4all.nl
Wo mei 25 12:25:57 CEST 2005


Vandaag toch ff een uurtje niets te doen.. 
wget
http://people.ee.ethz.ch/oetiker/webtools/rrdtool/pub/libs/cgilib-0.5.tar.gz

Dat kreng gedownload.. Ff kijken... Voilla probleem opgelost...

Regel 116 staat:
 printf ("<h3>Cookie "Library" set</h3>\n");

Dit moet uiteraard zijn :
  printf ("<h3>Cookie \"Library\" set</h3>\n");

Ja, de dubble quotes die ge'escaped moeten worden..

Nu compileert ie..
make all
cc -I. -Wall -O2 -g   -c -o cgi.o cgi.c
cc -I. -Wall -O2 -g   -c -o cookies.o cookies.c
ar rc libcgi.a cgi.o cookies.o
cc -I. -Wall -O2 -g   -c -o cgitest.o cgitest.c
cc -I. -Wall -O2 -g -L. -o cgitest cgitest.o libcgi.a -lcgi
cc -I. -Wall -O2 -g   -c -o jumpto.o jumpto.c
jumpto.c:45: warning: return type of `main' is not `int'
cc -I. -Wall -O2 -g -L. -o jumpto jumpto.o libcgi.a -lcgi

Tenminste.. dat was het probleem toch ?? 

Ik hoor 't anders wel.

Suc6 J.

-- 
Don't worry Ma'am. We're university students, - we know what we're doing.




More information about the Linux mailing list