Angus Leeming <[EMAIL PROTECTED]> writes: | Kayvan A. Sylvan wrote: >> g++ -DHAVE_CONFIG_H -I. -I../../../lyx/src/support -I../../src >> -I../../../lyx/src/support/.. -I../../../lyx/boost -I/u/ksylvan/include >> -W -Wall -I/usr/openwin/include -O2 -fno-exceptions -MT package.lo -MD >> -MP -MF .deps/package.Tpo -c package.C -o package.o >> >> package.C:36:2: #error USE_FOO_PACKAGING must be defined for FOO = >> WINDOWS, MACOSX or POSIX. >> make[2]: *** [package.lo] Error 1 >> make[2]: Leaving directory >> `/remote/scratch05/ksylvan/lyx-build/src/support' make[1]: *** >> [install-recursive] Error 1 make[1]: Leaving directory >> `/remote/scratch05/ksylvan/lyx-build/src' make: *** [install-recursive] >> Error 1 > | Are you using precompiled headers? If so: | $ touch src/support/pch.h | $ make > | Should fix it. > | Lars, could you investigate how to rebuild the precompiled headers when | build_dir/src/config.h is changed?
pch.h.gch should depend on all headers named in pch.h and the first of these should be config.h, so nothing special should be done. Otoh... are you sure that config.h was really changed in this build? -- Lgb