AW: beta3 on HPUX 9.04 with cc/gcc
Martin Schmidt at Bundessortenamt.de
Martin.Schmidt at bundessortenamt.de
Wed Dec 9 11:59:41 GMT 1998
> -----Ursprüngliche Nachricht-----
> Von: Andrew Tridgell [SMTP:tridge at samba.org]
> Gesendet am: Mittwoch, 9. Dezember 1998 12:09
> An: Martin.Schmidt at tscherma.hannover.bsa.de
> Cc: samba-ntdom at samba.org
> Betreff: Re: beta3 on HPUX 9.04 with cc/gcc
>
> > Samba-2.0.0beta3 didn´t compile on HPUX 9.04 (HP-UX eder A.09.04 E
> > 9000/817 1475312212 8-Benutzer-Lizenz) with ansi-C compiler and gcc
>
> > Linking bin/smbd
> > /bin/ld: Unsatisfied symbols:
> > seteuid (code)
> > setegid (code)
>
> 1) does the autogenerated includes/config.h have "#define HAVE_SETRESUID 1"
> in it?
YES
>
> 2) if it does, then we need to work out which module isn't using the
> right #ifdef. Use nm to find which .o file has a seteuid() call in
> it
eder(root):../source #find . -name *.o -print | xargs nm
Symbols from ./lib/smbrun.o:
Name Value Scope Type Subspace
setuid | |undef |code |
seteuid | |undef |code |
Symbols from ./lib/util.o:
Name Value Scope Type Subspace
setuid | |undef |code |
seteuid | |undef |code |
setgid | |undef |code |
setegid | |undef |code |
Symbols from ./smbd/chgpasswd.o:
Name Value Scope Type Subspace
setuid | |undef |code |
seteuid | |undef |code |
setgid | |undef |code |
setegid | |undef |code |
Symbols from ./smbd/uid.o:
Name Value Scope Type Subspace
seteuid | |undef |code |
setuid | |undef |code |
and
nm: ./smbd/predict.o: no symbols
>
> 3) if includes/config.h doesn't have the HAVE_SETRESUID define then
> look in config.log to try to work out why configure isn't correctly
> detecting setresuid().
from config.log:
----------------8<-----------------------
configure: In function `main':
configure:2638: structure has no member named `d_off'
configure: failed program was:
#line 2632 "configure"
#include "confdefs.h"
#include <unistd.h>
#include <sys/types.h>
#include <dirent.h>
int main() {
struct dirent d; d.d_off;
; return 0; }
configure:2663: checking for ino_t
configure:2696: checking for loff_t
configure:2729: checking for offset_t
configure:2762: checking for ssize_t
configure:2796: checking for errno in errno.h
configure:2809: gcc -c -ansi -O3 conftest.c 1>&5
configure:2831: checking for setresuid declaration
configure:2844: gcc -c -ansi -O3 conftest.c 1>&5
configure:2866: checking for setresgid declaration
configure:2879: gcc -c -ansi -O3 conftest.c 1>&5
configure:2901: checking for crypt declaration
configure:2914: gcc -c -ansi -O3 conftest.c 1>&5
configure:2937: checking for real setresuid
configure:2951: gcc -o conftest -ansi -O3 conftest.c 1>&5
configure:2976: checking for real setresgid
configure:2990: gcc -c -ansi -O3 conftest.c 1>&5
configure:2985: redefinition of `main'
configure:2984: `main' previously defined here
configure: In function `main':
configure:2986: `samba_cv_have_setresgid' undeclared (first use this function)
configure:2986: (Each undeclared identifier is reported only once
configure:2986: for each function it appears in.)
configure:2987: `yes' undeclared (first use this function)
configure: failed program was:
----------------8<-----------------------
Sorry, i am not a programmer. Is this OK
mfg
M.Schmidt
----------------------------------------------------------------------
Bundessortenamt
Prüfstelle Eder am Holz
85452 Moosinning
Tel.: 08123/2426
eMail1: Martin.Schmidt at bundessortenamt.de
eMail2: Martin_Schmidt at t-online.de
----------------------------------------------------------------------
More information about the samba-ntdom
mailing list