Bug 10459 - Solaris 10 build fails linking default/examples/libsmbclient/teststatvfs
Solaris 10 build fails linking default/examples/libsmbclient/teststatvfs
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build
4.1.4
Sparc Solaris
: P5 major
: ---
Assigned To: Björn Jacke
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-20 16:05 UTC by Mike Peterson
Modified: 2014-02-20 16:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Peterson 2014-02-20 16:05:20 UTC
Building 4.1.4 on Solaris 10 with command line:

CC=gcc LDFLAGS='-R /opt/local/samba/lib:/opt/local/samba/lib/private' \ ./configure --prefix=/opt/local/samba
make

fails linking 'default/examples/libsmbclient/teststatvfs':

[3505/3811] Linking default/examples/libsmbclient/teststatvfs
ld: warning: symbol 'dyn_LIBDIR' has differing sizes:
        (file /usr/sfw/lib/libsmbclient.so value=0x400; file default/lib/util/libsamba-util.so value=0x4);
        /usr/sfw/lib/libsmbclient.so definition taken
ld: warning: symbol 'dyn_SHLIBEXT' has differing sizes:
        (file /usr/sfw/lib/libsmbclient.so value=0x100; file default/lib/util/libsamba-util.so value=0x4);
        /usr/sfw/lib/libsmbclient.so definition taken
ld: warning: symbol 'override_logfile' has differing sizes:
        (file /usr/sfw/lib/libsmbclient.so value=0x4; file default/lib/util/libsamba-util.so value=0x1);
        /usr/sfw/lib/libsmbclient.so definition taken
ld: warning: symbol 'dyn_SMB_PASSWD_FILE' has differing sizes:
        (file /usr/sfw/lib/libsmbclient.so value=0x400; file default/lib/util/libsamba-util.so value=0x4);
        /usr/sfw/lib/libsmbclient.so definition taken
ld: warning: symbol 'dyn_PIDDIR' has differing sizes:
        (file /usr/sfw/lib/libsmbclient.so value=0x400; file default/lib/util/libsamba-util.so value=0x4);
        /usr/sfw/lib/libsmbclient.so definition taken
ld: warning: symbol 'dyn_LOGFILEBASE' has differing sizes:
        (file /usr/sfw/lib/libsmbclient.so value=0x400; file default/lib/util/libsamba-util.so value=0x4);
        /usr/sfw/lib/libsmbclient.so definition taken
ld: warning: symbol 'dyn_CONFIGFILE' has differing sizes:
        (file /usr/sfw/lib/libsmbclient.so value=0x400; file default/lib/util/libsamba-util.so value=0x4);
        /usr/sfw/lib/libsmbclient.so definition taken
ld: warning: symbol 'dyn_LOCKDIR' has differing sizes:
        (file /usr/sfw/lib/libsmbclient.so value=0x400; file default/lib/util/libsamba-util.so value=0x4);
        /usr/sfw/lib/libsmbclient.so definition taken
ld: warning: symbol 'dyn_LMHOSTSFILE' has differing sizes:
        (file /usr/sfw/lib/libsmbclient.so value=0x400; file default/lib/util/libsamba-util.so value=0x4);
        /usr/sfw/lib/libsmbclient.so definition taken
ld: warning: symbol 'dyn_PRIVATE_DIR' has differing sizes:
        (file /usr/sfw/lib/libsmbclient.so value=0x400; file default/lib/util/libsamba-util.so value=0x4);
        /usr/sfw/lib/libsmbclient.so definition taken
ld: warning: symbol 'nt_err_desc' has differing sizes:
        (file /usr/sfw/lib/libsmbclient.so value=0x2e0; file default/libcli/util/liberrors.so value=0x2f8);
        /usr/sfw/lib/libsmbclient.so definition taken
ld: warning: symbol 'current_user' has differing sizes:
        (file /usr/sfw/lib/libsmbclient.so value=0x1c; file default/source3/libsmbconf.so value=0x28);
        /usr/sfw/lib/libsmbclient.so definition taken
ld: warning: symbol 'bLoaded' has differing sizes:
        (file /usr/sfw/lib/libsmbclient.so value=0x4; file default/source3/libsmbconf.so value=0x1);
        /usr/sfw/lib/libsmbclient.so definition taken
ld: warning: symbol 'current_user_info' has differing sizes:
        (file /usr/sfw/lib/libsmbclient.so value=0x400; file default/source3/libsmbconf.so value=0x300);
        /usr/sfw/lib/libsmbclient.so definition taken
ld: warning: symbol 'posix_default_lock_was_set' has differing sizes:
        (file /usr/sfw/lib/libsmbclient.so value=0x4; file default/source3/libsmbconf.so value=0x1);
        /usr/sfw/lib/libsmbclient.so definition taken
ld: warning: symbol 'global_in_nmbd' has differing sizes:
        (file /usr/sfw/lib/libsmbclient.so value=0x4; file default/source3/libgse.so value=0x1);
        /usr/sfw/lib/libsmbclient.so definition taken
Undefined                       first referenced
 symbol                             in file
smbc_statvfs                        default/examples/libsmbclient/teststatvfs_19.o
ld: fatal: symbol referencing errors. No output written to /opt/local/src/etc/samba-4.1.4/bin/default/examples/libsmbclient/teststatvfs
collect2: ld returned 1 exit status
Waf: Leaving directory `/opt/local/src/etc/samba-4.1.4/bin'
Build failed:  -> task failed (err #1): 
        {task: cc_link teststatvfs_19.o -> teststatvfs}
make: *** [all] Error 1