Re: Failed to build dfui backend.

看板DFBSD_submit作者時間21年前 (2005/01/16 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
sam wrote: > Hi, > > I extracted the CVS source from bsdinstaller website. Most of the > components have built perfectly fine. These components include > libaura-2.0, dfuife-lua, and others, but building lua-5.0 failed. Then I > tried to build it in the src/backend/ directory with the make command, > and it does failed with the following message: > > # make > ===> installer > cc -O -pipe -Wall -I/usr/local/include -c fn_disk.c > fn_disk.c: In function `fn_select_disk': > fn_disk.c:90: warning: implicit declaration of function > `disk_get_device_name' > fn_disk.c:90: warning: passing arg 1 of `dfui_id_new' makes pointer from > integer without a cast > fn_disk.c: In function `fn_format_disk': > fn_disk.c:205: warning: implicit declaration of function > `command_add_ensure_dev' > fn_disk.c:215: warning: implicit declaration of function > `disk_get_raw_device_name' > fn_disk.c:242: warning: passing arg 1 of `aura_strdup' makes pointer > from integer without a cast > fn_disk.c: In function `ask_to_wipe_boot_sector': > fn_disk.c:384: warning: implicit declaration of function > `command_get_first' > fn_disk.c:384: warning: assignment makes pointer from integer without a > cast > fn_disk.c:385: warning: implicit declaration of function `command_get_next' > fn_disk.c:385: warning: assignment makes pointer from integer without a > cast > fn_disk.c:386: warning: implicit declaration of function `command_get_tag' > fn_disk.c:386: warning: assignment makes pointer from integer without a > cast > fn_disk.c:388: warning: implicit declaration of function > `command_get_result' > fn_disk.c: In function `fn_install_bootblocks': > fn_disk.c:476: warning: passing arg 3 of `dfui_dataset_celldata_add' > makes pointer from integer without a cast > fn_disk.c:500: warning: implicit declaration of function > `command_set_failure_mode' > fn_disk.c:500: error: `COMMAND_FAILURE_WARN' undeclared (first use in > this function) > fn_disk.c:500: error: (Each undeclared identifier is reported only once > fn_disk.c:500: error: for each function it appears in.) > fn_disk.c:501: warning: implicit declaration of function `command_set_tag' > fn_disk.c: In function `format_slice': > fn_disk.c:652: warning: implicit declaration of function > `slice_get_device_name' > fn_disk.c:700: warning: implicit declaration of function > `slice_get_raw_device_name' > *** Error code 1 > > Stop in /src/backend/installer. > *** Error code 1 > > I m running this in FreeBSD 5.3. > What should I do to fix the above problem? > > Thanks > Sam When compile lua package in the lua/ directory, I got the following error: # make [ -d so ] || mkdir so cc -O -pipe -Wall -I/usr/local/include common.c bitwise.c dfui.c progress.c pipe.c fs.c lua_gettext.c -static -L/usr/loc al/lib/ -ldfui -laura -lm -llua -llualib -shared -o so/dfuibe_lua.so common.c:64:17: lua.h: No such file or directory common.c:65:21: lauxlib.h: No such file or directory common.c:66:20: lualib.h: No such file or directory In file included from common.c:68: lua_gettext.h:20: error: syntax error before '*' token lua_gettext.h:21: error: syntax error before '*' token lua_gettext.h:22: error: syntax error before "int" lua_gettext.h:22: error: syntax error before '*' token .... .... Sam.
文章代碼(AID): #11wLfq00 (DFBSD_submit)
文章代碼(AID): #11wLfq00 (DFBSD_submit)