mike.krings@schleupen.de
2001-Jan-04 14:27 UTC
Problems/Modifications compiling SAMBA 2.2-alpha1 on SCO Openserver 5.0.5a
Hello, after one small modification I was able to compile samba. I have not yet tried to use it, but at least swat is working. It would be nice if anyone could modify the current code to resolve the specified problems. Mike The Problems: Only a nuisance: uid_t and gid_t are unsigned: /GNU-Source/samba-2.2.0-alpha1/source/smbd/sec_ctx.c: In function `initialise_groups': /GNU-Source/samba-2.2.0-alpha1/source/smbd/sec_ctx.c:227: warning: comparison is always false due to limited range of data type /GNU-Source/samba-2.2.0-alpha1/source/smbd/sec_ctx.c:227: warning: comparison is always false due to limited range of data type More severe Warning: uint32 Datatype ist defined to be ulong in rpc.h /GNU-Source/samba-2.2.0-alpha1/source/rpc_server/srv_spoolss_nt.c: In function `_spoolss_setprinterdata': /GNU-Source/samba-2.2.0-alpha1/source/rpc_server/srv_spoolss_nt.c:5180: warning: passing arg 6 of `get_specific_param' from incompatible pointer type /GNU-Source/samba-2.2.0-alpha1/source/rpc_parse/parse_spoolss.c: In function `new_smb_io_job_info_2': /GNU-Source/samba-2.2.0-alpha1/source/rpc_parse/parse_spoolss.c:2389: warning: passing arg 4 of `prs_uint32' from incompatible pointer type /GNU-Source/samba-2.2.0-alpha1/source/rpc_parse/parse_creds.c: In function `creds_io_pwd_info': /GNU-Source/samba-2.2.0-alpha1/source/rpc_parse/parse_creds.c:265: warning: passing arg 4 of `prs_uint32' from incompatible pointer type /GNU-Source/samba-2.2.0-alpha1/source/rpc_parse/parse_creds.c:275: warning: passing arg 4 of `prs_uint32' from incompatible pointer type Fatal error: The makro S_ISSOCK is not defined (Solved by returning always -1) Linking bin/smbd Undefined first referenced symbol in file S_ISSOCK nsswitch/wb_common.o bin/smbd: fatal error: Symbol referencing errors. No output written to bin/smbd