samba 3.2.6 on the FreeBSD. 6.1

Timur I. Bakeyev timur at FreeBSD.org
Tue Jan 6 15:11:58 GMT 2009


Hi, Alexander!

Why not to use ports collection instead?!

Cheers,
Timur.

On Fri, Dec 26, 2008 at 02:23:22PM +0300, Alexander Voropay wrote:
> Hi!
> 
>  Truing to compile 3.2.6 on the rather old FreeBSD 6.1.
> 
> [root at garbage ~]# uname -a
> FreeBSD garbage.ipe.com.ru 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May
>  7 04:42:56 UTC 2006
> root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386
> [root at garbage ~]# gcc -v
> libsmb/clikrb5.c: In function `krb5_set_real_time':
> libsmb/clikrb5.c:139: error: dereferencing pointer to incomplete type
> libsmb/clikrb5.c:140: error: dereferencing pointer to incomplete type
> libsmb/clikrb5.c: In function `create_kerberos_key_from_string_direct':
> libsmb/clikrb5.c:250: error: syntax error before "salt"
> libsmb/clikrb5.c:252: error: `salt' undeclared (first use in this function)
> libsmb/clikrb5.c:252: error: (Each undeclared identifier is reported only once
> libsmb/clikrb5.c:252: error: for each function it appears in.)
> libsmb/clikrb5.c: In function `smb_krb5_renew_ticket':
> libsmb/clikrb5.c:1292: error: syntax error before "flags"
> libsmb/clikrb5.c:1293: error: `krb5_realm' undeclared (first use in
> this function)
> libsmb/clikrb5.c:1293: error: `client_realm' undeclared (first use in
> this function)
> libsmb/clikrb5.c:1318: error: `flags' undeclared (first use in this function)
> The following command failed:
> gcc -I. -I/usr/local/src/samba-3.2.6/source  -O -D_SAMBA_BUILD_=3
> -I/usr/local/src/samba-3.2.6/source/iniparser/src -Iinclude
> -I./include  -I. -I. -I./lib/replace -I./lib/talloc
> -I./lib/tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H  -Iinclude
> -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include
> -I./libaddns -I./librpc -I./popt -I/usr/local/include
> -DLDAP_DEPRECATED   -I/include -I/usr/local/src/samba-3.2.6/source/lib
> -D_SAMBA_BUILD_=3 -fPIC -DPIC -c libsmb/clikrb5.c -o libsmb/clikrb5.o
> *** Error code 1
> 
> Stop in /usr/local/src/samba-3.2.6/source.
> [root at garbage /usr/local/src/samba-3.2.6/source]#


More information about the samba-technical mailing list