[modular build] build stops at twm
lists at eastcheap.org
Tue Dec 12 19:41:47 PST 2006
On Tue, 12 Dec 2006, Carlo Salinari wrote:
> I need a little help with the modular build.
> Bison is 2.3.
> Here's where it stops (twm).
> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/home/carlo/devel/modular//include
> -DXVENDORNAME=\"The\ X.Org\ Foundation\" -DXORG_RELEASE=\"Release\ 1.0.3\"
> -g -O2 -MT twm-gram.o -MD -MP -MF ".deps/twm-gram.Tpo" -c -o twm-gram.o `test
> -f 'gram.c' || echo './'`gram.c; \
> then mv -f ".deps/twm-gram.Tpo" ".deps/twm-gram.Po"; else rm -f
> ".deps/twm- gram.Tpo"; exit 1; fi
twm-lex.o should be built at this point (after twm-gram.o). Looks like it
isn't. Since the linker doesn't complain about its absence, my guess is
that there's some phantom "twm-lex.o" file there that shouldn't be.
Delete it and try again.
If that doesn't work, try compiling lex.c by hand:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R7/include \
-DXVENDORNAME=\"The\ X.Org\ Foundation\" \
-DXORG_RELEASE=\"Release\ 1.0.1\" -D_BSD_SOURCE \
-g -O2 -MT twm-lex.o -MD -MP -MF ".deps/twm-lex.Tpo" \
-c -o twm-lex.o lex.c
If there's no lex.c in the first place you'll have to generate it (really,
make should be taking care of this):
sed '/^#/ s|lex\.yy\.c|lex.c|' lex.yy.c > lex.c
Once you have a good "twm-lex.o", "make" should finish the job.
More information about the xorg