[Samba] Compile problem: "lib/ldb/ldb_map/ldb_map.h", line 64: syntax error before or at: 0x20
Alfred Monticello
ajmcello at yahoo.com
Fri Mar 19 23:48:54 MDT 2010
Anybody have any ideas? I'm using opensolaris.
________________________________
From: Alfred Monticello <ajmcello at yahoo.com>
To: samba at lists.samba.org
Sent: Sat, March 13, 2010 12:07:38 AM
Subject: [Samba] Compile problem: "lib/ldb/ldb_map/ldb_map.h", line 64: syntax error before or at: 0x20
Trying to compile samba source4. Anybody have any ideas? Here's the error:
With gcc, version 3.4.3, I get:
Compiling lib/ldb/ldb_map/ldb_map_inbound.c
In file included from lib/ldb/ldb_map/ldb_map_inbound.c:28:
lib/ldb/ldb_map/ldb_map.h:64: error: syntax error before numeric constant
The following command failed:
gcc -O2 -m64 -g -DDEBUG_PASSWORD -DDEVELOPER -Wall -Wshadow -Werror-implicit-function-declaration -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wmissing-format-attribute -Wformat=2 -Wdeclaration-after-statement -Wunused-macros -Wno-format-y2k -Wno-unused-parameter -Ilib/ldb/ldb_map -Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/include -Iheimdal/../heimdal_build -Iheimdal/lib/hdb -Iheimdal_build -Iheimdal/lib/roken -Iheimdal/lib/hdb -Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/ldb_tdb -Ilib/ldb/include -Ilib/ldb/include -Iheimdal/../heimdal_build -Iheimdal/lib/gssapi -Iheimdal/lib/gssapi/gssapi -Iheimdal/lib/gssapi/spnego -Iheimdal/lib/gssapi/krb5 -Iheimdal/lib/gssapi/mech -Iheimdal/lib/gssapi -Iheimdal/lib/gssapi -I../lib/tdb/include -I./../lib/talloc -Iheimdal/../heimdal_build -Iheimdal/lib/krb5 -Iheimdal/lib/asn1 -Iheimdal/lib/com_err
-Iheimdal/../heimdal_build -Iheimdal/lib/hx509 -Iheimdal/lib/hx509 -Iheimdal/lib/asn1 -Iheimdal/lib/asn1 -Iheimdal/lib/asn1 -Iheimdal/lib/hx509 -Iheimdal/../heimdal_build -Iheimdal/lib/hcrypto -Iheimdal/lib -Iheimdal/../heimdal_build -Iheimdal/lib/hcrypto/imath -Iheimdal/../heimdal_build -Iheimdal/lib/wind -Iheimdal/lib/asn1 -Iheimdal/lib/asn1 -Iheimdal/lib/asn1 -Iheimdal/lib/asn1 -Iheimdal/../heimdal_build -Iheimdal/lib/asn1 -Iheimdal/../heimdal_build -Iheimdal/lib/com_err -Iheimdal/../heimdal_build -Iheimdal/lib/roken -Iheimdal/include -I../lib/socket_wrapper -g -Ilib/events -I../lib/tevent -I../lib/talloc -Ilib/replace -DSTATIC_LIBLDB_MODULES="LDB_MODULE(wins_ldb), LDB_MODULE(ranged_results), LDB_MODULE(schema_fsmo), LDB_MODULE(rootdse), LDB_MODULE(objectclass), LDB_MODULE(linked_attributes), LDB_MODULE(samldb), LDB_MODULE(extended_dn_out_ldb),LDB_MODULE(extended_dn_out_dereference), LDB_MODULE(skel),
LDB_MODULE(entryuuid),LDB_MODULE(nsuniqueid), LDB_MODULE(paged_results), LDB_MODULE(dsdb_cache), LDB_MODULE(samba3sam), LDB_MODULE(objectguid), LDB_MODULE(instancetype), LDB_MODULE(descriptor), LDB_MODULE(update_keytab), LDB_MODULE(partition), LDB_MODULE(show_deleted), LDB_BACKEND(tdb), LDB_MODULE(paged_searches), LDB_MODULE(subtree_delete), LDB_MODULE(pdc_fsmo), LDB_MODULE(acl), LDB_MODULE(subtree_rename), LDB_MODULE(password_hash), LDB_MODULE(resolve_oids), LDB_BACKEND(ldapi),LDB_BACKEND(ldaps),LDB_BACKEND(ldap), LDB_MODULE(naming_fsmo), LDB_MODULE(operational), LDB_MODULE(extended_dn_in), LDB_MODULE(extended_dn_store), LDB_MODULE(asq), LDB_MODULE(repl_meta_data), LDB_MODULE(kludge_acl), LDB_MODULE(local_password), LDB_MODULE(rdn_name), LDB_MODULE(anr), LDB_MODULE(server_sort),NULL" -fPIC -I./include -I. -I./lib -I./../lib/replace -I./../lib/talloc -I./.. -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H -c lib/ldb/ldb_map/ldb_map_inbound.c -o
lib/ldb/ldb_map/ldb_map_inbound.o
gmake: *** [lib/ldb/ldb_map/ldb_map_inbound.o] Error 1
With Sun Studio, version 12, I get:
Compiling lib/ldb/ldb_map/ldb_map_inbound.c
"lib/ldb/ldb_map/ldb_map.h", line 64: syntax error before or at: 0x20
"lib/ldb/ldb_map/ldb_map_inbound.c", line 85: undefined symbol: MAP_CONVERT
"lib/ldb/ldb_map/ldb_map_inbound.c", line 85: non-constant case expression
"lib/ldb/ldb_map/ldb_map_inbound.c", line 99: undefined symbol: MAP_GENERATE
"lib/ldb/ldb_map/ldb_map_inbound.c", line 99: non-constant case expression
cc: acomp failed for lib/ldb/ldb_map/ldb_map_inbound.c
The following command failed:
cc -m64 -Ilib/ldb/ldb_map -Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/include -Iheimdal/../heimdal_build -Iheimdal/lib/hdb -Iheimdal_build -Iheimdal/lib/roken -Iheimdal/lib/hdb -Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/ldb_tdb -Ilib/ldb/include -Ilib/ldb/include -Iheimdal/../heimdal_build -Iheimdal/lib/gssapi -Iheimdal/lib/gssapi/gssapi -Iheimdal/lib/gssapi/spnego -Iheimdal/lib/gssapi/krb5 -Iheimdal/lib/gssapi/mech -Iheimdal/lib/gssapi -Iheimdal/lib/gssapi -I../lib/tdb/include -I./../lib/talloc -Iheimdal/../heimdal_build -Iheimdal/lib/krb5 -Iheimdal/lib/asn1 -Iheimdal/lib/com_err -Iheimdal/../heimdal_build -Iheimdal/lib/hx509 -Iheimdal/lib/hx509 -Iheimdal/lib/asn1 -Iheimdal/lib/asn1 -Iheimdal/lib/asn1 -Iheimdal/lib/hx509 -Iheimdal/../heimdal_build -Iheimdal/lib/hcrypto -Iheimdal/lib -Iheimdal/../heimdal_build -Iheimdal/lib/hcrypto/imath -Iheimdal/../heimdal_build
-Iheimdal/lib/wind -Iheimdal/lib/asn1 -Iheimdal/lib/asn1 -Iheimdal/lib/asn1 -Iheimdal/lib/asn1 -Iheimdal/../heimdal_build -Iheimdal/lib/asn1 -Iheimdal/../heimdal_build -Iheimdal/lib/com_err -Iheimdal/../heimdal_build -Iheimdal/lib/roken -Iheimdal/include -I../lib/socket_wrapper -Ilib/events -I../lib/tevent -I../lib/talloc -Ilib/replace -DSTATIC_LIBLDB_MODULES="LDB_MODULE(wins_ldb), LDB_MODULE(ranged_results), LDB_MODULE(schema_fsmo), LDB_MODULE(rootdse), LDB_MODULE(objectclass), LDB_MODULE(linked_attributes), LDB_MODULE(samldb), LDB_MODULE(extended_dn_out_ldb),LDB_MODULE(extended_dn_out_dereference), LDB_MODULE(skel), LDB_MODULE(entryuuid),LDB_MODULE(nsuniqueid), LDB_MODULE(paged_results), LDB_MODULE(dsdb_cache), LDB_MODULE(samba3sam), LDB_MODULE(objectguid), LDB_MODULE(instancetype), LDB_MODULE(descriptor), LDB_MODULE(update_keytab), LDB_MODULE(partition), LDB_MODULE(show_deleted), LDB_BACKEND(tdb), LDB_MODULE(paged_searches),
LDB_MODULE(subtree_delete), LDB_MODULE(pdc_fsmo), LDB_MODULE(acl), LDB_MODULE(subtree_rename), LDB_MODULE(password_hash), LDB_MODULE(resolve_oids), LDB_BACKEND(ldapi),LDB_BACKEND(ldaps),LDB_BACKEND(ldap), LDB_MODULE(naming_fsmo), LDB_MODULE(operational), LDB_MODULE(extended_dn_in), LDB_MODULE(extended_dn_store), LDB_MODULE(asq), LDB_MODULE(repl_meta_data), LDB_MODULE(kludge_acl), LDB_MODULE(local_password), LDB_MODULE(rdn_name), LDB_MODULE(anr), LDB_MODULE(server_sort),NULL" -KPIC -I./include -I. -I./lib -I./../lib/replace -I./../lib/talloc -I./.. -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H -c lib/ldb/ldb_map/ldb_map_inbound.c -o lib/ldb/ldb_map/ldb_map_inbound.o
gmake: *** [lib/ldb/ldb_map/ldb_map_inbound.o] Error 1
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
More information about the samba
mailing list