On Wed, Mar 13, 2013 at 9:17 PM, Paul Batchelor <[email protected]>wrote:
> Hello everyone,
>
> I just joined this list, so I hope I am posting to the right place.
>
> I am attempting to compile non on my slackware machine. All the
> dependencies seem to be met with the waf configure script. However, when I
> build, I get this error message:
>
>
>
>
>
> [ 34/130] cxx: build/timeline/src/TLE.C -> build/timeline/src/TLE.C.1.o
> [ 88/130] cxx: timeline/src/Track.C -> build/timeline/src/Track.C.1.o
> In file included from /home/paul/non/build/timeline/src/Track_Header.H:6:0,
> from ../timeline/src/Track.C:42:
> /home/paul/non/FL/FL/Fl_Sometimes_Input.H:30:7: error: redefinition of
> 'class Fl_Sometimes_Input'
> /home/paul/non/timeline/../FL/Fl_Sometimes_Input.H:31:1: error: previous
> definition of 'class Fl_Sometimes_Input'
> In file included from timeline/src/TLE.C:29:0:
> /home/paul/non/FL/Fl_Flowpack.H:24:7: error: redefinition of 'class
> Fl_Flowpack'
> /home/paul/non/FL/FL/Fl_Flowpack.H:25:1: error: previous definition of
> 'class Fl_Flowpack'
> Waf: Leaving directory `/home/paul/non/build'
> Build failed
> -> task in 'non-timeline' failed (exit status 1):
> {task 138441100: cxx Track.C -> Track.C.1.o}
> ['/usr/bin/g++', '-O3', '-fomit-frame-pointer', '-ffast-math', '-pipe',
> '-Wall', '-fno-rtti', '-pthread', '-D_LARGEFILE64_SOURCE',
> '-D_FILE_OFFSET_BITS=64', '-D_GNU_SOURCE', '-MD', '-pthread', '-pthread',
> '-I/home/paul/non/build/timeline', '-I/home/paul/non/timeline',
> '-I/home/paul/non/build/timeline/src', '-I/home/paul/non/timeline/src',
> '-I/home/paul/non/build/FL', '-I/home/paul/non/FL',
> '-I/home/paul/non/build/nonlib', '-I/home/paul/non/nonlib',
> '-I/usr/local/include', '-I/usr/local/include/ntk', '-I/usr/include/cairo',
> '-I/usr/include/freetype2', '-I/usr/include/glib-2.0',
> '-I/usr/lib/glib-2.0/include', '-I/usr/include/pixman-1',
> '-I/usr/include/libpng14', '-DNDEBUG=1', '-D_GNU_SOURCE=1', '-DHAVE_NTK=1',
> '-DHAVE_NTK_IMAGES=1', '-DHAVE_JACK=1', '-DHAVE_XMP=1', '-DHAVE_LIBLO=1',
> '-DHAVE_SNDFILE=1', '-DVERSION="1.2.0"',
> '-DSYSTEM_PATH="/usr/local/share/non-session-manager"',
> '-DDOCUMENT_PATH="/usr/local/share/doc"',
> '-DPIXMAP_PATH="/usr/local/share/pixmaps"', '-DHAVE_LADSPA_H=1',
> '-DHAVE_LRDF=1', '-DHAVE_SIGCPP=1', '-D_LARGEFILE64_SOURCE',
> '-D_FILE_OFFSET_BITS=64', '-D_GNU_SOURCE', '-D_LARGEFILE64_SOURCE',
> '-D_FILE_OFFSET_BITS=64', '-D_GNU_SOURCE', '../timeline/src/Track.C', '-c',
> '-o', 'timeline/src/Track.C.1.o']
> -> task in 'non-timeline' failed (exit status 1):
> {task 138441740: cxx TLE.C -> TLE.C.1.o}
> ['/usr/bin/g++', '-O3', '-fomit-frame-pointer', '-ffast-math', '-pipe',
> '-Wall', '-fno-rtti', '-pthread', '-D_LARGEFILE64_SOURCE',
> '-D_FILE_OFFSET_BITS=64', '-D_GNU_SOURCE', '-MD', '-pthread', '-pthread',
> '-I/home/paul/non/build/timeline', '-I/home/paul/non/timeline',
> '-I/home/paul/non/build/timeline/src', '-I/home/paul/non/timeline/src',
> '-I/home/paul/non/build/FL', '-I/home/paul/non/FL',
> '-I/home/paul/non/build/nonlib', '-I/home/paul/non/nonlib',
> '-I/usr/local/include', '-I/usr/local/include/ntk', '-I/usr/include/cairo',
> '-I/usr/include/freetype2', '-I/usr/include/glib-2.0',
> '-I/usr/lib/glib-2.0/include', '-I/usr/include/pixman-1',
> '-I/usr/include/libpng14', '-DNDEBUG=1', '-D_GNU_SOURCE=1', '-DHAVE_NTK=1',
> '-DHAVE_NTK_IMAGES=1', '-DHAVE_JACK=1', '-DHAVE_XMP=1', '-DHAVE_LIBLO=1',
> '-DHAVE_SNDFILE=1', '-DVERSION="1.2.0"',
> '-DSYSTEM_PATH="/usr/local/share/non-session-manager"',
> '-DDOCUMENT_PATH="/usr/local/share/doc"',
> '-DPIXMAP_PATH="/usr/local/share/pixmaps"', '-DHAVE_LADSPA_H=1',
> '-DHAVE_LRDF=1', '-DHAVE_SIGCPP=1', '-D_LARGEFILE64_SOURCE',
> '-D_FILE_OFFSET_BITS=64', '-D_GNU_SOURCE', '-D_LARGEFILE64_SOURCE',
> '-D_FILE_OFFSET_BITS=64', '-D_GNU_SOURCE', 'timeline/src/TLE.C', '-c',
> '-o', 'timeline/src/TLE.C.1.o']
>
>
>
>
>
> Any ideas what could be wrong?
>
> Thanks again. Beautiful looking website, by the way!
>
> -P
>
>
Is this a fresh checkout from git? The only way I can imagine this
happening is if the compiler is ignoring the "#pragma once" line at the
beginning of those files. Which is something g++ shouldn't do.