[Samba] compiling on an old system...

2005-02-08 Thread Jochen Witte
Hello,

I would like to compile samba-latest on an old Linux system (SuSE 7.2). 

Everything seems to run quite well until it comes to the vfs-modules:

---snip---

Linking libsmbclient non-shared library bin/libsmbclient.a
Linking libsmbclient shared library bin/libsmbclient.so
Compiling modules/vfs_recycle.c with -fPIC
Building plugin bin/recycle.so
modules/vfs_recycle.po: In function `recycle_connect':
modules/vfs_recycle.po(.text+0x23): undefined reference to
`DEBUGLEVEL_CLASS'
modules/vfs_recycle.po(.text+0x31): undefined reference to
`DEBUGLEVEL_CLASS_ISSET'
modules/vfs_recycle.po(.text+0x55): undefined reference to `dbghdr'
modules/vfs_recycle.po(.text+0x6d): undefined reference to `dbgtext'
modules/vfs_recycle.po: In function `recycle_disconnect':
modules/vfs_recycle.po(.text+0xc3): undefined reference to
`DEBUGLEVEL_CLASS'
modules/vfs_recycle.po(.text+0xd1): undefined reference to
`DEBUGLEVEL_CLASS_ISSET'
modules/vfs_recycle.po(.text+0xf5): undefined reference to `dbghdr'
modules/vfs_recycle.po(.text+0x114): undefined reference to
`lp_servicename'
modules/vfs_recycle.po(.text+0x121): undefined reference to `dbgtext'
modules/vfs_recycle.po: In function `recycle_repository':
modules/vfs_recycle.po(.text+0x197): undefined reference to
`lp_parm_const_string'
modules/vfs_recycle.po(.text+0x1a5): undefined reference to
`DEBUGLEVEL_CLASS'
modules/vfs_recycle.po(.text+0x1b6): undefined reference to
`DEBUGLEVEL_CLASS_ISSET'
modules/vfs_recycle.po(.text+0x1da): undefined reference to `dbghdr'
modules/vfs_recycle.po(.text+0x1f1): undefined reference to `dbgtext'
modules/vfs_recycle.po: In function `recycle_keep_dir_tree':
modules/vfs_recycle.po(.text+0x247): undefined reference to
`lp_parm_bool'
modules/vfs_recycle.po(.text+0x255): undefined reference to
`DEBUGLEVEL_CLASS'
modules/vfs_recycle.po(.text+0x266): undefined reference to
`DEBUGLEVEL_CLASS_ISSET'
modules/vfs_recycle.po(.text+0x28a): undefined reference to `dbghdr'
modules/vfs_recycle.po(.text+0x2b3): undefined reference to `dbgtext'
modules/vfs_recycle.po: In function `recycle_versions':
modules/vfs_recycle.po(.text+0x317): undefined reference to
`lp_parm_bool'
modules/vfs_recycle.po(.text+0x325): undefined reference to
`DEBUGLEVEL_CLASS'
modules/vfs_recycle.po(.text+0x336): undefined reference to
`DEBUGLEVEL_CLASS_ISSET'
modules/vfs_recycle.po(.text+0x35a): undefined reference to `dbghdr'
modules/vfs_recycle.po(.text+0x383): undefined reference to `dbgtext'
modules/vfs_recycle.po: In function `recycle_touch':
modules/vfs_recycle.po(.text+0x3e7): undefined reference to
`lp_parm_bool'
modules/vfs_recycle.po(.text+0x3f5): undefined reference to
`DEBUGLEVEL_CLASS'
modules/vfs_recycle.po(.text+0x406): undefined reference to
`DEBUGLEVEL_CLASS_ISSET'
modules/vfs_recycle.po(.text+0x42a): undefined reference to `dbghdr'
modules/vfs_recycle.po(.text+0x453): undefined reference to `dbgtext'
modules/vfs_recycle.po: In function `recycle_exclude':
modules/vfs_recycle.po(.text+0x4b7): undefined reference to
`lp_parm_string_list'
modules/vfs_recycle.po(.text+0x4c5): undefined reference to
`DEBUGLEVEL_CLASS'
modules/vfs_recycle.po(.text+0x4d6): undefined reference to
`DEBUGLEVEL_CLASS_ISSET'
modules/vfs_recycle.po(.text+0x4fa): undefined reference to `dbghdr'
modules/vfs_recycle.po(.text+0x51f): undefined reference to `dbgtext'
modules/vfs_recycle.po: In function `recycle_exclude_dir':
modules/vfs_recycle.po(.text+0x577): undefined reference to
`lp_parm_string_list'
modules/vfs_recycle.po(.text+0x585): undefined reference to
`DEBUGLEVEL_CLASS'
modules/vfs_recycle.po(.text+0x596): undefined reference to
`DEBUGLEVEL_CLASS_ISSET'
modules/vfs_recycle.po(.text+0x5bd): undefined reference to `dbghdr'
modules/vfs_recycle.po(.text+0x5e2): undefined reference to `dbgtext'

...
...

---snip---


What can I do?

Thank You
Jochen

-- 
Jochen Witte [EMAIL PROTECTED]


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] compiling on an old system...

2005-02-08 Thread Beschorner Daniel
Remove the flags -Wl,-Bsymbolic and maybe -Wl,--allow-shlib-undefined
from your Makefile.
Very old linkers don't like them.

Daniel
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] compiling on an old system...

2005-02-08 Thread Beschorner Daniel
BTW, are these really errors or just warnings?


|Remove the flags -Wl,-Bsymbolic and maybe -Wl,--allow-shlib-undefined
from your Makefile.
|Very old linkers don't like them.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba