error linking vfs modules with current CVS

Roylance, Stephen D. SROYLANCE at PARTNERS.ORG
Mon Apr 14 15:28:01 GMT 2003


>From: Roylance, Stephen D. 
>Sent: Wednesday, April 09, 2003 11:59 AM
>To: Samba-Technical (E-mail)
>Subject: error linking vfs modules with current CVS
>
>I'm getting this error linking the vfs recycle module from current CVS:
>Compiling modules/vfs_recycle.c
>Building plugin bin/recycle.so
>ld: 0711-317 ERROR: Undefined symbol: DEBUGLEVEL_CLASS
>ld: 0711-317 ERROR: Undefined symbol: DEBUGLEVEL_CLASS_ISSET
>ld: 0711-317 ERROR: Undefined symbol: .dbghdr
>ld: 0711-317 ERROR: Undefined symbol: .dbgtext
>ld: 0711-317 ERROR: Undefined symbol: .debug_add_class
>ld: 0711-317 ERROR: Undefined symbol: .talloc_init
>ld: 0711-317 ERROR: Undefined symbol: .talloc
>ld: 0711-317 ERROR: Undefined symbol: .talloc_strdup
>ld: 0711-317 ERROR: Undefined symbol: .lp_parm_string
>ld: 0711-317 ERROR: Undefined symbol: .talloc_sub_conn
>ld: 0711-317 ERROR: Undefined symbol: .trim_string
>ld: 0711-317 ERROR: Undefined symbol: .lp_parm_bool
>ld: 0711-317 ERROR: Undefined symbol: .lp_parm_ulong
>ld: 0711-317 ERROR: Undefined symbol: .talloc_destroy
>ld: 0711-317 ERROR: Undefined symbol: .safe_strcat_fn
>ld: 0711-317 ERROR: Undefined symbol: .unix_wild_match
>ld: 0711-317 ERROR: Undefined symbol: .asprintf
>ld: 0711-317 ERROR: Undefined symbol: .smb_register_vfs
>ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
>collect2: ld returned 8 exit status
>make: 1254-004 The error code from the last command is 1.
>

Following up to my own question:
I tried building on Solaris 9, and it worked fine.  Looking at the difference,
@LDSHFLAGS@ from autoconf on Solaris is -G, on AIX it is
-Wl,-bexpall,-bM:SRE,-bnoentry.  According to my reading of the ld man page on
both platforms, -G on Solaris allows unresolved external reference, while the
list from AIX does not.  I'm still not sure what needs to change, but the man
page for ld on AIX 5.1 seems to say that it supports the same -G flag Solaris
does, with approximately the same meaning.

-Steve


More information about the samba-technical mailing list