new buildsystem merged into master
Dirk Hohndel
dirk at hohndel.org
Wed Oct 9 06:56:17 UTC 2013
On Wed, 2013-10-09 at 10:02 +0200, Robert Helling wrote:
> On 09.10.2013, at 09:46, Sergey Starosek <sergey.starosek at gmail.com> wrote:
>
> > Fails for me with the same reason:
> >
> > compiling profile.c
> > In file included from profile.c:8:0:
> > dive.h:32:0: warning: "TRUE" redefined [enabled by default]
> > /usr/include/unicode/umachine.h:204:0: note: this is the location of the previous definition
> > dive.h:33:0: warning: "FALSE" redefined [enabled by default]
> > /usr/include/unicode/umachine.h:208:0: note: this is the location of the previous definition
> > make: *** No rule to make target `.moc/qt-gui.moc', needed by `.obj/qt-gui.o'. Stop.
>
>
> Fails for me as well although with different reason (on Mac):
>
> th-ws-tmpim01:subsurface helling$ qmake
> Project MESSAGE: qtAddLibrary: found framework QtWebKit in directory /opt/local/Library/Frameworks
> Project MESSAGE: qtAddLibrary: found framework QtSvg in directory /opt/local/Library/Frameworks
> Project MESSAGE: qtAddLibrary: found framework QtGui in directory /opt/local/Library/Frameworks
> Project MESSAGE: qtAddLibrary: found framework QtNetwork in directory /opt/local/Library/Frameworks
> Project MESSAGE: qtAddLibrary: found framework QtCore in directory /opt/local/Library/Frameworks
> WARNING: Failure to find: subsurface.qrc
> /opt/local/bin/rcc: File does not exist 'subsurface.qrc'
>
> OK, only a warning. But then
>
> th-ws-tmpim01:subsurface helling$ make
> compiling subsurface.qrc.o
> Undefined symbols for architecture x86_64:
> "qRegisterResourceData(int, unsigned char const*, unsigned char const*, unsigned char const*)", referenced from:
> qInitResources() in subsurface.qrc.o
> "qUnregisterResourceData(int, unsigned char const*, unsigned char const*, unsigned char const*)", referenced from:
> qCleanupResources() in subsurface.qrc.o
> "_main", referenced from:
> implicit entry/start for main executable
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [subsurface.qrc] Error 1
>
> I can copy subsurface.qrc from Tiago's branch though and then it builds. The wrong-dates-in-divelist problem is still there even though I thought Dirk fixed it using strdup().
I think your tree isn't clean or your tree is messed up.
Could you start from a fresh clone of master?
Thanks
/D
More information about the subsurface
mailing list