libcgi-general Mailing List for LibCGI
Brought to you by:
rafaelsteil
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(13) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(27) |
Feb
(4) |
Mar
(4) |
Apr
|
May
(7) |
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2004 |
Jan
(1) |
Feb
|
Mar
(3) |
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(1) |
2005 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(7) |
Jun
(6) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: kishan g. <kis...@gm...> - 2005-08-14 06:42:51
|
hi everybody, I Had a small problem during intergration of API with my mozilla brow= ser. I am using libcgi-1.0 as the paramter passing to the API's.I am using one application API which is used to add entry in the /proc/ directory. i am using system() cmd for calling the system api and adding the entry in the /proc directory. when i am sending the data or values to the API's from the Html browser i am not able to execute the system cmd and it is failing. but when i execute the same API on the system terminal or bash it works perfectly but when i use the html browser it is not working. in CGI file i used setuid(0); i had given permissions superuser for the browser. So please anybody help me in getting work to get entry in the /proc/ directory when i call the API through the HTML browser. regards=20 kishan --=20 kishan g software traniee vedams software pvt ltd, hyderbad. |
From: Elf K. <el...@go...> - 2005-06-07 02:32:48
|
let's say you have a my_cgi1.c as the program source then: gcc -o my_cgi my_cgi1.c -lcgi will do the trick. This assumes that libcgi.a exists in /lib, /usr/lib or /usr/local/lib. If it's sitting somewhere else, e.g. let's say you installed the cgi library in /opt/cgi then includes would be in /opt/cgi/include and library would be in /opt/cgi/lib/libcgi.a then you have to add the directory containing the library as so: gcc -I/opt/cgi/include -o my_cgi my_cgi1.c -L/opt/cgi/lib -lcgi Hope this helps > Hello,<br> > I know this is going to be the biggest newbie > question of all time, but I'm going to ask anyway. I've looked all > through the documentation and through the website. I've searched > through google and anywhere else I could think of. Despite all of this, > I still cannot figure out what compiling flags i need to use. I'm using > gcc, so if anyone would kindly tell me the correct compile flags I > would be very grateful. Thank you. |
From: Elf K. <el...@go...> - 2005-06-07 02:28:09
|
One way is to create a new form which autosubmits using javascript and a bunch of hidden inputs the other way is to rewrite the second cgi so that it's split into a back end processor and a simple cgi front end use the first cgi to call the back end directly and by pass the first cgi.. This is the better way btw, because it's completely server side. kishan gelli wrote: >hello, > I am doing a program which dynamically loads a >cgi binary file which consists of inputing data ,after >inputing data and do some manipulations to data then >send the resulted output to the next cgi binary file >and display the manipulated data... >Please give me tips and suggestions on how to do this >method of process... I am waiting for reply from all >of you,please help me in doing this.. > >thank you, >kishan.. > > > >__________________________________ >Discover Yahoo! >Get on-the-go sports scores, stock quotes, news and more. Check it out! >http://discover.yahoo.com/mobile.html > > >------------------------------------------------------- >This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput >a projector? How fast can you ride your desk chair down the office luge track? >If you want to score the big prize, get to know the little guy. >Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 >_______________________________________________ >Libcgi-general mailing list >Lib...@li... >https://lists.sourceforge.net/lists/listinfo/libcgi-general > > |
From: kishan g. <kis...@ya...> - 2005-06-06 17:05:06
|
hello, I am doing a program which dynamically loads a cgi binary file which consists of inputing data ,after inputing data and do some manipulations to data then send the resulted output to the next cgi binary file and display the manipulated data... Please give me tips and suggestions on how to do this method of process... I am waiting for reply from all of you,please help me in doing this.. thank you, kishan.. __________________________________ Discover Yahoo! Get on-the-go sports scores, stock quotes, news and more. Check it out! http://discover.yahoo.com/mobile.html |
From: John T. <mis...@gm...> - 2005-06-06 15:48:13
|
Hello,<br> I know this is going to be the biggest newbie question of all time, but I'm going to ask anyway. I've looked all through the documentation and through the website. I've searched through google and anywhere else I could think of. Despite all of this, I still cannot figure out what compiling flags i need to use. I'm using gcc, so if anyone would kindly tell me the correct compile flags I would be very grateful. Thank you.<br> |
From: Vasiliy N. <va...@ya...> - 2005-06-06 06:43:50
|
John Tims wrote: > Hello, > I know this is going to be the biggest newbie question of all > time, but I'm going to ask anyway. I've looked all through the > documentation and through the website. I've searched through google > and anywhere else I could think of. Despite all of this, I still > cannot figure out what compiling flags i need to use. I'm using gcc, > so if anyone would kindly tell me the correct compile flags I would be > very grateful. Thank you. gcc -Wall -o prog_file_name source_file_1.c ... source_file_n.c -lcgi Best regards, Vasya |
From: John T. <mis...@gm...> - 2005-06-05 14:10:43
|
Hello, I know this is going to be the biggest newbie question of all time, but I'm= =20 going to ask anyway. I've looked all through the documentation and through= =20 the website. I've searched through google and anywhere else I could think= =20 of. Despite all of this, I still cannot figure out what compiling flags i= =20 need to use. I'm using gcc, so if anyone would kindly tell me the correct= =20 compile flags I would be very grateful. Thank you. |
From: Vasiliy N. <va...@ya...> - 2005-05-18 14:39:29
|
Hi, HS8JCV I tried to crosscompile libcgi. It seems that libcgi cannot be crosscompiled. It don't see cross compiler: [root@server1 libcgi-1.0]# ./configure --host=sh4-linux loading cache ./config.cache checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no <------!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... (cached) /usr/local/bin/install -c checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes creating ./config.status creating Makefile creating src/config.h src/config.h is unchanged Try to compile it on target platform. Compile it write on your arm if compiler installed there. Best regards, Vasya HS8JCV wrote: >Is it same arm AT91RM9200 of atmel.? >If not same.How to complie for AT91RM9200.? > >best regard >X@ARM > >On 5/14/05, Vasiliy Novikov <va...@ya...> wrote: > > >>sh4 is 32-bit risc cpu. >>http://www.superh.com/products/sh4.htm >> >>HS8JCV wrote: >> >> >> >>>What is mean of sh4.? >>> >>>On 5/14/05, Vasiliy Novikov <va...@ya...> wrote: >>> >>> >>> >>> >>>>Try to compile on target platform. >>>> >>>>I use libcgi on sh4 platform. I compiled it on target platform. >>>>I had porblem with compilation: >>>>src/string.c:587: incompatible type for argument 2 of `__builtin_va_copy' >>>> >>>>I changed file src/string.c line 587 from: >>>>587 va_copy(bkp, str); >>>>to: >>>>587 va_copy(bkp, ptr); >>>> >>>>and it was compiled. It works ok. >>>> >>>>My gcc: >>>>root@(none):/home/vasya/install/libcgi-1.0/src# gcc -v >>>>Reading specs from /usr/lib/gcc-lib/sh4-linux/3.0.3/specs >>>>Configured with: ../configure --host=sh4-linux --build=i686-pc-linux-gnu >>>>--prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin >>>>--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include >>>>--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var >>>>--sharedstatedir=/usr/share --mandir=/usr/share/man >>>>--infodir=/usr/share/info --target=sh4-linux --enable-shared >>>>--enable-languages=c,c++ --enable-threads --disable-c99 >>>>--with-system-zlib --with-cpu=sh4 >>>>Thread model: posix >>>>gcc version 3.0.3 (STMicroelectronics/Linux Base 3.0.3-3) >>>> >>>>Best regards, Vasya >>>> >>>>HS8JCV wrote: >>>> >>>> >>>> >>>> >>>> >>>>>I will libcgi for arm linux. >>>>>How to install it. >>>>>I try about this. >>>>> >>>>>make CC=arm-linux-gcc >>>>>This process complie ok. >>>>>and >>>>>cp src/cgi.h /usr/local/arm/2.95.3/arm-linux/include/ >>>>>cp src/session.h /usr/local/arm/2.95.3/arm-linux/include/ >>>>>cp src/libcgi.a /usr/local/arm/2.95.3/arm-linux/lib/ >>>>>cp src/libcgi.so /usr/local/arm/2.95.3/arm-linux/lib/ >>>>> >>>>>and >>>>>I try complie sourcecode in example/simple_form/ with make CC=arm-linux-gcc >>>>>I not complete.It show about this. >>>>> >>>>>arm-linux-gcc -Wall -lcgi form1.c -o ./form1.cgi >>>>>/usr/local/arm/2.95.3/arm-linux/lib/libcgi.so: undefined reference to `va_copy' >>>>>collect2: ld returned 1 exit status >>>>>make: *** [all] Error 1 >>>>> >>>>>why. >>>>>How to install it for arm-linux. >>>>> >>>>>best regard >>>>>X@ARM >>>>> >>>>> >>>>>------------------------------------------------------- >>>>>This SF.Net email is sponsored by Oracle Space Sweepstakes >>>>>Want to be the first software developer in space? >>>>>Enter now for the Oracle Space Sweepstakes! >>>>>http://ads.osdn.com/?ad_ids93&alloc_id281&op ick >>>>>_______________________________________________ >>>>>Libcgi-general mailing list >>>>>Lib...@li... >>>>>https://lists.sourceforge.net/lists/listinfo/libcgi-general >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>------------------------------------------------------- >>>>This SF.Net email is sponsored by Oracle Space Sweepstakes >>>>Want to be the first software developer in space? >>>>Enter now for the Oracle Space Sweepstakes! >>>>http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click >>>>_______________________________________________ >>>>Libcgi-general mailing list >>>>Lib...@li... >>>>https://lists.sourceforge.net/lists/listinfo/libcgi-general >>>> >>>> >>>> >>>> >>>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by Oracle Space Sweepstakes >>>Want to be the first software developer in space? >>>Enter now for the Oracle Space Sweepstakes! >>>http://ads.osdn.com/?ad_ids93&alloc_id281&op ick >>>_______________________________________________ >>>Libcgi-general mailing list >>>Lib...@li... >>>https://lists.sourceforge.net/lists/listinfo/libcgi-general >>> >>> >>> >>> >>> >>------------------------------------------------------- >>This SF.Net email is sponsored by Oracle Space Sweepstakes >>Want to be the first software developer in space? >>Enter now for the Oracle Space Sweepstakes! >>http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click >>_______________________________________________ >>Libcgi-general mailing list >>Lib...@li... >>https://lists.sourceforge.net/lists/listinfo/libcgi-general >> >> >> > > >------------------------------------------------------- >This SF.Net email is sponsored by Oracle Space Sweepstakes >Want to be the first software developer in space? >Enter now for the Oracle Space Sweepstakes! >http://ads.osdn.com/?ad_ids93&alloc_id281&opick >_______________________________________________ >Libcgi-general mailing list >Lib...@li... >https://lists.sourceforge.net/lists/listinfo/libcgi-general > > > |
From: Vasiliy N. <va...@ya...> - 2005-05-14 12:21:24
|
No, it is not the same as arm AT91RM9200. I have no AT91RM9200 and didn't compiled it for arm platform. Try to compile like this: libcgi-1.0/configure --target=arm-linux libcgi-1.0/make Best regards, Vasya HS8JCV wrote: >Is it same arm AT91RM9200 of atmel.? >If not same.How to complie for AT91RM9200.? > >best regard >X@ARM > >On 5/14/05, Vasiliy Novikov <va...@ya...> wrote: > > >>sh4 is 32-bit risc cpu. >>http://www.superh.com/products/sh4.htm >> >>HS8JCV wrote: >> >> >> >>>What is mean of sh4.? >>> >>>On 5/14/05, Vasiliy Novikov <va...@ya...> wrote: >>> >>> >>> >>> >>>>Try to compile on target platform. >>>> >>>>I use libcgi on sh4 platform. I compiled it on target platform. >>>>I had porblem with compilation: >>>>src/string.c:587: incompatible type for argument 2 of `__builtin_va_copy' >>>> >>>>I changed file src/string.c line 587 from: >>>>587 va_copy(bkp, str); >>>>to: >>>>587 va_copy(bkp, ptr); >>>> >>>>and it was compiled. It works ok. >>>> >>>>My gcc: >>>>root@(none):/home/vasya/install/libcgi-1.0/src# gcc -v >>>>Reading specs from /usr/lib/gcc-lib/sh4-linux/3.0.3/specs >>>>Configured with: ../configure --host=sh4-linux --build=i686-pc-linux-gnu >>>>--prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin >>>>--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include >>>>--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var >>>>--sharedstatedir=/usr/share --mandir=/usr/share/man >>>>--infodir=/usr/share/info --target=sh4-linux --enable-shared >>>>--enable-languages=c,c++ --enable-threads --disable-c99 >>>>--with-system-zlib --with-cpu=sh4 >>>>Thread model: posix >>>>gcc version 3.0.3 (STMicroelectronics/Linux Base 3.0.3-3) >>>> >>>>Best regards, Vasya >>>> >>>>HS8JCV wrote: >>>> >>>> >>>> >>>> >>>> >>>>>I will libcgi for arm linux. >>>>>How to install it. >>>>>I try about this. >>>>> >>>>>make CC=arm-linux-gcc >>>>>This process complie ok. >>>>>and >>>>>cp src/cgi.h /usr/local/arm/2.95.3/arm-linux/include/ >>>>>cp src/session.h /usr/local/arm/2.95.3/arm-linux/include/ >>>>>cp src/libcgi.a /usr/local/arm/2.95.3/arm-linux/lib/ >>>>>cp src/libcgi.so /usr/local/arm/2.95.3/arm-linux/lib/ >>>>> >>>>>and >>>>>I try complie sourcecode in example/simple_form/ with make CC=arm-linux-gcc >>>>>I not complete.It show about this. >>>>> >>>>>arm-linux-gcc -Wall -lcgi form1.c -o ./form1.cgi >>>>>/usr/local/arm/2.95.3/arm-linux/lib/libcgi.so: undefined reference to `va_copy' >>>>>collect2: ld returned 1 exit status >>>>>make: *** [all] Error 1 >>>>> >>>>>why. >>>>>How to install it for arm-linux. >>>>> >>>>>best regard >>>>>X@ARM >>>>> >>>>> >>>>>------------------------------------------------------- >>>>>This SF.Net email is sponsored by Oracle Space Sweepstakes >>>>>Want to be the first software developer in space? >>>>>Enter now for the Oracle Space Sweepstakes! >>>>>http://ads.osdn.com/?ad_ids93&alloc_id281&op ick >>>>>_______________________________________________ >>>>>Libcgi-general mailing list >>>>>Lib...@li... >>>>>https://lists.sourceforge.net/lists/listinfo/libcgi-general >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>------------------------------------------------------- >>>>This SF.Net email is sponsored by Oracle Space Sweepstakes >>>>Want to be the first software developer in space? >>>>Enter now for the Oracle Space Sweepstakes! >>>>http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click >>>>_______________________________________________ >>>>Libcgi-general mailing list >>>>Lib...@li... >>>>https://lists.sourceforge.net/lists/listinfo/libcgi-general >>>> >>>> >>>> >>>> >>>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by Oracle Space Sweepstakes >>>Want to be the first software developer in space? >>>Enter now for the Oracle Space Sweepstakes! >>>http://ads.osdn.com/?ad_ids93&alloc_id281&op ick >>>_______________________________________________ >>>Libcgi-general mailing list >>>Lib...@li... >>>https://lists.sourceforge.net/lists/listinfo/libcgi-general >>> >>> >>> >>> >>> >>------------------------------------------------------- >>This SF.Net email is sponsored by Oracle Space Sweepstakes >>Want to be the first software developer in space? >>Enter now for the Oracle Space Sweepstakes! >>http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click >>_______________________________________________ >>Libcgi-general mailing list >>Lib...@li... >>https://lists.sourceforge.net/lists/listinfo/libcgi-general >> >> >> > > >------------------------------------------------------- >This SF.Net email is sponsored by Oracle Space Sweepstakes >Want to be the first software developer in space? >Enter now for the Oracle Space Sweepstakes! >http://ads.osdn.com/?ad_ids93&alloc_id281&opick >_______________________________________________ >Libcgi-general mailing list >Lib...@li... >https://lists.sourceforge.net/lists/listinfo/libcgi-general > > > |
From: HS8JCV <hs...@gm...> - 2005-05-14 11:10:52
|
Is it same arm AT91RM9200 of atmel.? If not same.How to complie for AT91RM9200.? best regard X@ARM On 5/14/05, Vasiliy Novikov <va...@ya...> wrote: > sh4 is 32-bit risc cpu. > http://www.superh.com/products/sh4.htm >=20 > HS8JCV wrote: >=20 > >What is mean of sh4.? > > > >On 5/14/05, Vasiliy Novikov <va...@ya...> wrote: > > > > > >>Try to compile on target platform. > >> > >>I use libcgi on sh4 platform. I compiled it on target platform. > >>I had porblem with compilation: > >>src/string.c:587: incompatible type for argument 2 of `__builtin_va_cop= y' > >> > >>I changed file src/string.c line 587 from: > >>587 va_copy(bkp, str); > >>to: > >>587 va_copy(bkp, ptr); > >> > >>and it was compiled. It works ok. > >> > >>My gcc: > >>root@(none):/home/vasya/install/libcgi-1.0/src# gcc -v > >>Reading specs from /usr/lib/gcc-lib/sh4-linux/3.0.3/specs > >>Configured with: ../configure --host=3Dsh4-linux --build=3Di686-pc-linu= x-gnu > >>--prefix=3D/usr --exec-prefix=3D/usr --bindir=3D/usr/bin --sbindir=3D/u= sr/sbin > >>--sysconfdir=3D/etc --datadir=3D/usr/share --includedir=3D/usr/include > >>--libdir=3D/usr/lib --libexecdir=3D/usr/libexec --localstatedir=3D/var > >>--sharedstatedir=3D/usr/share --mandir=3D/usr/share/man > >>--infodir=3D/usr/share/info --target=3Dsh4-linux --enable-shared > >>--enable-languages=3Dc,c++ --enable-threads --disable-c99 > >>--with-system-zlib --with-cpu=3Dsh4 > >>Thread model: posix > >>gcc version 3.0.3 (STMicroelectronics/Linux Base 3.0.3-3) > >> > >>Best regards, Vasya > >> > >>HS8JCV wrote: > >> > >> > >> > >>>I will libcgi for arm linux. > >>>How to install it. > >>>I try about this. > >>> > >>>make CC=3Darm-linux-gcc > >>>This process complie ok. > >>>and > >>>cp src/cgi.h /usr/local/arm/2.95.3/arm-linux/include/ > >>>cp src/session.h /usr/local/arm/2.95.3/arm-linux/include/ > >>>cp src/libcgi.a /usr/local/arm/2.95.3/arm-linux/lib/ > >>>cp src/libcgi.so /usr/local/arm/2.95.3/arm-linux/lib/ > >>> > >>>and > >>>I try complie sourcecode in example/simple_form/ with make CC=3Darm-li= nux-gcc > >>>I not complete.It show about this. > >>> > >>>arm-linux-gcc -Wall -lcgi form1.c -o ./form1.cgi > >>>/usr/local/arm/2.95.3/arm-linux/lib/libcgi.so: undefined reference to = `va_copy' > >>>collect2: ld returned 1 exit status > >>>make: *** [all] Error 1 > >>> > >>>why. > >>>How to install it for arm-linux. > >>> > >>>best regard > >>>X@ARM > >>> > >>> > >>>------------------------------------------------------- > >>>This SF.Net email is sponsored by Oracle Space Sweepstakes > >>>Want to be the first software developer in space? > >>>Enter now for the Oracle Space Sweepstakes! > >>>http://ads.osdn.com/?ad_ids93&alloc_id=16281&op ick > >>>_______________________________________________ > >>>Libcgi-general mailing list > >>>Lib...@li... > >>>https://lists.sourceforge.net/lists/listinfo/libcgi-general > >>> > >>> > >>> > >>> > >>> > >>------------------------------------------------------- > >>This SF.Net email is sponsored by Oracle Space Sweepstakes > >>Want to be the first software developer in space? > >>Enter now for the Oracle Space Sweepstakes! > >>http://ads.osdn.com/?ad_id=3D7393&alloc_id=3D16281&op=3Dclick > >>_______________________________________________ > >>Libcgi-general mailing list > >>Lib...@li... > >>https://lists.sourceforge.net/lists/listinfo/libcgi-general > >> > >> > >> > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by Oracle Space Sweepstakes > >Want to be the first software developer in space? > >Enter now for the Oracle Space Sweepstakes! > >http://ads.osdn.com/?ad_ids93&alloc_id=16281&op ick > >_______________________________________________ > >Libcgi-general mailing list > >Lib...@li... > >https://lists.sourceforge.net/lists/listinfo/libcgi-general > > > > > > >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=3D7393&alloc_id=3D16281&op=3Dclick > _______________________________________________ > Libcgi-general mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libcgi-general > |
From: Vasiliy N. <va...@ya...> - 2005-05-14 09:59:49
|
sh4 is 32-bit risc cpu. http://www.superh.com/products/sh4.htm HS8JCV wrote: >What is mean of sh4.? > >On 5/14/05, Vasiliy Novikov <va...@ya...> wrote: > > >>Try to compile on target platform. >> >>I use libcgi on sh4 platform. I compiled it on target platform. >>I had porblem with compilation: >>src/string.c:587: incompatible type for argument 2 of `__builtin_va_copy' >> >>I changed file src/string.c line 587 from: >>587 va_copy(bkp, str); >>to: >>587 va_copy(bkp, ptr); >> >>and it was compiled. It works ok. >> >>My gcc: >>root@(none):/home/vasya/install/libcgi-1.0/src# gcc -v >>Reading specs from /usr/lib/gcc-lib/sh4-linux/3.0.3/specs >>Configured with: ../configure --host=sh4-linux --build=i686-pc-linux-gnu >>--prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin >>--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include >>--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var >>--sharedstatedir=/usr/share --mandir=/usr/share/man >>--infodir=/usr/share/info --target=sh4-linux --enable-shared >>--enable-languages=c,c++ --enable-threads --disable-c99 >>--with-system-zlib --with-cpu=sh4 >>Thread model: posix >>gcc version 3.0.3 (STMicroelectronics/Linux Base 3.0.3-3) >> >>Best regards, Vasya >> >>HS8JCV wrote: >> >> >> >>>I will libcgi for arm linux. >>>How to install it. >>>I try about this. >>> >>>make CC=arm-linux-gcc >>>This process complie ok. >>>and >>>cp src/cgi.h /usr/local/arm/2.95.3/arm-linux/include/ >>>cp src/session.h /usr/local/arm/2.95.3/arm-linux/include/ >>>cp src/libcgi.a /usr/local/arm/2.95.3/arm-linux/lib/ >>>cp src/libcgi.so /usr/local/arm/2.95.3/arm-linux/lib/ >>> >>>and >>>I try complie sourcecode in example/simple_form/ with make CC=arm-linux-gcc >>>I not complete.It show about this. >>> >>>arm-linux-gcc -Wall -lcgi form1.c -o ./form1.cgi >>>/usr/local/arm/2.95.3/arm-linux/lib/libcgi.so: undefined reference to `va_copy' >>>collect2: ld returned 1 exit status >>>make: *** [all] Error 1 >>> >>>why. >>>How to install it for arm-linux. >>> >>>best regard >>>X@ARM >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by Oracle Space Sweepstakes >>>Want to be the first software developer in space? >>>Enter now for the Oracle Space Sweepstakes! >>>http://ads.osdn.com/?ad_ids93&alloc_id281&op ick >>>_______________________________________________ >>>Libcgi-general mailing list >>>Lib...@li... >>>https://lists.sourceforge.net/lists/listinfo/libcgi-general >>> >>> >>> >>> >>> >>------------------------------------------------------- >>This SF.Net email is sponsored by Oracle Space Sweepstakes >>Want to be the first software developer in space? >>Enter now for the Oracle Space Sweepstakes! >>http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click >>_______________________________________________ >>Libcgi-general mailing list >>Lib...@li... >>https://lists.sourceforge.net/lists/listinfo/libcgi-general >> >> >> > > >------------------------------------------------------- >This SF.Net email is sponsored by Oracle Space Sweepstakes >Want to be the first software developer in space? >Enter now for the Oracle Space Sweepstakes! >http://ads.osdn.com/?ad_ids93&alloc_id281&opick >_______________________________________________ >Libcgi-general mailing list >Lib...@li... >https://lists.sourceforge.net/lists/listinfo/libcgi-general > > > |
From: HS8JCV <hs...@gm...> - 2005-05-14 09:17:53
|
What is mean of sh4.? On 5/14/05, Vasiliy Novikov <va...@ya...> wrote: > Try to compile on target platform. >=20 > I use libcgi on sh4 platform. I compiled it on target platform. > I had porblem with compilation: > src/string.c:587: incompatible type for argument 2 of `__builtin_va_copy' >=20 > I changed file src/string.c line 587 from: > 587 va_copy(bkp, str); > to: > 587 va_copy(bkp, ptr); >=20 > and it was compiled. It works ok. >=20 > My gcc: > root@(none):/home/vasya/install/libcgi-1.0/src# gcc -v > Reading specs from /usr/lib/gcc-lib/sh4-linux/3.0.3/specs > Configured with: ../configure --host=3Dsh4-linux --build=3Di686-pc-linux-= gnu > --prefix=3D/usr --exec-prefix=3D/usr --bindir=3D/usr/bin --sbindir=3D/usr= /sbin > --sysconfdir=3D/etc --datadir=3D/usr/share --includedir=3D/usr/include > --libdir=3D/usr/lib --libexecdir=3D/usr/libexec --localstatedir=3D/var > --sharedstatedir=3D/usr/share --mandir=3D/usr/share/man > --infodir=3D/usr/share/info --target=3Dsh4-linux --enable-shared > --enable-languages=3Dc,c++ --enable-threads --disable-c99 > --with-system-zlib --with-cpu=3Dsh4 > Thread model: posix > gcc version 3.0.3 (STMicroelectronics/Linux Base 3.0.3-3) >=20 > Best regards, Vasya >=20 > HS8JCV wrote: >=20 > >I will libcgi for arm linux. > >How to install it. > >I try about this. > > > >make CC=3Darm-linux-gcc > >This process complie ok. > >and > >cp src/cgi.h /usr/local/arm/2.95.3/arm-linux/include/ > >cp src/session.h /usr/local/arm/2.95.3/arm-linux/include/ > >cp src/libcgi.a /usr/local/arm/2.95.3/arm-linux/lib/ > >cp src/libcgi.so /usr/local/arm/2.95.3/arm-linux/lib/ > > > >and > >I try complie sourcecode in example/simple_form/ with make CC=3Darm-linu= x-gcc > >I not complete.It show about this. > > > >arm-linux-gcc -Wall -lcgi form1.c -o ./form1.cgi > >/usr/local/arm/2.95.3/arm-linux/lib/libcgi.so: undefined reference to `v= a_copy' > >collect2: ld returned 1 exit status > >make: *** [all] Error 1 > > > >why. > >How to install it for arm-linux. > > > >best regard > >X@ARM > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by Oracle Space Sweepstakes > >Want to be the first software developer in space? > >Enter now for the Oracle Space Sweepstakes! > >http://ads.osdn.com/?ad_ids93&alloc_id=16281&op ick > >_______________________________________________ > >Libcgi-general mailing list > >Lib...@li... > >https://lists.sourceforge.net/lists/listinfo/libcgi-general > > > > > > >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=3D7393&alloc_id=3D16281&op=3Dclick > _______________________________________________ > Libcgi-general mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libcgi-general > |
From: Vasiliy N. <va...@ya...> - 2005-05-14 07:16:35
|
Try to compile on target platform. I use libcgi on sh4 platform. I compiled it on target platform. I had porblem with compilation: src/string.c:587: incompatible type for argument 2 of `__builtin_va_copy' I changed file src/string.c line 587 from: 587 va_copy(bkp, str); to: 587 va_copy(bkp, ptr); and it was compiled. It works ok. My gcc: root@(none):/home/vasya/install/libcgi-1.0/src# gcc -v Reading specs from /usr/lib/gcc-lib/sh4-linux/3.0.3/specs Configured with: ../configure --host=sh4-linux --build=i686-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --target=sh4-linux --enable-shared --enable-languages=c,c++ --enable-threads --disable-c99 --with-system-zlib --with-cpu=sh4 Thread model: posix gcc version 3.0.3 (STMicroelectronics/Linux Base 3.0.3-3) Best regards, Vasya HS8JCV wrote: >I will libcgi for arm linux. >How to install it. >I try about this. > >make CC=arm-linux-gcc >This process complie ok. >and >cp src/cgi.h /usr/local/arm/2.95.3/arm-linux/include/ >cp src/session.h /usr/local/arm/2.95.3/arm-linux/include/ >cp src/libcgi.a /usr/local/arm/2.95.3/arm-linux/lib/ >cp src/libcgi.so /usr/local/arm/2.95.3/arm-linux/lib/ > >and >I try complie sourcecode in example/simple_form/ with make CC=arm-linux-gcc >I not complete.It show about this. > >arm-linux-gcc -Wall -lcgi form1.c -o ./form1.cgi >/usr/local/arm/2.95.3/arm-linux/lib/libcgi.so: undefined reference to `va_copy' >collect2: ld returned 1 exit status >make: *** [all] Error 1 > >why. >How to install it for arm-linux. > >best regard >X@ARM > > >------------------------------------------------------- >This SF.Net email is sponsored by Oracle Space Sweepstakes >Want to be the first software developer in space? >Enter now for the Oracle Space Sweepstakes! >http://ads.osdn.com/?ad_ids93&alloc_id281&opick >_______________________________________________ >Libcgi-general mailing list >Lib...@li... >https://lists.sourceforge.net/lists/listinfo/libcgi-general > > > |
From: HS8JCV <hs...@gm...> - 2005-05-13 21:33:44
|
I will libcgi for arm linux. How to install it. I try about this. make CC=3Darm-linux-gcc This process complie ok. and cp src/cgi.h /usr/local/arm/2.95.3/arm-linux/include/ cp src/session.h /usr/local/arm/2.95.3/arm-linux/include/ cp src/libcgi.a /usr/local/arm/2.95.3/arm-linux/lib/ cp src/libcgi.so /usr/local/arm/2.95.3/arm-linux/lib/ and I try complie sourcecode in example/simple_form/ with make CC=3Darm-linux-g= cc I not complete.It show about this. arm-linux-gcc -Wall -lcgi form1.c -o ./form1.cgi /usr/local/arm/2.95.3/arm-linux/lib/libcgi.so: undefined reference to `va_c= opy' collect2: ld returned 1 exit status make: *** [all] Error 1 why. How to install it for arm-linux. best regard X@ARM |
From: Vasiliy N. <va...@ya...> - 2005-04-06 14:50:16
|
Hello, My gcc: root@(none):/home/vasya/install/libcgi-1.0/src# gcc -v Reading specs from /usr/lib/gcc-lib/sh4-linux/3.0.3/specs Configured with: ../configure --host=sh4-linux --build=i686-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --target=sh4-linux --enable-shared --enable-languages=c,c++ --enable-threads --disable-c99 --with-system-zlib --with-cpu=sh4 Thread model: posix gcc version 3.0.3 (STMicroelectronics/Linux Base 3.0.3-3) when I compile, it puts error: cc -c -o src/string.o src/string.c src/string.c: In function `make_string': src/string.c:587: incompatible type for argument 2 of `__builtin_va_copy' make: *** [src/string.o] Error 1 I changed line 587 from: 587 va_copy(bkp, str); to: 587 va_copy(bkp, ptr); And it compiled it without errors. |
From: Vasiliy N. <va...@ya...> - 2005-04-05 12:03:03
|
Hello, Function htmlentities() in src file general.c allocates result string dynamically. But in example /examples/strings/htmlentities.c string is not freed: 25 puts(htmlentities(q)); Of course it works, but I guess it's not good. Best regards, Vasya |
From: Rafael S. <ra...@in...> - 2004-12-23 19:31:38
|
Well.... as I don't work on libcgi updates for a very long time, I'm including one of the patches I received many time ago. You can try integrating it with libcgi. Rafael Simon Poole wrote: > Rafael, > > Could you post any of file upload patches you mentioned? Would be > helpful.. > > Thanks > > -- > Simon Poole > www.appliancestudio.com > |
From: Simon P. <sim...@th...> - 2004-11-19 13:33:58
|
The patch attached fixes redirect behaviour when libcgi is used with Busybox's httpd and a Mozilla browser. I can't remember the exact details of the problem as I've been sitting on this patch for a while, but it's worth sharing anyhow. IIRC, Internet Explorer was coping well and redirecting, but Mozilla would just display the "Location:" header verbatim as if it were content. -- Simon Poole www.appliancestudio.com |
From: Simon P. <sim...@th...> - 2004-11-19 13:25:20
|
Rafael, Could you post any of file upload patches you mentioned? Would be helpful.. Thanks -- Simon Poole www.appliancestudio.com |
From: Rafael S. <ra...@in...> - 2004-09-27 19:25:56
|
Nope.. Some users sent pachtes to have file upload working, but I never released the version. Rafael Scott Dudley wrote: > > Does libcgi have file upload capability? I didn't see it in the > documentation. > > Thanks. > |
From: Scott D. <sc...@te...> - 2004-09-27 19:13:54
|
Does libcgi have file upload capability? I didn't see it in the documentation. Thanks. -- Regards, Scott Dudley |
From: Vuong N. V. <vu...@Cy...> - 2004-08-14 06:02:36
|
Hi! please, send to thank for your help about lib libcgi. I 'm very happiness and I have a problems about expire time. =20 i would like expire time but this lib is not , so you have any sample = about expire time, please for me=20 =20 thank you ! good luck ! Vuong Nguyen |
From: Rafael S. <ra...@in...> - 2004-05-18 13:19:09
|
cgi_process_form() returns a *formvars type, as you can see in the source or in the documentation. You could use this type to loop by all elements. Another way, using sessions, is in the "session" example. Rafael Bill Moseley wrote: >I need to covert all the form parameters into a new query string -- but >I do not know the names of the form variables. > >My quick look at the API doesn't show a method for this -- seems like I >need to specify the name. What does cgi_process_form() return? Would >that provide me with that info? > >I need a simple click-through script -- where GET or POST parameters are >read and built into a new query string and then a redirect is sent. One >of the passed in parameters is the URL of the redirect location. > >For example, I might have a form: > ><FORM method=GET action="http://localhost/redirect.cgi"> > <input type="hidden" name="__redirect" value="http://google.com"> > <INPUT TYPE=hidden name=num value=50> > <INPUT TYPE=hidden name=hl value=en> > <INPUT TYPE=hidden name=safe value=off> > <INPUT TYPE="text" NAME="q" VALUE="" SIZE="30" MAXLENGTH="256"> > <INPUT TYPE="submit" VALUE="Go"> ></FORM> > >That would generate a redirect with a Location: of: > > http://google.com?num=50&hl=en&save=off&q=query > >The point, of course, is to log the click-throughs on external links. > > >By the way -- there seems to be a number of C cgi libraries around. >Anyone know how they compare? > >Thanks > > > > > > > |
From: Bill M. <mo...@ha...> - 2004-05-17 23:14:48
|
I need to covert all the form parameters into a new query string -- but I do not know the names of the form variables. My quick look at the API doesn't show a method for this -- seems like I need to specify the name. What does cgi_process_form() return? Would that provide me with that info? I need a simple click-through script -- where GET or POST parameters are read and built into a new query string and then a redirect is sent. One of the passed in parameters is the URL of the redirect location. For example, I might have a form: <FORM method=GET action="http://localhost/redirect.cgi"> <input type="hidden" name="__redirect" value="http://google.com"> <INPUT TYPE=hidden name=num value=50> <INPUT TYPE=hidden name=hl value=en> <INPUT TYPE=hidden name=safe value=off> <INPUT TYPE="text" NAME="q" VALUE="" SIZE="30" MAXLENGTH="256"> <INPUT TYPE="submit" VALUE="Go"> </FORM> That would generate a redirect with a Location: of: http://google.com?num=50&hl=en&save=off&q=query The point, of course, is to log the click-throughs on external links. By the way -- there seems to be a number of C cgi libraries around. Anyone know how they compare? Thanks -- Bill Moseley mo...@ha... |
From: <sn...@re...> - 2004-03-31 20:11:30
|
when i call cgi_session_start() and i have a session var registered an error 500 occur if i delete the archive cookie and i reinter the page complete successfull i destroy the session and restart a session and register a var. the next cgi_session_start() fail .... this is a strange error and it only occurs at the login check... after this if i pass manualy to another link the rest will work successfuly with cgi_session_start()... If someone had the same problem, please send me a feetback. Sebastien Nadeau |