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

 
 

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

Submitter:  Dr. David Kirkby <drkirkby>
Submitted:  Mon 29 May 2006 09:56:21 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-09-15 camm StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code