This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]