[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AW: [microblaze-uclinux] bug httpd petalinux_v010-rc1
Hello John,
I would like to use fnord too.
I downloaded petalinux-v0.20-rc3.tar.gz from the petalogix site.
When I run "make user_only" I get next error:
/home/petalinux-v0.20-rc3/tools/linux-i386/microblaze-uclinux-tools/bin/
../lib/gcc/microblaze-uclinux/3.4.1/../../../../microblaze-uclinux/bin/l
d.real: unrecognized option `--fatal-warnings'
/home/petalinux-v0.20-rc3/tools/linux-i386/microblaze-uclinux-tools/bin/
../lib/gcc/microblaze-uclinux/3.4.1/../../../../microblaze-uclinux/bin/l
d.real: use the --help option for usage information
collect2: ld returned 1 exit status
make[2]: *** [busybox] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis
»/home/petalinux-v0.20-rc3/software/petalinux-dist/user/busybox«
make[1]: *** [all] Fehler 2
make[1]: Verlassen des Verzeichnisses Verzeichnis
»/home/petalinux-v0.20-rc3/software/petalinux-dist/user«
make: *** [user_only] Fehler 2
What could I do?
By the way, using kernel version 2.6, where should I put my file
auto-config.in?
Should I choose vendot: Petalinux and target: microblaze-auto?
Thanks a lot.
Raul Camaras
-----Ursprüngliche Nachricht-----
Von: owner-microblaze-uclinux@xxxxxxxxxxxxxx
[mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] Im Auftrag von John
Williams
Gesendet: Dienstag, 24. Juli 2007 00:11
An: microblaze-uclinux@xxxxxxxxxxxxxx
Betreff: 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/