Re: trying to compile head
Tarjei Huse <tarjei-y/[email protected]>
| Newsgroups | gmane.comp.web.midgard.devel |
|---|---|
| Message-ID | <1138137268.5075.25.camel@localhost> |
On tir, 2006-01-24 at 12:10 +0100, Piotras wrote: > Tarjei Huse <tarjei-y/[email protected]> wrote: > > > In file included from midgard/internal.h:29, > > from src/midgard.c:29: > > midgard/types.h:70: error: syntax error before "MgdSchemaTypeAttr" > > midgard/types.h:70: warning: no semicolon at end of struct or union > > midgard/types.h:73: error: syntax error before '}' token > > midgard/types.h:80: error: syntax error before "MgdSchemaTypeAttr" > > midgard/types.h:80: warning: no semicolon at end of struct or union > > > > Any tips? > > Did you updated or checkout'ed your local sources? > I can not reproduce it with clean just checkout'ed HEAD.' Ok, I now did a completly clean checkout (rm -rf src && cvs upd -Rd && ./makedist 1.8-alpha0 ). This is what I get: ake[1]: Entering directory `/home/tarjei/Midgard_build/Midgard_AllinOne-1.8alpha0/midgard-core-1.8alpha0' make all-am make[2]: Entering directory `/home/tarjei/Midgard_build/Midgard_AllinOne-1.8alpha0/midgard-core-1.8alpha0' if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./src -DG_LOG_DOMAIN=\"midgard-core\" -I/opt/lampp/include/ -I/opt/lampp/include/mysql -I/opt/lampp/include/glib-2.0 -Wall -I/opt/lampp/include/glib-2.0 -I/opt/lampp/lib/glib-2.0/include -I/opt/lampp/include/libxml2 -I/opt/lampp/include/mysql -I/opt/lampp/include -L/opt/lampp/lib -Wl,--rpath -Wl,/opt/lampp/lib -g -O2 -MT src/src_libmidgard_la-midgard.lo -MD -MP -MF "src/.deps/src_libmidgard_la-midgard.Tpo" -c -o src/src_libmidgard_la-midgard.lo `test -f 'src/midgard.c' || echo './'`src/midgard.c; \ then mv -f "src/.deps/src_libmidgard_la-midgard.Tpo" "src/.deps/src_libmidgard_la-midgard.Plo"; else rm -f "src/.deps/src_libmidgard_la-midgard.Tpo"; exit 1; fi mkdir src/.libs gcc -DHAVE_CONFIG_H -I. -I. -I. -I./src -DG_LOG_DOMAIN=\"midgard-core\" -I/opt/lampp/include/ -I/opt/lampp/include/mysql -I/opt/lampp/include/glib-2.0 -Wall -I/opt/lampp/include/glib-2.0 -I/opt/lampp/lib/glib-2.0/include -I/opt/lampp/include/libxml2 -I/opt/lampp/include/mysql -I/opt/lampp/include -L/opt/lampp/lib -Wl,--rpath -Wl,/opt/lampp/lib -g -O2 -MT src/src_libmidgard_la-midgard.lo -MD -MP -MF src/.deps/src_libmidgard_la-midgard.Tpo -c src/midgard.c -fPIC -DPIC -o src/.libs/src_libmidgard_la-midgard.o In file included from midgard/internal.h:29, from src/midgard.c:29: midgard/types.h:26:41: midgard/schema.h: No such file or directory In file included from midgard/internal.h:29, from src/midgard.c:29: midgard/types.h:70: error: syntax error before "MgdSchemaTypeAttr" midgard/types.h:70: warning: no semicolon at end of struct or union midgard/types.h:73: error: syntax error before '}' token midgard/types.h:80: error: syntax error before "MgdSchemaTypeAttr" midgard/types.h:80: warning: no semicolon at end of struct or union src/midgard.c: In function `mgd_auth_su': src/midgard.c:645: warning: label `fallback' defined but not used make[2]: *** [src/src_libmidgard_la-midgard.lo] Error 1 make[2]: Leaving directory `/home/tarjei/Midgard_build/Midgard_AllinOne-1.8alpha0/midgard-core-1.8alpha0' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/tarjei/Midgard_build/Midgard_AllinOne-1.8alpha0/midgard-core-1.8alpha0' make: *** [core] Error 2 It complains that it is missing schema.h. The only schema.h file I find is in midgard-data and not in midgard-core. However there is a mgdschema.h in -core, but changing the include in types.h does not help. I'm Gcc: Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs Configured with: ../src/configure -v --enable-languages=c,c ++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux Thread model: posix gcc version 3.3.5 (Debian 1:3.3.5-13) Tarjei > > Piotras > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe-b5ZhpPVuLA+tlBvVaVFjCkB+6BGkLq7r@public.gmane.org > For additional commands, e-mail: [email protected] > -- Tarjei Huse <tarjei-y/[email protected]>