[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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/petalinux-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/