! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
compilation fails when configured with --disable-smb
Status:
RESOLVED: FIXED

Comments

Description Luc Habert 2005-07-04 21:01:26 CEST
When ./configure was run with --disable-smbbranch, the final linking fails 
because of object files refering to symbols XF_SMBget_cache_file and 
XF_SMBget_netfile_cache_dir. 
 
There are macros with the same names defined in smb/smb_module.h.  
The definition of these macros is protected inside a #ifdef USE_SMB_BRANCH, 
but their use in libs/menu.c, libs/callbacks.c, libs/run.c and 
libs/menu_callbacks.c are not protected by a #ifdef, so that the compiler 
assumes them to be functions... 

Reproducible: Always
Steps to Reproduce:
1. ./configure --disable-smbbranch 
2. make  
3.  
 
Actual Results:  
(when linking xffm) 
 
Undefined                       first referenced 
 symbol                             in file 
XF_SMBget_cache_file                ../libs/.libs/libxffm_basic.so 
XF_SMBget_netfile_cache_dir         ../libs/.libs/libxffm_calls.so 
ld: fatal: Symbol referencing errors. No output written to .libs/xffm 
 

Expected Results:  
succesful linking...
Comment 1 edscott editbugs 2005-07-04 22:57:22 CEST
Problem sections have now been protected by #ifdef's in 4.2 branch.

Does not apply to 4.3 branch due to different plugin mechanism.

Bug #1053

Reported by:
Luc Habert
Reported on: 2005-07-04
Last modified on: 2009-07-14

People

Assignee:
edscott
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information