aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Amule Compile Crashes compiling amule-muuli_wdr -> Solution  (Read 1945 times)

trumpton

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1

When Compiling amule, I get an error message as shown below:

make[2]: Entering directory `/home/steve/src/amule/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include    -MT amule-muuli_wdr.o -MD -MP -MF ".deps/amule-muuli_wdr.Tpo" \
  -c -o amule-muuli_wdr.o `test -f 'muuli_wdr.cpp' || echo './'`muuli_wdr.cpp; \
then mv ".deps/amule-muuli_wdr.Tpo" ".deps/amule-muuli_wdr.Po"; \
else rm -f ".deps/amule-muuli_wdr.Tpo"; exit 1; \
fi
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See https://qa.mandrakesoft.com/> for instructions.
make[2]: *** [amule-muuli_wdr.o] Error 1
make[2]: Leaving directory `/home/steve/src/amule/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/steve/src/amule'
make: *** [all] Error 2


It's not very helpful, but in my case, was caused by insufficient memory.  Hint is to start the perf meter, and watch its resource usage climb until crash.

Solution is to add more memory, or swapspace:

dd if=/dev/zero of=/swapfile bs=1024 count=512000
mkswap -p 1 /swapfile
swapon /swapfile

And then try a re-compile.

Note that the swap adding shown above is purely temporary, and won't survive a reboot (well, the file will stay, but it will need to be re-swaponned next time).  To make this permanent, a swapfile entry needs to go in /etc/fstab.

Steve
« Last Edit: May 04, 2004, 10:02:17 PM by trumpton »
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Amule Compile Crashes compiling amule-muuli_wdr -> Solution
« Reply #1 on: May 04, 2004, 10:06:32 PM »

hiya and thanky,

other solution would be to reboot without X and recompile amule

greets