Hello,
I have problems compiling aRts under RH8:
after ./configure --prefix=/usr/local/opt --with-alsa
make give me a 'virtual memory exhausted' error.
An strace reveals an error in mremap.

I have an Athlon xp 1800+, 256M RAM 800M swap

Any ideas how to solve this?
Thank in advance

Hicham

Script started on Thu Nov  7 21:43:43 2002
[amaoui@penguin arts]$ ./configure --prefix=/usr/local/opt --with-alsa
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu

....deleted configure output...

configure: creating ./config.status
fast creating Makefile
fast creating artsc/Makefile
fast creating doc/Makefile
fast creating examples/Makefile
fast creating flow/Makefile
fast creating flow/gsl/Makefile
fast creating flow/gslpp/Makefile
fast creating flow/mcopclass/Makefile
fast creating gmcop/Makefile
fast creating libltdl/Makefile
fast creating mcop/Makefile
fast creating mcopidl/Makefile
fast creating mcop_mt/Makefile
fast creating qtmcop/Makefile
fast creating soundserver/Makefile
fast creating tests/Makefile
fast creating x11/Makefile
fast creating artsc/artsc-config
fast creating artsc/artsdsp
fast creating soundserver/artsversion-new.h
fast creating flow/gsl/gslconfig.h
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
Good - your configure finished. Start make now
[amaoui@penguin arts]$ make
cd . \
  && CONFIG_FILES= CONFIG_HEADERS=config.h \
     /bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
make  all-recursive
make[1]: Entering directory `/home/amaoui/Downloads/kde/arts'
Making all in libltdl
make[2]: Entering directory `/home/amaoui/Downloads/kde/arts/libltdl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/amaoui/Downloads/kde/arts/libltdl'
Making all in mcop
make[2]: Entering directory `/home/amaoui/Downloads/kde/arts/mcop'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/amaoui/Downloads/kde/arts/mcop'
Making all in mcopidl
make[2]: Entering directory `/home/amaoui/Downloads/kde/arts/mcopidl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/amaoui/Downloads/kde/arts/mcopidl'
Making all in flow
make[2]: Entering directory `/home/amaoui/Downloads/kde/arts/flow'
make[2]: *** virtual memory exhausted.  Stop.
make[2]: Leaving directory `/home/amaoui/Downloads/kde/arts/flow'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/amaoui/Downloads/kde/arts'
make: *** [all] Error 2
[amaoui@penguin arts]$ free
             total       used       free     shared    buffers     cached
Mem:        255408     139640     115768          0      10948      71504
-/+ buffers/cache:      57188     198220
Swap:       851404          0     851404
[amaoui@penguin arts]$ cd flow
[amaoui@penguin flow]$ strace make
execve("/usr/bin/make", ["make"], [/* 31 vars */]) = 0

....delete some lines...

brk(0x807d000)                          = 0x807d000
brk(0x807e000)                          = 0x807e000
brk(0x807f000)                          = 0x807f000
brk(0x8080000)                          = 0x8080000
read(3, "dir=../$(distdir)/$$subdir \\\n\t  "..., 4096) = 4096
brk(0x8081000)                          = 0x8081000
brk(0x8082000)                          = 0x8082000
brk(0x8083000)                          = 0x8083000
brk(0x8084000)                          = 0x8084000
read(3, ") -c libartsflow_idl_la_closure."..., 4096) = 4096
brk(0x8085000)                          = 0x8085000
brk(0x8086000)                          = 0x8086000
brk(0x8089000)                          = 0x8089000
brk(0x808d000)                          = 0x808d000
brk(0x8097000)                          = 0x8097000
brk(0x80aa000)                          = 0x80aa000
mmap2(NULL, 208896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40227000
brk(0x8084000)                          = 0x8084000
mremap(0x40227000, 208896, 413696, MREMAP_MAYMOVE) = 0x40227000
mremap(0x40227000, 413696, 823296, MREMAP_MAYMOVE) = 0x40227000
mremap(0x40227000, 823296, 1642496, MREMAP_MAYMOVE) = 0x40227000
mremap(0x40227000, 1642496, 3280896, MREMAP_MAYMOVE) = 0x40227000
mremap(0x40227000, 3280896, 6557696, MREMAP_MAYMOVE) = 0x40227000
mremap(0x40227000, 6557696, 13111296, MREMAP_MAYMOVE) = 0x40227000
mremap(0x40227000, 13111296, 26218496, MREMAP_MAYMOVE) = 0x40227000
mremap(0x40227000, 26218496, 52432896, MREMAP_MAYMOVE) = 0x4212f000
mremap(0x4212f000, 52432896, 104861696, MREMAP_MAYMOVE) = 0x4212f000
mremap(0x4212f000, 104861696, 209719296, MREMAP_MAYMOVE) = 0x4212f000
mremap(0x4212f000, 209719296, 419434496, MREMAP_MAYMOVE) = 0x4212f000
mremap(0x4212f000, 419434496, 838864896, MREMAP_MAYMOVE) = 0x4212f000
mremap(0x4212f000, 838864896, 1677725696, MREMAP_MAYMOVE) = 0x4212f000
mremap(0x4212f000, 1677725696, 3355447296, MREMAP_MAYMOVE) = -1 ENOMEM (Cannot 
allocate memory)
mmap2(NULL, 3355447296, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 
EINVAL (Invalid argument)
mmap2(NULL, 3355447296, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 
EINVAL (Invalid argument)
mmap2(NULL, 2097152, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 
0x40227000
munmap(0x40227000, 888832)              = 0
munmap(0x40400000, 159744)              = 0
mprotect(0x40300000, 32768, PROT_READ|PROT_WRITE) = 0
mmap2(NULL, 3355447296, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 
EINVAL (Invalid argument)
open("/usr/share/locale/locale.alias", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=2601, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
read(4, "# Locale name alias data base.\n#"..., 4096) = 2601
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x40014000, 4096)                = 0
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No 
such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No 
such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/usr/share/locale/en/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file 
or directory)
write(2, "make: *** ", 10make: *** )              = 10
write(2, "virtual memory exhausted", 24virtual memory exhausted) = 24
write(2, ".  Stop.\n", 9.  Stop.
)               = 9
chdir("/home/amaoui/Downloads/kde/arts/flow") = 0
_exit(2)                                = ?
[amaoui@penguin flow]$

Reply via email to