[Samba] 3.6.0 cross-compile error (reg_format.c)
Martin Herrman
martin at herrman.nl
Wed Aug 10 12:28:48 MDT 2011
Compiling ../librpc/ndr/ndr_preg.c
Compiling librpc/gen_ndr/ndr_drsuapi_c.c
Compiling librpc/gen_ndr/ndr_initshutdown_c.c
Dear samba-users,
Any help with the following compile error (cross-compilation to
MIPSEL) is greatly appreciated:
Compiling librpc/gen_ndr/ndr_dssetup_c.c
Compiling librpc/gen_ndr/ndr_svcctl_c.c
Compiling librpc/gen_ndr/ndr_wkssvc_c.c
Compiling registry/reg_parse.c
Compiling registry/reg_format.c
In file included from registry/reg_parse_internal.h:32,
from registry/reg_format.c:29:
include/includes.h:382: error: expected specifier-qualifier-list
before 'blksize_t'
The following command failed:
/opt/Sourcery_G++_Lite/bin/mips-linux-gnu-gcc -O2 -I../lib/zlib -EL
-O2 -I. -I/home/martin/EM7075/work/samba-3.6.0/source3
-I/home/martin/EM7075/work/samba-3.6.0/source3/../lib/popt
-I/home/martin/EM7075/work/samba-3.6.0/source3/../lib/iniparser/src
-Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent
-I./librpc -I./.. -I./../lib/talloc -I../lib/tdb/include
-DHAVE_CONFIG_H -Iinclude -I./include -I. -I. -I./../lib/replace
-I./../lib/tevent -I./librpc -I./.. -I./../lib/popt
-I/home/martin/EM7075/work/samba-3.6.0/source3/lib -I..
-D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c registry/reg_format.c -o
registry/reg_format.o
make: *** [registry/reg_format.o] Error 1
Using CFLAGS = -I../lib/zlib -EL -O2 -I.
-I/home/martin/EM7075/work/samba-3.6.0/source3
-I/home/martin/EM7075/work/samba-3.6.0/source3/../lib/popt
-I/home/martin/EM7075/work/samba-3.6.0/source3/../lib/iniparser/src
-Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent
-I./librpc -I./.. -I./../lib/talloc -I../lib/tdb/include
-DHAVE_CONFIG_H -Iinclude -I./include -I. -I. -I./../lib/replace
-I./../lib/tevent -I./librpc -I./.. -I./../lib/popt
-I/home/martin/EM7075/work/samba-3.6.0/source3/lib -I..
-D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3
PICFLAG = -fPIC
LIBS = -lresolv -lresolv -lnsl -ldl -lrt
LDFLAGS = -EL -s
-L/opt/Sourcery_G++_Lite/lib/gcc/mips-linux-gnu/4.3.3/el -L./bin
DYNEXP = -Wl,--export-dynamic
LDSHFLAGS = -fPIC -shared -Wl,-Bsymbolic -EL -s
-L/opt/Sourcery_G++_Lite/lib/gcc/mips-linux-gnu/4.3.3/el -L./bin -lc
-Wl,-z,defs
SHLIBEXT = so
SONAMEFLAG = -Wl,-soname=
Compiling registry/reg_format.c
In file included from registry/reg_parse_internal.h:32,
from registry/reg_format.c:29:
include/includes.h:382: error: expected specifier-qualifier-list
before 'blksize_t'
The following command failed:
/opt/Sourcery_G++_Lite/bin/mips-linux-gnu-gcc -O2 -I../lib/zlib -EL
-O2 -I. -I/home/martin/EM7075/work/samba-3.6.0/source3
-I/home/martin/EM7075/work/samba-3.6.0/source3/../lib/popt
-I/home/martin/EM7075/work/samba-3.6.0/source3/../lib/iniparser/src
-Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent
-I./librpc -I./.. -I./../lib/talloc -I../lib/tdb/include
-DHAVE_CONFIG_H -Iinclude -I./include -I. -I. -I./../lib/replace
-I./../lib/tevent -I./librpc -I./.. -I./../lib/popt
-I/home/martin/EM7075/work/samba-3.6.0/source3/lib -I..
-D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c registry/reg_format.c -o
registry/reg_format.o
make: *** [registry/reg_format.o] Error 1
Thanks in advance,
Martin
More information about the samba
mailing list