John Frankish wrote: > At 08:05 11-12-08, you wrote: >> John Frankish wrote: >> > hopefully this is the correct list for bclfs... >> > >> > the multi-lib build for glib-2.18.3 fails with the error >> > "...unexpected symbol near |" on a ps3 >> > >> > google turns up the same error on macs, etc but no particular >> solution? >> Based on the information provided, I couldn't tell you anything. If I >> was to look at the glib source I would not be able to locate the >> offending line of code, or re-create the environment that compiled it >> because the compile command is missing. >> _______________________________________________ >> sorry - more details below > > make (multi-lib 32-bit) > <snip> Also, after you run configure, could you please post the output of these two commands? They should be run in the top of the glib source dir.
grep global_symbol_pipe= libtool grep export_symbols_cmds= libtool They should produce 3 lines that look something along the lines of: global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'" export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols" export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols" Note that this may vary, though It doesn't look like that much on linux. I started looking through configure. There's a case that states to only use global_symbol_pipe if it works. See configure line 12513 where it gets set and configure line 12615 for the line that blanks it out if it doesn't work. I also believe that configure line 12540 is where the test actually takes place. I'd also be interested in seeing the peice of config.log that is related to testing wether this variable works or not. You should beable to find the relevant information by searching in config.log for "checking command to parse "$NM" output from "$compiler" object..." When in doubt just attach the entire thing to a reply email. _______________________________________________ Clfs-dev mailing list [email protected] http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
