* [Buildroot] Webserver
@ 2009-02-04 16:24 Dan Pattison
2009-02-05 17:12 ` Hodgson, Simon
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Dan Pattison @ 2009-02-04 16:24 UTC (permalink / raw)
To: buildroot
Hello List:
We are using buildroot v2009.02 on a Fedora 10 linux distro. Our
architecture is for Atmel AT91SAM9G20-EK development board. We want a
more robust web server than the BOA or Busybox HTTPD. Our main
requirement is to have the web server make a web browser (IE6, IE7,
Firefox etc.) display a login/password box. It seems the two mentioned
web servers do not support this.
Apache seems overkill for our needs, so we wanted to try
Cherokee-0.98.1: http://www.cherokee-project.com/
Using /buildroot/scripts/add_new_package.wizard we are able to make our
package show up in the make menuconfig configurator utility. When we do
a make from the top level directory we can see Cherokee gets downloaded
and starts to compile, but it errors out with these errors below:
spawn-fcgi.o: In function
`fcgi_spawn_connection':
spawn-fcgi.c:(.text+0x340): undefined reference to `rpl_malloc'
collect2: ld returned 1 exit
status
make[3]: *** [spawn-fcgi] Error
1
make[3]: Leaving directory
`/home/ethertek/rms200/buildroot/build_arm/cherokee-0.98.1/contrib'
make[2]: *** [all-recursive] Error
1
make[2]: Leaving directory
`/home/ethertek/rms200/buildroot/build_arm/cherokee-0.98.1'
make[1]: *** [all] Error
2
make[1]: Leaving directory
`/home/ethertek/rms200/buildroot/build_arm/cherokee-0.98.1'
make: ***
[/home/ethertek/rms200/buildroot/build_arm/cherokee-0.98.1/.stamp_built]
Error 2
We can see the error: undefined reference to `rpl_malloc', but being new
to cross compiling, we do not know how to fix it.
Can someone please help us get cherokee to compile for our architecture?
Also, when using the add_new_package.wizard, how do you know when to
select "Does autoreconf need to be run first?". It did not seem to
matter in the case of cross compiling Cherokee-0.98.1
Lastly, does anyone know of a different web server for Buildroot that
will make the most common web browsers (IE6, IE7, Firefox etc) pop up
the username/password box?
Thank you, and Best Regards,
Dan Pattison
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Webserver
2009-02-04 16:24 [Buildroot] Webserver Dan Pattison
@ 2009-02-05 17:12 ` Hodgson, Simon
2009-02-05 22:06 ` Hamish Moffatt
2009-02-06 11:21 ` Gustavo Zacarias
2 siblings, 0 replies; 4+ messages in thread
From: Hodgson, Simon @ 2009-02-05 17:12 UTC (permalink / raw)
To: buildroot
I'm using thttpd for a project to do this. Doesn't have a lot of features but basic HTTP auth is one of them. It's included in the list of supported packages in Buildroot.
Simon
-----Original Message-----
From: buildroot-bounces@busybox.net [mailto:buildroot-bounces at busybox.net] On Behalf Of Dan Pattison
Sent: 04 February 2009 16:25
To: buildroot at busybox.net
Subject: [Buildroot] Webserver
Hello List:
We are using buildroot v2009.02 on a Fedora 10 linux distro. Our
architecture is for Atmel AT91SAM9G20-EK development board. We want a
more robust web server than the BOA or Busybox HTTPD. Our main
requirement is to have the web server make a web browser (IE6, IE7,
Firefox etc.) display a login/password box. It seems the two mentioned
web servers do not support this.
Apache seems overkill for our needs, so we wanted to try
Cherokee-0.98.1: http://www.cherokee-project.com/
Using /buildroot/scripts/add_new_package.wizard we are able to make our
package show up in the make menuconfig configurator utility. When we do
a make from the top level directory we can see Cherokee gets downloaded
and starts to compile, but it errors out with these errors below:
spawn-fcgi.o: In function
`fcgi_spawn_connection':
spawn-fcgi.c:(.text+0x340): undefined reference to `rpl_malloc'
collect2: ld returned 1 exit
status
make[3]: *** [spawn-fcgi] Error
1
make[3]: Leaving directory
`/home/ethertek/rms200/buildroot/build_arm/cherokee-0.98.1/contrib'
make[2]: *** [all-recursive] Error
1
make[2]: Leaving directory
`/home/ethertek/rms200/buildroot/build_arm/cherokee-0.98.1'
make[1]: *** [all] Error
2
make[1]: Leaving directory
`/home/ethertek/rms200/buildroot/build_arm/cherokee-0.98.1'
make: ***
[/home/ethertek/rms200/buildroot/build_arm/cherokee-0.98.1/.stamp_built]
Error 2
We can see the error: undefined reference to `rpl_malloc', but being new
to cross compiling, we do not know how to fix it.
Can someone please help us get cherokee to compile for our architecture?
Also, when using the add_new_package.wizard, how do you know when to
select "Does autoreconf need to be run first?". It did not seem to
matter in the case of cross compiling Cherokee-0.98.1
Lastly, does anyone know of a different web server for Buildroot that
will make the most common web browsers (IE6, IE7, Firefox etc) pop up
the username/password box?
Thank you, and Best Regards,
Dan Pattison
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Webserver
2009-02-04 16:24 [Buildroot] Webserver Dan Pattison
2009-02-05 17:12 ` Hodgson, Simon
@ 2009-02-05 22:06 ` Hamish Moffatt
2009-02-06 11:21 ` Gustavo Zacarias
2 siblings, 0 replies; 4+ messages in thread
From: Hamish Moffatt @ 2009-02-05 22:06 UTC (permalink / raw)
To: buildroot
On Wed, Feb 04, 2009 at 08:24:30AM -0800, Dan Pattison wrote:
> spawn-fcgi.c:(.text+0x340): undefined reference to `rpl_malloc'
> collect2: ld returned 1 exit status
[...]
> We can see the error: undefined reference to `rpl_malloc', but being new
> to cross compiling, we do not know how to fix it.
I've got a similar problem with a local package here. I put the
following in xxx_CONF_OPT (xxx being the package prefix in the .mk):
xxx_CONF_OPT = ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes
> Also, when using the add_new_package.wizard, how do you know when to
> select "Does autoreconf need to be run first?". It did not seem to
> matter in the case of cross compiling Cherokee-0.98.1
It may still be needed on other architectures, but leave it off for now.
> Lastly, does anyone know of a different web server for Buildroot that
> will make the most common web browsers (IE6, IE7, Firefox etc) pop up
> the username/password box?
Almost any web server should support basic authentication?
Hamish
--
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Webserver
2009-02-04 16:24 [Buildroot] Webserver Dan Pattison
2009-02-05 17:12 ` Hodgson, Simon
2009-02-05 22:06 ` Hamish Moffatt
@ 2009-02-06 11:21 ` Gustavo Zacarias
2 siblings, 0 replies; 4+ messages in thread
From: Gustavo Zacarias @ 2009-02-06 11:21 UTC (permalink / raw)
To: buildroot
Dan Pattison wrote:
> Lastly, does anyone know of a different web server for Buildroot that
> will make the most common web browsers (IE6, IE7, Firefox etc) pop up
> the username/password box?
>
> Thank you, and Best Regards,
> Dan Pattison
You could also use lighttpd, it's somewhat bigger than the others but
it's feature-plenty.
It's already in buildroot, just enable the mod_auth module and you're
set to go...
Regards.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-02-06 11:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-04 16:24 [Buildroot] Webserver Dan Pattison
2009-02-05 17:12 ` Hodgson, Simon
2009-02-05 22:06 ` Hamish Moffatt
2009-02-06 11:21 ` Gustavo Zacarias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox