[oe] emacs alternative?

captain.deadly at gmail.com captain.deadly at gmail.com
Fri Nov 5 07:35:25 UTC 2010


I posted here before to say that emacs in OE doesn't build on my machine as 
the Makefile's being generated by autotools are being corrupted somehow. I've 
not been able to get to the bottom of it at all.

I thought I saw a post here recently that mentioned an embedded version of an 
emacs editor but can't find any such email. Maybe I imagined it. If anybody 
knows of the alternative which does build or perhaps knows why the Makefile's 
would be corrupted I'd be very glad to hear from you.

bitbake emacs gives me:

ERROR: Function do_compile failed
NOTE: Task failed: ('function do_compile failed', 
'/home/john/programming/openmoko/shr/shr-unstable/tmp/work/armv4t-oe-linux-
gnueabi/emacs-22.3-r1/temp/log.do_compile.9130')
ERROR: Logfile of failure stored in: /home/john/programming/openmoko/shr/shr-
unstable/tmp/work/armv4t-oe-linux-gnueabi/emacs-22.3-
r1/temp/log.do_compile.9130
Log data follows:
| NOTE: make -j 4 QEMU=qemu-arm  -s 1048576 -L 
/home/john/programming/openmoko/shr/shr-unstable/tmp/work/armv4t-oe-linux-
gnueabi/emacs-22.3-r1/qemu-treedir
| cd lib-src; make all - --jobserver-fds=10,11 -j \
|         CC='arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-
interwork -mthumb' CFLAGS='-isystem/home/john/programming/openmoko/shr/shr-
unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include -fexpensive-
optimizations -fomit-frame-pointer -frename-registers -Os' CPPFLAGS='-
D_BSD_SOURCE  -isystem/home/john/programming/openmoko/shr/shr-
unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include' \
|         LDFLAGS='-Wl,-O1 -Wl,--hash-style=gnu -Wl,-znocombreloc' MAKE='make'
| make[1]: Entering directory `/home/john/programming/openmoko/shr/shr-
unstable/tmp/work/armv4t-oe-linux-gnueabi/emacs-22.3-r1/emacs-22.3/lib-src'
| Makefile:149: *** commands commence before first target.  Stop.
| make[1]: Leaving directory `/home/john/programming/openmoko/shr/shr-
unstable/tmp/work/armv4t-oe-linux-gnueabi/emacs-22.3-r1/emacs-22.3/lib-src'
| make: *** [lib-src] Error 2
| FATAL: oe_runmake failed
| ERROR: Function do_compile failed
NOTE: package emacs-22.3-r1: task do_compile: Failed


In the above output the emace-22.3 Makefile in /lib-src is failing at line 149. 
The Makefile at that line contains:

ALL_CFLAGS = -D_BSD_SOURCE -DHAVE_CONFIG_H
	  -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CPPFLAGS} 
${CFLAGS}

That is there are two lines but there should only be one. For some reason the 
line is being split into two and make is interpreting the second line (149) 
starting with "-I" as a command. Like the error says Make don't expect this 
command before it's read a target for some sort. If I remove this error I'll 
just move on to the next error where a new line has been inserted. There's a 
few of them :-(






More information about the Openembedded-devel mailing list