[Samba] samba4 compilation error

Shirish Pargaonkar shirishpargaonkar at gmail.com
Fri Jan 15 10:47:45 MST 2010


Not sure if this is a known error during samba4 source code compilation
and how to fix it (which file has struct iovec defined and where to include it)


Compiling ../libcli/util/tstream.c
../libcli/util/tstream.c:39: error: field âtmp_vectorâ has incomplete type
The following command failed:

        DATA_BLOB pdu_blob;
        struct iovec tmp_vector;
};

  pwd        = /usr/src/gitsamba/samba/source4
Compiling ../libcli/util/tstream.c
../libcli/util/tstream.c:39: error: field âtmp_vectorâ has incomplete type
The following command failed:
gcc -I../lib/tevent   -I../lib/talloc -Ilib/replace     -fPIC
-I./include -I. -I./lib -I./../lib/replace
-I./../lib/talloc -I./.. -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H  -c
../libcli/util/tstream.c -o
../libcli/util/tstream.o
make: *** [../libcli/util/tstream.o] Error 1


More information about the samba mailing list