Failed to build dfui backend.

sam samwun at hgcbroadband.com
Sat Jan 15 06:49:37 PST 2005


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




More information about the Submit mailing list