other/3340: Build 3.0 on Linux-glibc1 fails: wrong include for syscall.h

Q@ping.be Q@ping.be
Thu Jun 21 11:16:00 GMT 2001


>Number:         3340
>Category:       other
>Synopsis:       Build 3.0 on Linux-glibc1 fails: wrong include for syscall.h
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 21 11:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Q@ping.be
>Release:        gcc 3.0
>Organization:
>Environment:
Linux libc5
>Description:
I got this error

prims.cc:651: `syscall' undeclared (first use this function)

It includes <sys/syscall.h>, but that contains nothing but some constants.  I changed libjava/include/i386-signal.h to include <syscall.h>, instead of <sys/syscall.h>.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list