[#4000] Build netaudio fails at samba
Submitted By: Vivi Li
Open Date
2008-04-01 23:38:39 Close Date
2008-04-16 05:50:38
Priority:
Medium Assignee:
Mike Frysinger
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
N/A
Processor:
N/A Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
08r1-rc8
App binary format:
N/A
Summary: Build netaudio fails at samba
Details:
Build netaudio fails at samba.
Configuration of samba is as bellow:
--
*
* SAMBA
*
samba (USER_SAMBA) [N/y] y
smbd (USER_SAMBA_SMBD) [N/y] (NEW)
nmbd (USER_SAMBA_NMBD) [N/y] (NEW)
smbmount (USER_SAMBA_SMBMOUNT) [N/y] (NEW) y
smbumount (USER_SAMBA_SMBUMOUNT) [N/y] (NEW) y
uses shared library (USER_SAMBA_SHARED) [N/y] (NEW)
--
Below is the log:
--
Generating smbd/build_options.c
Using FLAGS = -pipe -Wall -g -O2 -mcpu=bf537-0.2 -I../popt -Iinclude -I/home/test/work/cruise/checkouts/uclinux-dist/user/samba/source/build/../include -I/home/test/work/cruise/checkouts/uclinux-dist/user/samba/source/build/../ubiqx -I/home/test/work/cruise/checkouts/uclinux-dist/user/samba/source/build/../smbwrapper -I. -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist -mcpu=bf537-0.2 -I/home/test/work/cruise/checkouts/uclinux-dist/user/samba/source/build/..
mkdir smbd
Building include/wrepld_proto.h
LIBS = -lcrypt
LDSHFLAGS = -shared -Wl,-elf2flt -mcpu=bf537-0.2
Building include/build_env.h
LDFLAGS = -Wl,-elf2flt -mcpu=bf537-0.2
creating /home/test/work/cruise/checkouts/uclinux-dist/user/samba/source/build/include/wrepld_proto.h
creating /home/test/work/cruise/checkouts/uclinux-dist/user/samba/source/build/nsswitch/winbindd_proto.h
creating /home/test/work/cruise/checkouts/uclinux-dist/user/samba/source/build/utils/net_proto.h
creating /home/test/work/cruise/checkouts/uclinux-dist/user/samba/source/build/client/client_proto.h
creating /home/test/work/cruise/checkouts/uclinux-dist/user/samba/source/build/web/swat_proto.h
Compiling smbd/files.c
creating /home/test/work/cruise/checkouts/uclinux-dist/user/samba/source/build/utils/ntlm_auth_proto.h
Compiling smbd/connection.c
Compiling smbd/chgpasswd.c
In file included from ../smbd/files.c:21:
/home/test/work/cruise/checkouts/uclinux-dist/user/samba/source/build/../include/includes.h:927:19: error: proto.h: No such file or directory
../smbd/files.c: In function ‘file_new’:
../smbd/files.c:76: warning: implicit declaration of function ‘sys_getpid’
../smbd/files.c:79: warning: implicit declaration of function ‘bitmap_find’
../smbd/files.c:92: warning: implicit declaration of function ‘attempt_close_oplocked_file’
../smbd/files.c:114: warning: implicit declaration of function ‘GetTimeOfDay’
../smbd/files.c:118: warning: implicit declaration of function ‘bitmap_set’
../smbd/files.c:122: warning: implicit declaration of function ‘smb_panic’
../smbd/files.c:124: warning: implicit declaration of function ‘string_set’
../smbd/files.c: In function ‘file_close_conn’:
../smbd/files.c:152: warning: implicit declaration of function ‘close_file’
../smbd/files.c: In function ‘file_init’:
../smbd/files.c:181: warning: implicit declaration of function ‘lp_max_open_files’
../smbd/files.c:189: warning: implicit declaration of function ‘set_maxfiles’
../smbd/files.c:203: warning: implicit declaration of function ‘bitmap_allocate’
../smbd/files.c:203: warning: assignment makes pointer from integer without a cast
../smbd/files.c:206: warning: implicit declaration of function ‘exit_server’
../smbd/files.c:212: warning: implicit declaration of function ‘set_pipe_handle_offset’
../smbd/files.c: In function ‘fsp_set_pending_modtime’:
../smbd/files.c:389: warning: implicit declaration of function ‘null_mtime’
../smbd/files.c: In function ‘file_sync_all’:
../smbd/files.c:416: warning: implicit declaration of function ‘sync_file’
../smbd/files.c: In function ‘file_free’:
../smbd/files.c:429: warning: implicit declaration of function ‘string_free’
../smbd/files.c:432: warning: implicit declaration of function ‘destroy_fake_file_handle’
../smbd/files.c:435: warning: implicit declaration of function ‘bitmap_clear’
make[5]: *** [smbd/files.o] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from ../smbd/connection.c:21:
/home/test/work/cruise/checkouts/uclinux-dist/user/samba/source/build/../include/includes.h:927:19: error: proto.h: No such file or directory
../smbd/connection.c: In function ‘conn_tdb_ctx’:
../smbd/connection.c:32: warning: implicit declaration of function ‘tdb_open_log’
../smbd/connection.c:32: warning: implicit declaration of function ‘lock_path’
../smbd/connection.c:33: warning: assignment makes pointer from integer without a cast
../smbd/connection.c: In function ‘make_conn_key’:
../smbd/connection.c:41: warning: implicit declaration of function ‘sys_getpid’
../smbd/connection.c:43: warning: implicit declaration of function ‘safe_strcpy_fn’
../smbd/connection.c:43: warning: pointer/integer type mismatch in conditional expression
../smbd/connection.c:43: warning: value computed is not used
../smbd/connection.c: In function ‘count_fn’:
../smbd/connection.c:109: warning: implicit declaration of function ‘process_exists’
../smbd/connection.c:117: warning: implicit declaration of function ‘strequal’
../smbd/connection.c: In function ‘claim_connection’:
../smbd/connection.c:135: warning: assignment makes pointer from integer without a cast
../smbd/connection.c:149: warning: implicit declaration of function ‘lp_servicename’
../smbd/connection.c:149: warning: assignment makes pointer from integer without a cast
../smbd/connection.c:182: warning: pointer/integer type mismatch in conditional expression
../smbd/connection.c:182: warning: value computed is not used
../smbd/connection.c:188: warning: implicit declaration of function ‘get_remote_machine_name’
../smbd/connection.c:188: warning: pointer/integer type mismatch in conditional expression
../smbd/connection.c:188: warning: value computed is not used
../smbd/connection.c:189: warning: implicit declaration of function ‘client_addr’
../smbd/connection.c:189: warning: pointer/integer type mismatch in conditional expression
../smbd/connection.c:189: warning: pointer/integer type mismatch in conditional expression
../smbd/connection.c:189: warning: value computed is not used
make[5]: *** [smbd/connection.o] Error 1
In file included from ../smbd/chgpasswd.c:49:
/home/test/work/cruise/checkouts/uclinux-dist/user/samba/source/build/../include/includes.h:927:19: error: proto.h: No such file or directory
../smbd/chgpasswd.c: In function ‘findpty’:
../smbd/chgpasswd.c:72: warning: implicit declaration of function ‘sys_open’
../smbd/chgpasswd.c:74: warning: implicit declaration of function ‘grantpt’
../smbd/chgpasswd.c:75: warning: implicit declaration of function ‘unlockpt’
../smbd/chgpasswd.c:76: warning: implicit declaration of function ‘ptsname’
../smbd/chgpasswd.c:94: warning: implicit declaration of function ‘safe_strcpy_fn’
../smbd/chgpasswd.c:94: warning: pointer/integer type mismatch in conditional expression
../smbd/chgpasswd.c:94: warning: value computed is not used
../smbd/chgpasswd.c:99: warning: implicit declaration of function ‘readdirname’
../smbd/chgpasswd.c:99: warning: assignment makes pointer from integer without a cast
../smbd/chgpasswd.c: In function ‘dochild’:
../smbd/chgpasswd.c:140: warning: implicit declaration of function ‘gain_root_privilege’
../smbd/chgpasswd.c:172: warning: implicit declaration of function ‘sys_dup2’
../smbd/chgpasswd.c:213: warning: implicit declaration of function ‘become_user_permanently’
../smbd/chgpasswd.c: In function ‘expect’:
../smbd/chgpasswd.c:236: warning: implicit declaration of function ‘strequal’
../smbd/chgpasswd.c:237: warning: implicit declaration of function ‘lp_passwd_chat_debug’
../smbd/chgpasswd.c:250: warning: implicit declaration of function ‘lp_passwd_chat_timeout’
../smbd/chgpasswd.c:254: warning: implicit declaration of function ‘read_socket_with_timeout’
../smbd/chgpasswd.c:263: warning: pointer/integer type mismatch in conditional expression
../smbd/chgpasswd.c:263: warning: value computed is not used
../smbd/chgpasswd.c:264: warning: implicit declaration of function ‘trim_char’
../smbd/chgpasswd.c:266: warning: implicit declaration of function ‘unix_wild_match’
../smbd/chgpasswd.c: In function ‘pwd_sub’:
../smbd/chgpasswd.c:292: warning: implicit declaration of function ‘all_string_sub’
../smbd/chgpasswd.c: In function ‘talktochild’:
../smbd/chgpasswd.c:303: warning: pointer/integer type mismatch in conditional expression
../smbd/chgpasswd.c:303: warning: value computed is not used
../smbd/chgpasswd.c:305: warning: implicit declaration of function ‘next_token’
../smbd/chgpasswd.c:317: warning: pointer/integer type mismatch in conditional expression
../smbd/chgpasswd.c:317: warning: value computed is not used
../smbd/chgpasswd.c:323: warning: pointer/integer type mismatch in conditional expression
../smbd/chgpasswd.c:323: warning: value computed is not used
../smbd/chgpasswd.c: In function ‘chat_with_program’:
../smbd/chgpasswd.c:356: warning: implicit declaration of function ‘CatchChildLeaveStatus’
../smbd/chgpasswd.c:358: warning: implicit declaration of function ‘sys_fork’
../smbd/chgpasswd.c:361: warning: implicit declaration of function ‘CatchChild’
../smbd/chgpasswd.c:372: warning: implicit declaration of function ‘sys_waitpid’
../smbd/chgpasswd.c:416: warning: implicit declaration of function ‘oplock_set_capability’
../smbd/chgpasswd.c:422: warning: implicit declaration of function ‘become_root’
../smbd/chgpasswd.c:429: warning: implicit declaration of function ‘unbecome_root’
../smbd/chgpasswd.c: In function ‘chgpasswd’:
../smbd/chgpasswd.c:520: warning: implicit declaration of function ‘lp_passwd_program’
../smbd/chgpasswd.c:520: warning: pointer/integer type mismatch in conditional expression
../smbd/chgpasswd.c:520: warning: value computed is not used
../smbd/chgpasswd.c:521: warning: implicit declaration of function ‘lp_passwd_chat’
../smbd/chgpasswd.c:521: warning: pointer/integer type mismatch in conditional expression
../smbd/chgpasswd.c:521: warning: value computed is not used
../smbd/chgpasswd.c:535: warning: implicit declaration of function ‘strstr_m’
../smbd/chgpasswd.c:535: warning: comparison between pointer and integer
../smbd/chgpasswd.c:542: warning: implicit declaration of function ‘pstring_sub’
../smbd/chgpasswd.c: In function ‘check_lanman_password’:
../smbd/chgpasswd.c:579: warning: implicit declaration of function ‘pdb_getsampwnam’
../smbd/chgpasswd.c:584: warning: implicit declaration of function ‘pdb_free_sam’
../smbd/chgpasswd.c:588: warning: implicit declaration of function ‘pdb_get_acct_ctrl’
../smbd/chgpasswd.c:589: warning: implicit declaration of function ‘pdb_get_lanman_passwd’
../smbd/chgpasswd.c:589: warning: assignment makes pointer from integer without a cast
../smbd/chgpasswd.c:610: warning: implicit declaration of function ‘D_P16’
../smbd/chgpasswd.c: In function ‘change_lanman_password’:
../smbd/chgpasswd.c:649: warning: assignment makes pointer from integer without a cast
../smbd/chgpasswd.c:652: warning: implicit declaration of function ‘pdb_get_username’
../smbd/chgpasswd.c:652: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
../smbd/chgpasswd.c:661: warning: implicit declaration of function ‘E_P16’
../smbd/chgpasswd.c:674: warning: implicit declaration of function ‘pdb_set_lanman_passwd’
../smbd/chgpasswd.c:678: warning: implicit declaration of function ‘pdb_set_nt_passwd’
../smbd/chgpasswd.c:682: warning: implicit declaration of function ‘pdb_set_pass_changed_now’
../smbd/chgpasswd.c:689: warning: implicit declaration of function ‘pdb_update_sam_account’
../smbd/chgpasswd.c: In function ‘pass_oem_change’:
../smbd/chgpasswd.c:717: warning: implicit declaration of function ‘change_oem_password’
../smbd/chgpasswd.c:717: error: incompatible types in assignment
../smbd/chgpasswd.c: In function ‘check_oem_password’:
../smbd/chgpasswd.c:766: warning: implicit declaration of function ‘pdb_init_sam’
../smbd/chgpasswd.c:786: warning: implicit declaration of function ‘lp_null_passwords’
../smbd/chgpasswd.c:790: warning: implicit declaration of function ‘nt_lm_owf_gen’
../smbd/chgpasswd.c:796: warning: implicit declaration of function ‘lp_lanman_auth’
../smbd/chgpasswd.c:797: warning: assignment makes pointer from integer without a cast
../smbd/chgpasswd.c:801: warning: implicit declaration of function ‘pdb_get_nt_passwd’
../smbd/chgpasswd.c:801: warning: assignment makes pointer from integer without a cast
../smbd/chgpasswd.c:808: warning: pointer targets in assignment differ in signedness
../smbd/chgpasswd.c:809: warning: pointer targets in assignment differ in signedness
../smbd/chgpasswd.c:812: warning: pointer targets in assignment differ in signedness
../smbd/chgpasswd.c:813: warning: pointer targets in assignment differ in signedness
../smbd/chgpasswd.c:839: warning: implicit declaration of function ‘SamOEMhash’
../smbd/chgpasswd.c:841: warning: implicit declaration of function ‘decode_pw_buffer’
../smbd/chgpasswd.c:857: warning: implicit declaration of function ‘E_md4hash’
../smbd/chgpasswd.c:863: warning: implicit declaration of function ‘E_old_pw_hash’
../smbd/chgpasswd.c:908: warning: implicit declaration of function ‘E_deshash’
../smbd/chgpasswd.c: In function ‘check_passwd_history’:
../smbd/chgpasswd.c:948: warning: implicit declaration of function ‘account_policy_get’
../smbd/chgpasswd.c:953: warning: implicit declaration of function ‘pdb_get_pw_history’
../smbd/chgpasswd.c:953: warning: assignment makes pointer from integer without a cast
../smbd/chgpasswd.c:962: warning: assignment makes pointer from integer without a cast
../smbd/chgpasswd.c:967: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
../smbd/chgpasswd.c:972: warning: implicit declaration of function ‘dump_data’
../smbd/chgpasswd.c:986: warning: implicit declaration of function ‘E_md5hash’
../smbd/chgpasswd.c:989: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
../smbd/chgpasswd.c: At top level:
../smbd/chgpasswd.c:1006: error: conflicting types for ‘change_oem_password’
../smbd/chgpasswd.c:717: error: previous implicit declaration of ‘change_oem_password’ was here
../smbd/chgpasswd.c: In function ‘change_oem_password’:
../smbd/chgpasswd.c:1010: warning: initialization makes pointer from integer without a cast
../smbd/chgpasswd.c:1011: warning: implicit declaration of function ‘pdb_get_pass_can_change_time’
../smbd/chgpasswd.c:1014: warning: implicit declaration of function ‘http_timestring’
../smbd/chgpasswd.c:1014: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
../smbd/chgpasswd.c:1020: warning: implicit declaration of function ‘str_charnum’
../smbd/chgpasswd.c:1030: warning: implicit declaration of function ‘lp_min_passwd_length’
../smbd/chgpasswd.c:1042: warning: implicit declaration of function ‘Get_Pwnam’
../smbd/chgpasswd.c:1042: warning: assignment makes pointer from integer without a cast
../smbd/chgpasswd.c:1049: warning: implicit declaration of function ‘lp_check_password_script’
../smbd/chgpasswd.c:1049: error: invalid type argument of ‘unary *’
../smbd/chgpasswd.c:1052: warning: implicit declaration of function ‘smbrunsecret’
../smbd/chgpasswd.c:1053: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
../smbd/chgpasswd.c:1073: warning: implicit declaration of function ‘lp_unix_password_sync’
../smbd/chgpasswd.c:1078: warning: implicit declaration of function ‘pdb_set_plaintext_passwd’
make[5]: *** [smbd/chgpasswd.o] Error 1
make[5]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/samba/source/build'
--
Follow-ups
--- Mike Frysinger 2008-04-10 21:51:44
it's a parallel build issue. i'll just ignore it by running the pch target
before building the source code as that'll give us a nice speed boost during
compile.
--- Vivi Li 2008-04-16 05:50:35
OK now. Close it.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found