Hi,

Have you already check the CGi-examples from uClinux?

En/na Leonid ha escrit:
Hi:

I want to run some CGI scripts on the target. Does somebody have any
HOWTO for that?

I basically look for simplest way to execute commands on target via WEB.
I thought CGI is simplest, but may be it's wrong for microblaze?

I also tried to enable perl in Petalinux configuration, but compilation
fails:

x-v0.10-rc1/software/petalinux-dist -Dlinux -D__linux__ -Dunix
-D__uClinux__ -O2
sv.c: In function `Perl_sv_2pv':
sv.c:2098: warning: implicit declaration of function `gcvt'
sv.c: In function `Perl_sv_utf8_decode':
sv.c:2489: warning: unused variable `has_utf'
sv.c: In function `Perl_sv_setpvn':
sv.c:2959: warning: unused variable `iv'
sv.c: In function `Perl_sv_magic':
sv.c:3345: warning: suggest explicit braces to avoid ambiguous `else'
sv.c: In function `Perl_sv_unmagic':
sv.c:3491: warning: suggest explicit braces to avoid ambiguous `else'
sv.c: In function `Perl_sv_gets':
sv.c:4419: error: structure has no member named `_IO_read_end'
sv.c:4419: error: structure has no member named `_IO_read_ptr'
sv.c:4435: error: structure has no member named `_IO_read_ptr'
sv.c:4473: error: structure has no member named `_IO_read_ptr'
sv.c:4486: error: structure has no member named `_IO_read_end'
sv.c:4486: error: structure has no member named `_IO_read_ptr'
sv.c:4487: error: structure has no member named `_IO_read_ptr'
sv.c:4514: error: structure has no member named `_IO_read_ptr'
make[2]: *** [sv.o] Error 1
make[2]: Leaving directory
`/home/leonid/lm125/uClinux/petalinux-v0.10-rc1/software/petalinux-dist/
user/perl'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/leonid/lm125/uClinux/petalinux-v0.10-rc1/software/petalinux-dist/
user'
make: *** [subdirs] Error 1

What else shall I enable?

Thanks,

Leonid.
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

--
Daniel Alomar i Claramonte
Research & Development Electronic Dept.
SERRA SOLDADURA, S.A.
WEB Site: http://www.serrasold.com
Knowledge Site: http://serratron.serrasold.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to