Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 95932

Summary: Error compiling Samba 3.0.10 in file: rpctorture.c
Product: Gentoo Linux Reporter: Marek Krolikowski <taken>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://phpfi.com/65668
Whiteboard:
Package list:
Runtime testing required: ---

Description Marek Krolikowski 2005-06-13 00:16:51 UTC
#emerge samba
(....)
make:       LDFLAGS = -Wl,-rpath,/usr/lib
*** Czekam na niezako&#324;czone zadania....
torture/rpctorture.c:27: error: `global_myname' redeclared as different kind of
symbol
include/proto.h:969: error: previous declaration of `global_myname'
torture/rpctorture.c:57: warning: `struct client_info' declared inside parameter
list
torture/rpctorture.c:57: warning: its scope is only this definition or
declaration, which is probably not what you want
torture/rpctorture.c: In function `rpcclient_connect':
torture/rpctorture.c:62: error: dereferencing pointer to incomplete type
torture/rpctorture.c:62: error: dereferencing pointer to incomplete type
torture/rpctorture.c:63: error: dereferencing pointer to incomplete type
torture/rpctorture.c:66: error: dereferencing pointer to incomplete type
torture/rpctorture.c:66: error: dereferencing pointer to incomplete type
torture/rpctorture.c:68: error: dereferencing pointer to incomplete type
torture/rpctorture.c:68: error: dereferencing pointer to incomplete type
torture/rpctorture.c: At top level:
torture/rpctorture.c:90: warning: `struct client_info' declared inside parameter
list
torture/rpctorture.c: In function `run_enums_test':
torture/rpctorture.c:96: warning: passing arg 1 of `rpcclient_connect' from
incompatible pointer type
torture/rpctorture.c:102: error: dereferencing pointer to incomplete type
torture/rpctorture.c:102: error: dereferencing pointer to incomplete type
torture/rpctorture.c: At top level:
torture/rpctorture.c:134: warning: `struct client_info' declared inside
parameter list
torture/rpctorture.c: In function `run_ntlogin_test':
torture/rpctorture.c:140: warning: passing arg 1 of `rpcclient_connect' from
incompatible pointer type
torture/rpctorture.c:146: error: dereferencing pointer to incomplete type
torture/rpctorture.c:146: error: dereferencing pointer to incomplete type
torture/rpctorture.c: At top level:
torture/rpctorture.c:167: warning: `struct client_info' declared inside
parameter list
torture/rpctorture.c: In function `main':
torture/rpctorture.c:233: error: storage size of `cli_info' isn't known
torture/rpctorture.c:373: error: `scope' undeclared (first use in this function)
torture/rpctorture.c:373: error: (Each undeclared identifier is reported only once
torture/rpctorture.c:373: error: for each function it appears in.)
torture/rpctorture.c:531: warning: passing arg 5 of `create_procs' from
incompatible pointer type
torture/rpctorture.c:535: warning: passing arg 5 of `create_procs' from
incompatible pointer type
make: *** [torture/rpctorture.o] B&#322;&#261;d 1
 * rpctorture didn't build
 * smbget
Compiling utils/smbget.c
Compiling libsmb/libsmbclient.c
Compiling libsmb/libsmb_compat.c
Compiling libsmb/libsmb_cache.c
Linking bin/smbget


Reproducible: Always
Steps to Reproduce:
1. emerge samba


Actual Results:  
Can`t compile samba stable 3.0.10


wset ~ # emerge info
Portage 2.0.51.19 (hardened/x86, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1,
2.4.30-hardened-r1 i686)
=================================================================
System uname: 2.4.30-hardened-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 09:00:24)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/
ftp://ftp.du.se/pub/os/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://gentoo.tiscali.nl/gentoo/ http://ftp.easynet.nl/mirror/gentoo/
http://www.gigaload.org/gentoo.org/"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var"
PORTDIR="/usr/portage/"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acpi acpi4linux autofs berkdb bidi crypt cups curl devfs dlloader doc
foomaticdb gd gdbm gif gpm hardened hardenedphp ipv6 jpeg md5sum mysql ncurses
nls pam perl perlsuid php pic png python readline ruby sasl sse ssl tcpd usb
userlocales x86 xml xml2 zlib linguas_pl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY

#emerge samba
(...)
make:       LDFLAGS = -Wl,-rpath,/usr/lib
*** Czekam na niezako&#324;czone zadania....
torture/rpctorture.c:27: error: `global_myname' redeclared as different kind of
symbol
include/proto.h:969: error: previous declaration of `global_myname'
torture/rpctorture.c:57: warning: `struct client_info' declared inside parameter
list
torture/rpctorture.c:57: warning: its scope is only this definition or
declaration, which is probably not what you want
torture/rpctorture.c: In function `rpcclient_connect':
torture/rpctorture.c:62: error: dereferencing pointer to incomplete type
torture/rpctorture.c:62: error: dereferencing pointer to incomplete type
torture/rpctorture.c:63: error: dereferencing pointer to incomplete type
torture/rpctorture.c:66: error: dereferencing pointer to incomplete type
torture/rpctorture.c:66: error: dereferencing pointer to incomplete type
torture/rpctorture.c:68: error: dereferencing pointer to incomplete type
torture/rpctorture.c:68: error: dereferencing pointer to incomplete type
torture/rpctorture.c: At top level:
torture/rpctorture.c:90: warning: `struct client_info' declared inside parameter
list
torture/rpctorture.c: In function `run_enums_test':
torture/rpctorture.c:96: warning: passing arg 1 of `rpcclient_connect' from
incompatible pointer type
torture/rpctorture.c:102: error: dereferencing pointer to incomplete type
torture/rpctorture.c:102: error: dereferencing pointer to incomplete type
torture/rpctorture.c: At top level:
torture/rpctorture.c:134: warning: `struct client_info' declared inside
parameter list
torture/rpctorture.c: In function `run_ntlogin_test':
torture/rpctorture.c:140: warning: passing arg 1 of `rpcclient_connect' from
incompatible pointer type
torture/rpctorture.c:146: error: dereferencing pointer to incomplete type
torture/rpctorture.c:146: error: dereferencing pointer to incomplete type
torture/rpctorture.c: At top level:
torture/rpctorture.c:167: warning: `struct client_info' declared inside
parameter list
torture/rpctorture.c: In function `main':
torture/rpctorture.c:233: error: storage size of `cli_info' isn't known
torture/rpctorture.c:373: error: `scope' undeclared (first use in this function)
torture/rpctorture.c:373: error: (Each undeclared identifier is reported only once
torture/rpctorture.c:373: error: for each function it appears in.)
torture/rpctorture.c:531: warning: passing arg 5 of `create_procs' from
incompatible pointer type
torture/rpctorture.c:535: warning: passing arg 5 of `create_procs' from
incompatible pointer type
make: *** [torture/rpctorture.o] B&#322;&#261;d 1
 * rpctorture didn't build
 * smbget
Compiling utils/smbget.c
Compiling libsmb/libsmbclient.c
Compiling libsmb/libsmb_compat.c
Compiling libsmb/libsmb_cache.c
Linking bin/smbget
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-13 01:32:36 UTC
*** Bug 95933 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-06-13 01:34:59 UTC

*** This bug has been marked as a duplicate of 42784 ***