Opened 13 years ago

Last modified 11 years ago

#31462 closed defect

Samba3 Undefined symbols for architecture x86_64 — at Initial Version

Reported by: the.ben.stevenson@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: lion Cc:
Port: samba3

Description

Everything goes fine, but then the compilation fails because of the arch flags.

:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_samba3/samba3/work/samba-3.2.15/source' :info:build Using FLAGS = -O2 -fno-common -arch x86_64 -O -D_SAMBA_BUILD_=3 -fno-common -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_samba3/samba3/work/samba-3.2.15/source/iniparser/src -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H -I/opt/local/include -DHAVE_STRUCT_TIMESPEC -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -I./popt -DLDAP_DEPRECATED -I/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_samba3/samba3/work/samba-3.2.15/source/lib -D_SAMBA_BUILD_=3 :info:build PICFLAG = -fPIE :info:build LIBS = -lresolv -liconv :info:build LDFLAGS = -dynamic -Wl,-search_paths_first -lkrb5 -L/opt/local/lib -arch x86_64 -L./bin :info:build DYNEXP = :info:build LDSHFLAGS = -dynamiclib -flat_namespace -undefined suppress -dynamic -Wl,-search_paths_first -lkrb5 -L/opt/local/lib -arch x86_64 -L./bin :info:build SHLIBEXT = dylib :info:build SONAMEFLAG = # :info:build Linking bin/nmbd :info:build Undefined symbols for architecture x86_64: :info:build "_error_message", referenced from: :info:build _cli_session_setup_spnego in cliconnect.o :info:build _handle_krberror_packet in clikrb5.o :info:build _smb_krb5_verify_checksum in clikrb5.o :info:build _create_kerberos_key_from_string_direct in clikrb5.o :info:build _krb5_rd_req_return_keyblock_from_keytab in clikrb5.o :info:build _smb_krb5_renew_ticket in clikrb5.o :info:build _cli_krb5_get_ticket in clikrb5.o :info:build ... :info:build ld: symbol(s) not found for architecture x86_64 :info:build collect2: ld returned 1 exit status :info:build make: * [bin/nmbd] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_samba3/samba3/work/samba-3.2.15/source' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_samba3/samba3/work/samba-3.2.15/source" && /usr/bin/make -w all " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details)

while executing

"command_exec build"

(procedure "portbuild::build_main" line 8) invoked from within

"$procedure $targetname" :info:build Warning: the following items did not execute (for samba3): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for samba3 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_samba3/samba3/main.log

Change History (1)

Changed 13 years ago by the.ben.stevenson@…

Attachment: main.log added
Note: See TracTickets for help on using tickets.