Re: [uClinux-dev] CGI scripts on uClinux.

2007-04-11 Thread Daniel Alomar

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


RE: [uClinux-dev] CGI scripts on uClinux.

2007-04-11 Thread Leonid
Not yet, what is the best place, in uClinux tree itself?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel Alomar
Sent: Wednesday, April 11, 2007 3:46 AM
To: uClinux development list
Subject: Re: [uClinux-dev] CGI scripts on uClinux.

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
___
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


[uClinux-dev] when and where to call init_machine?

2007-04-11 Thread Shuanglin Wang

Hi All,

I'm working on porting linux kernel 2.6.19 to an arm-based customized 
board. But, I can't find where and who call init_machine. I just found 
in ~/arch/arm/kernel/setup.c init_machine is called by 
customiz_machine(). And I can't find who calls customiz_machine() too.


Can anybody help me to clean this calling issue?

Thanks a lot.

WSL


___
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