Re: Compiling error on Fedora Core 1
Peter Hoffmann <[email protected]>
| Newsgroups | gmane.editors.qemacs.devel |
|---|---|
| Message-ID | <1109838745.10630.3.camel@localhost> |
On Thu, 2005-03-03 at 16:49 +1100, Justin Clift wrote: > Hi all, > > Trying to compile qemacs 0.3.1 from source on Red Hat Fedora Core 1 is > giving me this error: > > *********** > > make[1]: Leaving directory `/home/jc/install/qemacs-0.3.1/libqhtml' > gcc -DHAVE_QE_CONFIG_H -DCONFIG_ALL_KMAPS -DCONFIG_UNICODE_JOIN > -DCONFIG_ALL_MODES -Wall -g -O2 -march=i386 -falign-functions=0 > -I./libqhtml -o qe.o -c qe.c > In file included from qe.h:18, > from qe.c:19: > config.h:4:20: missing terminating " character > config.h:5:1: missing terminating " character > In file included from qe.h:30, > from qe.c:19: > cutils.h:6: error: syntax error before string constant > qe.c: In function `init_all_modules': > qe.c:6174: warning: dereferencing type-punned pointer will break > strict-aliasing rules > make: *** [qe.o] Error 1 > [jc@myhost qemacs-0.3.1]$ > > *********** > > Fedora Core 1 has gcc 3.3.2 in it (the error above). gcc 3.2.3 is also > available, but generates the same error. > > Any idea of how to get qemacs working? > This is a known problem. Either open VERSION and delete the Newline, configure and make again, or open config.h and make sure that #define QE_VERSION "0.3.1 " is changed to #define QE_VERSION "0.3.1" Regards, -- Peter Hoffmann <[email protected]>