To speed things up Bluefish 1.3.3 has static inline functions. However, GCC thinks that the “inlineness” is defined twice:
bftextview2_scanner.c:257: error: duplicate `inline’
bftextview2_scanner.c:305: error: duplicate `inline’
bftextview2_scanner.c:339: error: duplicate `inline’
bftextview2_scanner.c:383: error: duplicate `inline’
bftextview2_scanner.c:432: error: duplicate `inline’
gmake[3]: *** [bftextview2_scanner.o] Error 1
gmake[3]: Leaving directory `/var/tmp/bluefish-unstable-1.3.3/src’
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/var/tmp/bluefish-unstable-1.3.3/src’
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/var/tmp/bluefish-unstable-1.3.3/src’
gmake: *** [all-recursive] Error 1
This is an excerpt from the source:
#ifdef __GNUC__
__inline__
#endif
static inline void paint_margin_line(BluefishTextView *btv,
GdkEventExpose * event,
gint w,gint height) {
To fix remove one of the inline definitions for all functions. For example, change from:
static inline void paint_margin_line(BluefishTextView *btv,
GdkEventExpose * event,
gint w,gint height) {
to
static void paint_margin_line(BluefishTextView *btv,
GdkEventExpose * event,
gint w,gint height) {
Also see the previous post (http://www.alekz.net/archives/432) on Bluefish.
Related posts:
- How to compile Bluefish 1.3.x under OpenSolaris or Solaris Nevada Get intltool package (for example, from blastwave) If you...
- Compiling Wine 1.1.14 for OpenSolaris or Solaris Nevada Update 15.02.2009 @ 14:04: Same for wine 1.1.15… The following...
- Compiling Kompozer for Solaris The first attempt to compile Kompozer for Solaris Two macros...
- Wine 1.1.5 for Solaris Wine 1.1.5 is out. So are new compiling errors: gmake[2]:...
- How to compile wine under Solaris. Part II See Part I Beginning with wine 0.9.57 "-lsunmath" is needed....