[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #19980] getw and putw are not in current POSIX
From: |
James Youngman |
Subject: |
[bug #19980] getw and putw are not in current POSIX |
Date: |
Sun, 27 May 2007 11:21:25 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060830 Firefox/1.5.0.7 (Debian-1.5.dfsg+1.5.0.7-2) |
URL:
<http://savannah.gnu.org/bugs/?19980>
Summary: getw and putw are not in current POSIX
Project: findutils
Submitted by: jay
Submitted on: Sunday 05/27/2007 at 11:21
Category: locate
Severity: 3 - Normal
Item Group: Compilation Failure
Status: In Progress
Privacy: Public
Assigned to: jay
Originator Name: Bruno Haible
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 4.3.6
Fixed Release: None
_______________________________________________________
Details:
/boot/home/gnubuild/findutils-4.3.6/locate/locate.c: In function
`locate_read_str':
/boot/home/gnubuild/findutils-4.3.6/locate/locate.c:286: warning: implicit
declaration of function `getdelim'
/boot/home/gnubuild/findutils-4.3.6/locate/locate.c: In function
`visit_old_format':
/boot/home/gnubuild/findutils-4.3.6/locate/locate.c:507: warning: implicit
declaration of function `getw'
/boot/home/gnubuild/findutils-4.3.6/locate/locate.c: In function
`drop_privs':
/boot/home/gnubuild/findutils-4.3.6/locate/locate.c:1342: warning: implicit
declaration of function `setgroups'
gcc -g -O2 -o locate locate.o ../find/version.o ../lib/libfind.a
../gnulib/lib/libgnulib.a /boot/home/config/lib/libintl.so
-L/boot/home/config/lib /boot/home/config/lib/libiconv.so -Wl,-rpath
-Wl,/boot/home/config/lib
locate.o: In function `visit_old_format':
/boot/home/gnubuild/findutils-4.3.6/locate/locate.c:507: undefined reference
to `getw'
locate.o: In function `drop_privs':
/boot/home/gnubuild/findutils-4.3.6/locate/locate.c:1342: undefined reference
to `setgroups'
../lib/libfind.a(qmark.o): In function `multibyte_qmark_chars':
/boot/home/gnubuild/findutils-4.3.6/lib/locate.c:234: undefined reference to
`wcwidth'
collect2: ld returned 1 exit status
getw() is not a POSIX function. It was marked LEGACY in SUSV2 (Single Unix
1997), and is removed from SUSV3 (= POSIX:2001).
setgroups() is not a POSIX function.
wcwidth is not portable. All you need is to import the gnulib wcwidth module
from import-gnulib.config.
9)
/boot/home/gnubuild/findutils-4.3.6/locate/code.c: In function `main':
/boot/home/gnubuild/findutils-4.3.6/locate/code.c:244: warning: implicit
declaration of function `putw'
gcc -g -O2 -o code code.o ../find/version.o ../lib/libfind.a
../gnulib/lib/libgnulib.a /boot/home/config/lib/libintl.so
-L/boot/home/config/lib /boot/home/config/lib/libiconv.so -Wl,-rpath
-Wl,/boot/home/config/lib
code.o: In function `main':
/boot/home/gnubuild/findutils-4.3.6/locate/code.c:244: undefined reference to
`putw'
collect2: ld returned 1 exit status
putw() is not a POSIX function. It was marked LEGACY in SUSV2 (Single Unix
1997), and is removed from SUSV3 (= POSIX:2001).
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?19980>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #19980] getw and putw are not in current POSIX,
James Youngman <=