Bug 6953 - 'talloc_free' undeclared in source4/librpc/rpc/dcerpc_smb.c when configured using --without-talloc --enable-merged-build
'talloc_free' undeclared in source4/librpc/rpc/dcerpc_smb.c when configured u...
Status: NEW
Product: Samba 3.4
Classification: Unclassified
Component: Build environment
3.4.3
Other Linux
: P3 normal
: ---
Assigned To: Björn Jacke
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-02 06:59 UTC by Torsten Kurbad
Modified: 2009-12-02 06:59 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Kurbad 2009-12-02 06:59:32 UTC
After applying the modifications explained in Bug #6952, I run into the following error:

Compiling /var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/librpc/rpc/dcerpc_smb2.c
/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/librpc/rpc/dcerpc_smb.c: In function 'smb_shutdown_pipe':
/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/librpc/rpc/dcerpc_smb.c:381: error: 'talloc_free' undeclared (first use in this function)
/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/librpc/rpc/dcerpc_smb.c:381: error: (Each undeclared identifier is reported only once
/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/librpc/rpc/dcerpc_smb.c:381: error: for each function it appears in.)
The following command failed:
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/../heimdal_build -I.. -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4 -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/include -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/../lib/replace -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/lib -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/hcrypto -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/../lib/talloc/python -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/include -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3 -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/lib/ldb/include -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/lib/ldb/include -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/lib/ldb/include -I./../source4/lib/ldb/include -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/lib/ldb/include -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/lib/ldb/include -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/lib/ldb/include -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/lib/ldb/include -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/../heimdal_build -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/gssapi -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/gssapi/gssapi -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/gssapi/spnego -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/gssapi/krb5 -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/gssapi/mech -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal_build -I./../source4/heimdal_build -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/roken -I./../source4/heimdal/lib/roken -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/gssapi -I/usr/include -I/usr/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE  -Iinclude -I./include  -I. -I. -I./../lib/replace   -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -I./../lib/popt -I/usr/include -DLDAP_DEPRECATED -I/usr/include -I/usr/include -march=nocona -Os -mfpmath=sse -msse3 -pipe    -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/../heimdal_build -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/hdb -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/hdb     -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/lib/ldb/include -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/lib/ldb/include -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/lib/ldb/ldb_tdb   -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/lib/ldb/include -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/lib/ldb/include       -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/../heimdal_build -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/krb5 -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/asn1 -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/com_err   -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/../heimdal_build -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/hx509 -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/hx509 -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/asn1 -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/asn1 -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/asn1 -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/hx509 -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/../heimdal_build -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/hcrypto -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/../heimdal_build -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/hcrypto/imath -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/../heimdal_build -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/wind -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/asn1 -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/asn1 -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/asn1 -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/asn1 -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/../heimdal_build -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/asn1 -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/../heimdal_build -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/com_err -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/../heimdal_build -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/heimdal/lib/roken -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/../lib/socket_wrapper   -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/lib/events -I./../source4/lib/events -I/var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/../lib/tevent   -I../lib/replace   -I/usr/include -I/usr/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE  -Iinclude -I./include  -I. -I. -I./../lib/replace   -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -I./../lib/popt -I/usr/include -DLDAP_DEPRECATED -I/usr/include -I/usr/include -march=nocona -Os -mfpmath=sse -msse3 -pipe        -fPIC -c /var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/librpc/rpc/dcerpc_smb.c -o /var/tmp/portage/net-fs/samba-server-3.4.3-r2/work/samba-3.4.3/source3/../source4/librpc/rpc/dcerpc_smb.o


Apparently, talloc_free moves to _talloc_free for standalone talloc. How can we detect/fix this?