[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnunet] Compiling GNUnet/libextractor on OpenBSD
From: |
Christian Grothoff |
Subject: |
Re: [Help-gnunet] Compiling GNUnet/libextractor on OpenBSD |
Date: |
Fri, 27 Feb 2004 07:16:59 -0500 |
User-agent: |
KMail/1.4.3 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 26 February 2004 02:34 am, dot wrote:
> Hi,
>
> I am having some difficulty getting libextractor and GNUnet to compile.
> They are probably OpenBSD specific, but I thought someone out there may
> have found a solution for them.
>
> libextractor: fails in libextractor-0.2.6/src/plugins/printable
>
> [...]
> gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include
> -DFILTER_NAME=libextractor_printable_no_filter
> -DFILTER_INIT_NAME=libextractor_printable_no_filter_init
> -DEXTRACT_NAME=libextractor_printable_no_extract -fno-strict-aliasing -g
> -O2 -c no.c -Wp,-MD,.deps/libextractor_printable_no_la-no.TPlo -fPIC -DPIC
> -o .libs/libextractor_printable_no_la-no.o
> no.c:2: virtual memory exhausted
> *** Error code 1
That is very strange, compiling 'no' should not take more than a couple of
hundred MB -- and not over 1 GB as you describe it. Which version of GCC are
you using, btw? And how far does gcc's memory consumption actually grow (just
roughly, say what does 'top' show if you just watch it)?
Christian
P.S.: I don't like Igor's solution of adding external files for LE to search
and open, that just makes the installation more complicated. I'd rather hack
GCC to make sure that it can handle this kind of code :-). The solution to
remove the 'no' entry from the Makefile.am is definitely a possible
workaround.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQFAPzU79tNtMeXQLkIRAmGoAJ9Zg3CcZOdBCxSVK/2a/CFl/ZTukwCgnfG5
OiIKhOY6ehDozxwvfBjz//o=
=lAXb
-----END PGP SIGNATURE-----