On 2017-03-10 23:39, LOS Stéphane wrote:
> Hello there,
> 
> Since "Gnoga" uses "Simple Components" and this one has tests available
> I have compiled and run "test_http_server" and got the log file attached
> which may shed some light on the problem I'm facing on the Raspberry Pi.
> 
> It looks like some parts of the request are lost somewhere since it says :
> 192.168.0.206:52790 > |GET / HTTP/1.1%0D%0AHost:
> 192.168.0.252:8080%0D%0AUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64;
> rv:51.0) Gecko/20100101 Firefox/51.0%0D%0AAccept:
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8%0D%0AAccept-Language:
> fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3%0D%0AAccept-Encoding: gzip,
> deflate%0D%0AConnection: keep-alive%0D%0AUpgrade-Insecure-Requests:
> 1%0D%0AIf-Modified-Since: Tue, 07 Mar 2017 10:53:47
> GMT%0D%0AIf-None-Match: "29cd-54a21d3953252-gzip"%0D%0ACache-Control:
> max-age=0%0D%0A%0D%0A| 0..460
> Processing received: Exception name: ADA.IO_EXCEPTIONS.DATA_ERROR
> Message: Method     / is not supported
> 
> where there are 4 NUL characters in :
> Message: Method NULNULNULNUL/ is not supported
> 
> Anyone else running "Gnoga" or "Simple Components" on Raspberry Pi 1
> Model B+ / Debian Jessie ?
> 



Stéphane,
I got the same problem

I got a pi 1B (no +, and 256 mb ram)

pi@raspberrypi ~/simple_components/test_components $ cat /proc/cpuinfo
processor       : 0
model name      : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 2.00
Features        : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 7

Hardware        : BCM2708
Revision        : 0002
Serial          : 00000000cf92fd21


I downloaded simple components with
wget http://www.dmitry-kazakov.de/ada/components_4_19.tgz

tar xvzf components_4_19.tgz

which gave me
tar: A lone zero block at 33580

md5sum components_4_19.tgz
6f26eb8561677fef41e0a1ae295c0bee  components_4_19.tgz



However it did unpack enough files to
cd test_components/
gprbuild -p -P
components-connections_server-http_server-test_http_server.gpr


and run it with
sudo ./test_http_server 2>&1 | tee output.dat

and I get the same message,
Message: Method     / is not supported

where there are 4 NUL characters in :
Message: Method NULNULNULNUL/ is not supported


pi@raspberrypi ~/junk $ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.9/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Raspbian
4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.9 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib
--enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-gnu-unique-object --disable-libitm --disable-libquadmath
--enable-plugin --with-system-zlib --disable-browser-plugin
--enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf/jre
--enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-armhf
--with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-multiarch --disable-sjlj-exceptions
--with-arch=armv6 --with-fpu=vfp --with-float=hard
--enable-checking=release --build=arm-linux-gnueabihf
--host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 4.9.2 (Raspbian 4.9.2-10)
pi@raspberrypi ~/junk $


pi@raspberrypi ~/junk $ cat /etc/debian_version
8.0




--
Björn

------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to