On Wednesday 27 September 2006 14:44, Andrew Church wrote: > >1) configure > >with no further options. > >My buildsystem forgets to add '-lX11 -lXext' when compiling x11source in > >import/ directory. > > I'm assuming this was when linking tcprobe, rather than import_x11? > I've fixed this in CVS (the libraries were missing from the Makefile). > Yes. But my knowledge of autotool is not even basic, so I failed to fix this myself.
> >3) > >Here everything stops. I have no clue how to solve this problem: > >cmdline_def.h:202: warning: initializer element is not computable at load time > >cmdline_def.h:202: error: initializer element is not constant > >cmdline_def.h:202: error: (near initialization for `tc_options[2].has_arg') > >cmdline_def.h:202: error: initializer element is not constant > >cmdline_def.h:202: error: (near initialization for `tc_options[2]') > >[...] > > This is the result of a bug in GCC 3.4.6 (it does not treat the > expression !"string" as a constant). I'm looking into a workaround, but > the immediate solution is to upgrade to GCC 4. > I thought as much, as this seems to be a rare and unresolved problem (google). Thank you both. Transcode compiles cleanly now, with and without X11. Thomas
