[Samba] compile problems on SuSE 7.2

2005-03-01 Thread Jochen Witte
Hello,

I try to compile Samba 3.0.11 on SuSE 7.2 (Kernel 2.4.10, glibc 2.2.2,
gcc 2.95.3) and get a lot of warnings and then the compilation fails
with

---snip---
Linking nsswitch/libnss_wins.so
lib/system.po: In function `sys_dlopen':
lib/system.po(.text+0xf3f): undefined reference to `dlopen'
lib/system.po: In function `sys_dlsym':
lib/system.po(.text+0xf6f): undefined reference to `dlsym'
lib/system.po: In function `sys_dlclose':
lib/system.po(.text+0xf9b): undefined reference to `dlclose'
lib/system.po: In function `sys_dlerror':
lib/system.po(.text+0xfc4): undefined reference to `dlerror'
lib/username.po: In function `user_in_netgroup_list':
lib/username.po(.text+0xbd2): undefined reference to
`yp_get_default_domain'
lib/access.po: In function `string_match':
lib/access.po(.text+0x200): undefined reference to
`yp_get_default_domain'
Compiling nsswitch/pam_winbind.c with -fPIC
Linking nsswitch/pam_winbind.so
Compiling libsmb/libsmbclient.c with -fPIC
Compiling libsmb/libsmb_compat.c with -fPIC
make: *** wait: No child processes.  Stop.
make: *** Waiting for unfinished jobs
make: *** wait: No child processes.  Stop.
---snip---

Is compiling with such an old system not supported? Or: what Do I have
to do to get it compiled?

Regards
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] Compile problems with 3.07 on solaris

2004-09-16 Thread Henrik Beckman
Hi all
I have severe problems compiling samba 3.0.7 on solaris8, my gcc is 
built with /usr/ccs/bin/ld and therefore gcc bails with an ld -E error 
since the -E parameter isn´t supported in /usr/css/bin/ld.
Trying to compile with suns forte 6.2 compiler produces the following 
error, don´t know if it´s related to the compiler though.

Linking nsswitch/libnss_wins.so
ld: fatal: file dynconfig.po.o: open failed: No such file or directory
ld: fatal: file lib/version.po.o: open failed: No such file or directory
ld: fatal: File processing errors. No output written to 
nsswitch/libnss_wins.so
make: *** [nsswitch/libnss_wins.so] Error 1

*_Parameters_*
./configure --prefix=/usr/local/samba-3.0.7 --libdir=/etc/samba 
--sysconfdir=/etc/samba 
--localstatedir=/var/opt/samba--with-privatedir=/etc/samba --with-quotas 
--with-acl-support --with-msdfs

*_From Makefile_*
prefix=/usr/local/samba-3.0.7
exec_prefix=${prefix}
LIBS= -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl -liconv
CC=/prog/forte62/bin/cc
SHLD=${CC} ${CFLAGS}
CFLAGS= -O
CPPFLAGS= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include
EXEEXT=
LDFLAGS= -L/usr/local/lib
AR=ar
LDSHFLAGS=-G ${CFLAGS}  -L/usr/local/lib
WINBIND_NSS_LDSHFLAGS=-G ${CFLAGS}  -L/usr/local/lib
AWK=gawk
DYNEXP=
PYTHON=
PERL=/usr/local/bin/perl
Please help, I´m running out of ideas.
TIA
/Henrik
www.sgu.se
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Compile problems with 3.07 on solaris

2004-09-16 Thread Mike Peterson
Hi Henrik,

I have severe problems compiling samba 3.0.7 on solaris8, my gcc is 
built with /usr/ccs/bin/ld and therefore gcc bails with an ld -E error 
since the -E parameter isn´t supported in /usr/css/bin/ld.
Trying to compile with suns forte 6.2 compiler produces the following 
error, don´t know if it´s related to the compiler though.

Linking nsswitch/libnss_wins.so
ld: fatal: file dynconfig.po.o: open failed: No such file or directory
ld: fatal: file lib/version.po.o: open failed: No such file or directory
ld: fatal: File processing errors. No output written to 
nsswitch/libnss_wins.so
make: *** [nsswitch/libnss_wins.so] Error 1

At this point do:

mv -i ./dynconfig.po.po.o ./dynconfig.po.o
mv -i ./lib/version.po.po.o ./lib/version.po.o
make

and the build will complete just fine.

Mike.
--
Mike Peterson -- Network Security Specialist -- U/Toronto Network Operations
E-mail: [EMAIL PROTECTED]   WWW: http://www.noc.utoronto.ca/
Tel: 416-978-5230  Fax: 416-971-1362
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Compile problems

2003-03-13 Thread KING,RICHARD (HP-Boise,ex1)
Samba Ver: 2.2.7a
GCC Ver: 3.2
OS: HPUX-11

Hello List, 

I've been having trouble trying to compile Samba. The configure phase goes
well, but during the gmake phase I always get this error:

Compiling lib/snprintf.c
lib/snprintf.c:790: conflicting types for `snprintf'
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/include/stdio.h:493:
previous declaration of `snprintf'
gmake: *** [lib/snprintf.o] Error 1

The issue seems to be with sprintf. 

Has anyone using PARISC run into this problem? Any solutions other than
installing the samba-depot ?

Any help would be greatly appreciated. 


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