Thursday, 3 April 2014

[gccsdk] GCC and GNUTLS - compiling problems

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9-sb1 (RISC OS)

iEYEARECAAYFAlM+HUMACgkQMW7z1TXh9lTMKACeLn3HQJhK2EmO+86Sa70DB3P1
Oz4An3IDnr+Aon6a3cq9aYn0w1PUv/sA
=L4BE
-----END PGP SIGNATURE-----
Hi all,

I tried to include code from !LibGNUTLS using the commands

gcc cert5.c -o cert5 -LLibGNUTLS: -lgnutls

but it ends with

LibGNUTLS:/libgnutls.a(gnutls_errors.o): In function `gnutls_perror':
gnutls_errors.c:(.text+0xd8): undefined reference to `libintl_dgettext'
gnutls_errors.c:(.text+0xf8): undefined reference to `libintl_dgettext'

[a HUGE snip]

LibGNUTLS:/libgnutls.a(sign.o): In function `_gnutls_x509_pkix_sign':
sign.c:(.text+0x1a4): undefined reference to `asn1_copy_node'
sign.c:(.text+0x294): undefined reference to `asn1_write_value'
collect2: ld returned 1 exit status
*

At the moment I don't know what's going wrong. Any help is appreciated.
Thanks.

Alex

--
Waldkraiburg, Bavaria
Sent wirelessly from RISC OS

Re: [Rpcemu] Firefox on rpcemu

In message <5329EDD4.1030408@theglovers.name>
Philip Glover <philip@theglovers.name> wrote:

> After much trial and (mostly) error. I am now able to connect to the
> internet, and would like to use Firefox in addition to Netsurf as
> Browser. Has anyone managed to get this running on rpcemu, and if so
> which version did they use, and any tips to get it to run? I am using
> 0.8.11 and OS 5.21 on Linux Mint 16. TIA
>
I have run Firefox (the Feb '08, RISC OS Release 4 RiscPC version) on
my setup here (Win7-64, RPCEmu 0.8.11/RO 4.02), but honestly, why
would you want to? The PC version is newer, more secure, more stable
and much faster, and accessible by pressing Alt-Tab any time you want.
If you were running a standalone RISC OS machine I can see you might
want a browser with more effective Javascript than NetSurf (albeit
much slower and less stable), but as one of the merits of RPCEmu is
that one has instant access to the PC side, what's the point?

George

--
george greenfield

_______________________________________________
Rpcemu mailing list
Rpcemu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

[gccsdk] Diffutils no longer compiles

I've just tried compiling the latest diffutils with the GCCSDK
version 4.1.2 and 4.7 are both the same and it comes up with
the error:
 
  CC       gettime.o
In file included from ./sys/time.h:30,
                 from gettime.c:24:
/home/riscos/cross/lib/gcc/arm-unknown-riscos/4.1.2/../../../../arm-unknown-riscos/include/sys/time.h:75: error: conflicting types for 'rpl_gettimeofday'
./sys/time.h:401: error: previous declaration of 'rpl_gettimeofday' was here
make[2]: *** [gettime.o] Error 1
make[2]: Leaving directory `/home/alanb/build/diffutils/diffutils-3.3/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/alanb/build/diffutils/diffutils-3.3/lib'
make: *** [all-recursive] Error 1
 
I've tried to untangle what's going on and it seems like <sys/time.h> is
including the local sys/time.h rather than the system one. But I may
be wrong?
 
Can someone have a look at it and see how to fix it please?
 
Thanks,
Alan
 

Wednesday, 2 April 2014

Static analysis with cppcheck

We've added cppcheck to the CI server.

You can get to its output from

http://ci.netsurf-browser.org/jenkins/job/cppcheck-netsurf/

Unlike the scan-build static analysis tool, this one analyses
everything, so it includes all the platform code for e.g. amiga, atari,
riscos, etc.

The scan-build results are also available on the CI server but only
cover core, framebuffer front end, and our library code.

Hopefully the cppcheck results will be useful. I've fixed a few issues
it found in riscos/ already. It's not found much in the core, but that
code is already well checked by Coverity and scan-build.

Cheers,

Michael

Re: NetSurf 3.1 Change Log

On Wed, 2 Apr 2014 09:00:12 +0300, Daniel Silverstone wrote:

> > > http://www.netsurf-browser.org/temp/ChangeLog.txt
> > >
> > > Anyone see anything wrong/missing?
> >
> > No, not unless sombody wants to merge my branches before the 3.1
> > release.
>
> I think we want more time to review your IDNA work before merging it. I need
> time to build it, properly review the code, etc. And I would want it in master
> for at least a month or two before a release because it's so fundamental and we
> will need time to put the display heuristics into the GUIs.
>
> The HTTP/2.0 stuff I'd also like a longer period of testing for. Let's get 3.1
> out and then we can look to merging those branches.

That's what I expected.

> Did I miss anything?

Not that I know of.

Chris

Tuesday, 1 April 2014

Re: NetSurf 3.1 Change Log

On Tue, Apr 01, 2014 at 18:09:37 +0100, Chris Young wrote:
> On Tue, 01 Apr 2014 08:16:36 +0100, Michael Drake wrote:
>
> > http://www.netsurf-browser.org/temp/ChangeLog.txt
> >
> > Anyone see anything wrong/missing?
>
> No, not unless sombody wants to merge my branches before the 3.1
> release.

I think we want more time to review your IDNA work before merging it. I need
time to build it, properly review the code, etc. And I would want it in master
for at least a month or two before a release because it's so fundamental and we
will need time to put the display heuristics into the GUIs.

The HTTP/2.0 stuff I'd also like a longer period of testing for. Let's get 3.1
out and then we can look to merging those branches.

Did I miss anything?

D.


--
Daniel Silverstone http://www.netsurf-browser.org/
PGP mail accepted and encouraged. Key Id: 3CCE BABE 206C 3B69

Re: NetSurf 3.1 Change Log

On Tue, 01 Apr 2014 08:16:36 +0100, Michael Drake wrote:

> http://www.netsurf-browser.org/temp/ChangeLog.txt
>
> Anyone see anything wrong/missing?

No, not unless sombody wants to merge my branches before the 3.1
release.

Chris