The true error is: bit_mask=~(~0 << bits_per_pixel)
../inc/basebmp/packedpixeliterator.hxx:86:23: error: left operand of shift expression ‘(-1 << 1)’ is negative [-fpermissive] ../inc/basebmp/packedpixeliterator.hxx:80:10: error: enumerator value for ‘bit_mask’ is not an integer constant The root cause is, OpenOffice is written for older gnuCompiler. And we just slowly move up the Version tree. Wedo not support v11standard. better build with -std=gnu++98 that is done by export, I think: export CFLAGS="-std=gnu++98" export CXXFLAGS="${CFLAGS}" maybe add even the permissve flag: export CFLAGS="-std=gnu++98 -fpermissive" export CXXFLAGS="${CFLAGS}" HTH Peter On 12.05.19 10:38, 软刀 wrote: > the build log : > > nohup.out.tgz > <https://drive.google.com/file/d/19j8aHoiV2MvC0BKzIfh6VnB_AQzSCG5e/view?usp=drive_web> > > > 软刀 <ljy080...@gmail.com> 于2019年5月12日周日 下午4:35写道: > >> and the full build log nohup.out.tgz >> >> 软刀 <ljy080...@gmail.com> 于2019年5月12日周日 下午4:34写道: >> >>> I learning openoffice, and build it from scratch >>> >>> the AOO417 was release branch? >>> >>> >>> the following was the last error: >>> >>> ------------------- start ------------------- >>> >>> >>> deliver -- version: 275594 >>> >>> ^~~~~ >>> >>> dmake: Error code 1, while making '../unxlngx6.pro/slo/bitmapdevice.obj' >>> >>> >>> 1 module(s): >>> >>> basebmp >>> >>> need(s) to be rebuilt >>> >>> >>> Reason(s): >>> >>> >>> ERROR: error 65280 occurred while making >>> /home/ubuntu/orz/main/basebmp/source >>> >>> >>> When you have fixed the errors in that module you can resume the build by >>> running: >>> >>> >>> build --all:basebmp >>> >>> >>> >>> ------------------- end ------------------- >>> >>> and the auto build script iorz >>> >>> and the full build log nohup.out.tgz >>> >>> >>> ------------------- >>> >>> thank you >>> >>> >>>