VincentWei / build-minigui-5.0

The building scripts for MiniGUI 5.0
29 stars 11 forks source link

build-minigui.sh #9

Open xiejiangcan opened 3 years ago

xiejiangcan commented 3 years ago

/usr/bin/ld: newgdi/.libs/libnewgdi.al(textout.lo):/home/xjc/opensource-project/build-minigui-5.0/minigui/src/include/newgal.h:441: multiple definition of `__mg_free_update_region_list'; misc/.libs/libmisc.al(license.lo):/home/xjc/opensource-project/build-minigui-5.0/minigui/src/include/newgal.h:441: first defined here

ERROR WHEN COMPILING 'minigui' FOR MiniGUI configured with --with-runmode=procs --enable-compositing --enable-virtualwindow

采用默认配置安装的,报错以上错误,不清楚什么原因

VincentWei commented 3 years ago

Add the keyword extern at the beginning of the line (minigui/src/include/newgal.h:441).

This is a mistake that should not be made. Why doesn't my compiler report it? :(