bugGNU Common Lisp - Bugs: bug #16700, `SIOCSPGRP' undeclared in...

 
 

bug #16700: `SIOCSPGRP' undeclared in run_process.c

Submitted by:  Dr. David Kirkby <drkirkby>
Submitted on:  Mon 29 May 2006 09:56:21 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 15 Sep 2006 08:07:34 PM UTC, comment #1:

Greetings! Fixed in 2.6.8pre and cvs head.
Take care,

Camm Maguire <camm>
Project Administrator
Mon 29 May 2006 09:56:21 PM UTC, original submission:

On a Sun Ultra 80, with the gcc 3.4.3 that is now supplied with Solaris 10, run_process.c will not compile, since SIOCSPGRP is undeclared (see below).

This is not too difficult to get around - just add:

#include <sys/sockio.h> to run_process.c

grep will show that is where SIOCSPGRP is defined.

sparrow /tmp/gcl-2.6.7 % grep SIOCSPGRP /usr/include/sys/*
/usr/include/sys/sockio.h:#define SIOCSPGRP _IOW('s', 8, int) /* set process group */

../h/config.h:1:1: warning: "__ELF__" redefined
<built-in>:77:1: warning: this is the location of the previous definition
gcc -c -Wall -DVOL=volatile -fsigned-char -pipe -O3 -fomit-frame-pointer -I/tmp/gcl-2.6.7/o -I../h -I../gcl-tk funlink.c
In file included from ../h/include.h:37,
from funlink.c:9:
../h/config.h:1:1: warning: "__ELF__" redefined
<built-in>:77:1: warning: this is the location of the previous definition
gcc -c -Wall -DVOL=volatile -fsigned-char -pipe -O3 -fomit-frame-pointer -I/tmp/gcl-2.6.7/o -I../h -I../gcl-tk plt.c
In file included from ../h/include.h:37,
from plt.c:10:
../h/config.h:1:1: warning: "__ELF__" redefined
<built-in>:77:1: warning: this is the location of the previous definition
gcc -c -Wall -DVOL=volatile -fsigned-char -pipe -O3 -fomit-frame-pointer -I/tmp/gcl-2.6.7/o -I../h -I../gcl-tk fat_string.c
In file included from ../h/include.h:37,
from fat_string.c:9:
../h/config.h:1:1: warning: "__ELF__" redefined
<built-in>:77:1: warning: this is the location of the previous definition
gcc -c -Wall -DVOL=volatile -fsigned-char -pipe -O3 -fomit-frame-pointer -I/tmp/gcl-2.6.7/o -I../h -I../gcl-tk run_process.c
In file included from ../h/include.h:37,
from run_process.c:22:
../h/config.h:1:1: warning: "__ELF__" redefined
<built-in>:77:1: warning: this is the location of the previous definition
run_process.c: In function `open_connection':
run_process.c:380: error: `SIOCSPGRP' undeclared (first use in this function)
run_process.c:380: error: (Each undeclared identifier is reported only once
run_process.c:380: error: for each function it appears in.)
gmake[1]: *** [run_process.o] Error 1
gmake[1]: Leaving directory `/tmp/gcl-2.6.7/o'
gmake: *** [unixport/saved_pre_gcl] Error 2

Dr. David Kirkby <drkirkby>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 15 Sep 2006 08:07:34 PM UTCcammStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1