Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Programming in Linux _ Compilation problem with Emacs21.4a

Posted by: Nerdio Oct 7 2006, 01:40 PM

I have decided that I need to learn Emacs before knuckling down to some Linux programming. I couldn't locate Emacs in my Fedora Core 5 installation, so downloaded it I have tried to copile it as directed, i.e.

./configure

which seems to be normal, then

make

which compiles the code, with plenty of warnings, then falls over at the last hurdle and says this.

make[1]: *** [emacs] Segmentation fault
make[1]: *** Deleting file `emacs'
make[1]: Leaving directory `/home/...........
make: *** [src] Error 2

I am naturally a bit disappointed, and too much of a newbie to dive in to this, and find out what is wrong. Is this a library issue or something, hence all the compilation warnings?

Any thoughts would be appreciated.

Nerdio

Posted by: DS2K3 Oct 12 2006, 02:16 PM

A segfault happens when a program tries to access memory that hasn't been allocated to it. Make sure that your copy of gcc (the C compiler) is up to date since it might be a memory leak or other compiler-related bug.

D

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)