[Python-bugs-list] [ python-Bugs-443042 ] 2.2a1: unable to build posixmodule (PRIO_PROCESS undeclard

noreply@sourceforge.net noreply@sourceforge.net
Fri, 20 Jul 2001 09:15:20 -0700


Bugs item #443042, was opened at 2001-07-20 04:34
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=443042&group_id=5470

Category: Extension Modules
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Andreas Jung (ajung)
Assigned to: Thomas Wouters (twouters)
>Summary: 2.2a1: unable to build posixmodule (PRIO_PROCESS undeclard

Initial Comment:
gcc -g -O3 -Wall -Wstrict-prototypes -Dss_family=__ss_family -Dss_len=__ss_len -I. -I./Include 
-DHAVE_CONFIG_H   -c ./Modules/posixmodule.c
-o Modules/posixmodule.o
./Modules/posixmodule.c: In function `posix_nice':
./Modules/posixmodule.c:1145: warning: implicit declaration of function `getpriority'
./Modules/posixmodule.c:1145: `PRIO_PROCESS' undeclared (first use in this function)
./Modules/posixmodule.c:1145: (Each undeclared identifier is reported only once
./Modules/posixmodule.c:1145: for each function it appears in.)
make: *** [Modules/posixmodule.o] Fehler 1
160.490u 10.370s 3:09.17 90.3%  0+0k 0+0io 70442pf+0w
yetix@/usr/home/ajung/new/Python-2.2a1(318)% make
gcc -g -O3 -Wall -Wstrict-prototypes -Dss_family=__ss_family -Dss_len=__ss_len -I. -I./Include 
-DHAVE_CONFIG_H   -c ./Modules/posixmodule.c
-o Modules/posixmodule.o
./Modules/posixmodule.c: In function `posix_nice':
./Modules/posixmodule.c:1145: warning: implicit declaration of function `getpriority'
./Modules/posixmodule.c:1145: `PRIO_PROCESS' undeclared (first use in this function)
./Modules/posixmodule.c:1145: (Each undeclared identifier is reported only once
./Modules/posixmodule.c:1145: for each function it appears in.)
make: *** [Modules/posixmodule.o] Fehler 1


Env: gcc 2.95.3, Linux 2.4.5 i386



----------------------------------------------------------------------

Comment By: A.M. Kuchling (akuchling)
Date: 2001-07-20 07:33

Message:
Logged In: YES 
user_id=11375

The version of glibc is probably also relevant.

Reassigning to Thomas Wouters, as this looks related to 
the recent nice/getpriority changes.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=443042&group_id=5470