Pierre Lebrun
2005-Dec-06 09:25 UTC
[Samba] Compilation problem 3.0.21rc2 Solaris 2.5.1 / Sparc + Sun CC
Hi Samba Geeks, I experience problems with unknown uint32_t type while building 3.0.21rc2 on Solaris 2.5.1 / Sparc + Sun CC. (cc: WorkShop Compilers 5.0 98/12/15 C 5.0) ./configure --with-acl-support --with-ldap=no --disable-cups --enable-static=yes --with-included-popt artdev.develo.onconfig.00 ) make Using FLAGS = -O -D_SAMBA_BUILD_ -I./popt -Iinclude -I/usr/local/tmp/samba-3.0.21rc2/source/include -I/usr/local/tmp/samba-3.0.21rc2/source/ubiqx -I/usr/local/tmp/samba-3.0.21rc2/source/tdb -I. -I/usr/local/include -I /usr/include -I/usr/local/tmp/samba-3.0.21rc2/source -D_SAMBA_BUILD_ LIBS = -lresolv -lnsl -lsocket -ldl -liconv LDSHFLAGS = -G -O -D_SAMBA_BUILD_ -L/usr/local/lib LDFLAGS = -L/usr/local/lib PIE_CFLAGS PIE_LDFLAGS Generating smbd/build_options.c Building include/proto.h creating /usr/local/tmp/samba-3.0.21rc2/source/include/proto.h Building include/wrepld_proto.h creating /usr/local/tmp/samba-3.0.21rc2/source/include/wrepld_proto.h Building include/build_env.h creating /usr/local/tmp/samba-3.0.21rc2/source/nsswitch/winbindd_proto.h creating /usr/local/tmp/samba-3.0.21rc2/source/web/swat_proto.h creating /usr/local/tmp/samba-3.0.21rc2/source/client/client_proto.h creating /usr/local/tmp/samba-3.0.21rc2/source/utils/net_proto.h Compiling dynconfig.c "include/rpc_netlogon.h", line 949: syntax error before or at: uint32_t "include/rpc_netlogon.h", line 949: cannot recover from previous errors cc: acomp failed for /usr/local/tmp/samba-3.0.21rc2/source/dynconfig.c *** Error code 2 make: Fatal error: Command failed for target `dynconfig.o' include/rpc_netlogon.h line 949 is the last struct line of typedef struct net_q_dsr_getdcname { uint32 ptr_server_unc; UNISTR2 uni_server_unc; uint32 ptr_domain_name; UNISTR2 uni_domain_name; uint32 ptr_domain_guid; struct uuid *domain_guid; uint32 ptr_site_guid; struct uuid *site_guid; uint32_t flags; } NET_Q_DSR_GETDCNAME; uint32_t is defined in /usr/local/include/inttypes.h, and /usr/local/include is a member of FLAGS environment variable. In ./include/config.h, HAVE_INTTYPES_H is not defined while it should be because I have inttypes.h in /usr/local/include. /* Define to 1 if you have the <inttypes.h> header file. */ /* #undef HAVE_INTTYPES_H */ I did not have this problem with 3.0.20b. Did I do something wrong ? Thank you very much for your help. Pierre
Pierre Lebrun
2005-Dec-06 09:31 UTC
[Samba] Compilation problem 3.0.21rc2 Solaris 2.5.1 / Sparc + Sun CC
Hi Samba Geeks, I experience problems with unknown uint32_t type while building 3.0.21rc2 on Solaris 2.5.1 / Sparc + Sun CC. (cc: WorkShop Compilers 5.0 98/12/15 C 5.0) ./configure --with-acl-support --with-ldap=no --disable-cups --enable-static=yes --with-included-popt artdev.develo.onconfig.00 ) make Using FLAGS = -O -D_SAMBA_BUILD_ -I./popt -Iinclude -I/usr/local/tmp/samba-3.0.21rc2/source/include -I/usr/local/tmp/samba-3.0.21rc2/source/ubiqx -I/usr/local/tmp/samba-3.0.21rc2/source/tdb -I. -I/usr/local/include -I /usr/include -I/usr/local/tmp/samba-3.0.21rc2/source -D_SAMBA_BUILD_ LIBS = -lresolv -lnsl -lsocket -ldl -liconv LDSHFLAGS = -G -O -D_SAMBA_BUILD_ -L/usr/local/lib LDFLAGS = -L/usr/local/lib PIE_CFLAGS PIE_LDFLAGS Generating smbd/build_options.c Building include/proto.h creating /usr/local/tmp/samba-3.0.21rc2/source/include/proto.h Building include/wrepld_proto.h creating /usr/local/tmp/samba-3.0.21rc2/source/include/wrepld_proto.h Building include/build_env.h creating /usr/local/tmp/samba-3.0.21rc2/source/nsswitch/winbindd_proto.h creating /usr/local/tmp/samba-3.0.21rc2/source/web/swat_proto.h creating /usr/local/tmp/samba-3.0.21rc2/source/client/client_proto.h creating /usr/local/tmp/samba-3.0.21rc2/source/utils/net_proto.h Compiling dynconfig.c "include/rpc_netlogon.h", line 949: syntax error before or at: uint32_t "include/rpc_netlogon.h", line 949: cannot recover from previous errors cc: acomp failed for /usr/local/tmp/samba-3.0.21rc2/source/dynconfig.c *** Error code 2 make: Fatal error: Command failed for target `dynconfig.o' include/rpc_netlogon.h line 949 is the last struct line of typedef struct net_q_dsr_getdcname { uint32 ptr_server_unc; UNISTR2 uni_server_unc; uint32 ptr_domain_name; UNISTR2 uni_domain_name; uint32 ptr_domain_guid; struct uuid *domain_guid; uint32 ptr_site_guid; struct uuid *site_guid; uint32_t flags; } NET_Q_DSR_GETDCNAME; uint32_t is defined in /usr/local/include/inttypes.h, and /usr/local/include is a member of FLAGS environment variable. In ./include/config.h, HAVE_INTTYPES_H is not defined while it should be because I have inttypes.h in /usr/local/include. /* Define to 1 if you have the <inttypes.h> header file. */ /* #undef HAVE_INTTYPES_H */ I did not have this problem with 3.0.20b. Did I do something wrong ? Thank you very much for your help. Pierre
Possibly Parallel Threads
- Changing Domains from NT4 / AD 2000
- 2nd try: Lots of RPC-related compile errors (conflicting types, too many arguments, ...) trying to update Samba from 3.5 to 4.6
- Build error of rpm for samba-3.0.21rc2 on Centos 4.2
- Problem with Winbind on Solaris for Samba 3.0.21rc2.
- Configuring idmap for a Samba 3.2.4 AD member server