Thread: [Libcgi-general] How to use for arm.?
Brought to you by:
rafaelsteil
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-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-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 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 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 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: 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 > > > |