[ gpsdrive ] FYI: Makefile changes from automake to cmake
Guenther Meyer
d.s.e at sordidmusic.com
Sun Dec 30 10:03:52 AKST 2007
Am Sonntag 30 Dezember 2007 schrieb Andreas Schneider:
> Guenther Meyer wrote:
> > Am Sonntag 30 Dezember 2007 schrieb Joerg Ostertag (gpsdrive
Munich/Germany):
> >> On Sonntag 30 Dezember 2007, Guenther Meyer wrote:
> >>> Am Sonntag 30 Dezember 2007 schrieb Joerg Ostertag (gpsdrive
> >>
> >> Munich/Germany):
> >>>> We are currently trying to change the makefiles and build structure
> >>>> for gpsdrive from autotools to cmake in the next few days/weeks. So
> >>>> you might experience some troubles compiling the svn sources. If so
> >>>> please tell us in order to find a way arround the troubles.
> >>>
> >>> ok, so how do I build with cmake?
> >>> a "cmake ." won't work. and what is thsi lomoco thing?
> >>
> >> If you already calles cmake anywhere alse, you schould remove the file
> >> CMakeCache.txt. This is what the error means.
> >
> > then the error maybe should give a hint to this?
> >
> > my "build":
> >
> > Scanning dependencies of target friendsd
> > [ 1%] Building C object src/CMakeFiles/friendsd.dir/friendsd.o
> > /home/dse/Projekte/gpsdrive.dev/trunk/src/friendsd.c: In function ‘main’:
> > /home/dse/Projekte/gpsdrive.dev/trunk/src/friendsd.c:521: error:
> > ‘LOCALEDIR’ undeclared (first use in this function)
> > /home/dse/Projekte/gpsdrive.dev/trunk/src/friendsd.c:521: error: (Each
> > undeclared identifier is reported only once
> > /home/dse/Projekte/gpsdrive.dev/trunk/src/friendsd.c:521: error: for each
> > function it appears in.)
> > make[2]: *** [src/CMakeFiles/friendsd.dir/friendsd.o] Fehler 1
> > make[1]: *** [src/CMakeFiles/friendsd.dir/all] Fehler 2
> > make: *** [all] Fehler 2
>
> Are you sure that cmake configure was sucessful. It looks like the config.h
> wasn't generated.
>
> -- andreas
yes it was generated inside the build dir.
but maybe is the error inside the friendsd.c file where config.h is include
with #include "../config.h"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.gpsdrivers.org/pipermail/gpsdrive/attachments/20071230/5b03bd25/attachment.bin
More information about the GPSdrive
mailing list