[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [microblaze-uclinux] bug httpd petalinux_v010-rc1
Hi John, chun yeow
Finally I have used fnork, it is working fine. Thank you for your help.
Now, I can execute cgi scripts and html files, but there is something
that I don't understand.
When I execute the ps command in petalinux, I can't find the process
fnord. I have try to find too the fnord config file in the romfs folder
and I didn't find it.
Best regards,
Sebastien
-----Original Message-----
From: owner-microblaze-uclinux@xxxxxxxxxxxxxx
[mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of John
Williams
Sent: 23 July 2007 23:11
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: Re: [microblaze-uclinux] bug httpd petalinux_v010-rc1
Hi Sebastien,
Sebastien Baldacchino wrote:
>
> Finally, I think that I know my problem with httpd. Inside
> petalinux.v10-rc1, I can't enable the option enable cgi script for
httpd
> ( busy Box ---> htttpd ---> support cgi script)
>
> I have always a compilation error. Is there a patch for this problem?
>
>
> busybox.elf2flt: In function `httpd_main':
>
/proj/ms/sebastien/petalinux/backup/19_07/petalinux-v0.10-rc1/software/p
etalinux-dist/user/busybox/networking/httpd.c(.text+0x11c58):
> undefined reference to `daemon'
daemon is a C library function used to fork a process into the
background (daemonize). This function is not supported on NOMMU
architectures like MicroBlaze.
I do not use busybox's HTTPD, but rather recommend using thttpd or
fnord. fnord is my preference if you are doing any serious CGI due to
some other NOMMU-related issues in thttpd's handing of get/post methods.
Try disabling busybox's httpd option, and enable fnord in the menu
config. Do "make user_only" *twice* (due to busybox build issues),
remove the petalinux-dist/romfs directory, then run "make romfs image".
From memory the fnord config file is identical syntax - it's very easy
to get going.
Regards,
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/