[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#635205: libc0.1-dev: no declaration of function 'issetugid'



Package: libc0.1-dev
Version: 2.11.2-10+b1
Severity: normal

Man page of issetugid(2) says that unistd.h has `int issetugid(void);',
but Debian GNU/kFreeBSD 6.0.2's unistd.h does not.


I tried to build ruby's trunk, and it failed with a following error.

$ make
  CC = ccache gcc
  LD = ld
  LDSHARED = ccache gcc -shared
  CFLAGS = -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=implicit-function-declaration
  XCFLAGS = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT
  CPPFLAGS =   -I. -I.ext/include/i686-kfreebsd8.1-gnu -I./include -I.
  DLDFLAGS =
  SOLIBS =
compiling process.c
process.c: In function 'p_sys_issetugid':
process.c:4455: error: implicit declaration of function 'issetugid'
make: *** [process.o] Error 1
$


-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: kfreebsd-i386 (i686)

Kernel: kFreeBSD 8.1-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages libc0.1-dev depends on:
ii  kfreebsd-kernel-headers     0.53         kernel of FreeBSD headers for deve
ii  libc-dev-bin                2.11.2-10+b1 Embedded GNU C Library: Developmen
ii  libc0.1                     2.11.2-10+b1 Embedded GNU C Library: Shared lib

Versions of packages libc0.1-dev recommends:
ii  gcc [c-compiler]              4:4.4.5-1  The GNU C compiler
ii  gcc-4.4 [c-compiler]          4.4.5-8    The GNU C compiler

Versions of packages libc0.1-dev suggests:
pn  glibc-doc                     <none>     (no description available)
ii  manpages-dev                  3.27-1     Manual pages about using GNU/Linux

-- no debconf information



Reply to: