Weird gcc error -- __FDSET_INTS undeclared

Weird gcc error -- __FDSET_INTS undeclared

Post by Peter J. Vessen » Wed, 12 Mar 1997 04:00:00



I got the following error recently, I've received similar errors compiling
dosemu, although this error occurred compiling Frodo.

CmdPipe.cpp:111:  `__FDSET_INTS' undeclared (first use this function)

As far as I can tell, this relates to file descriptors??  Any thoughts?  I've
been unable to track down a header file with any such declaration, or anything
close to it.

gcc 2.7.2.1
libc.so.5.4.17
Kernel 2.1.26
most other libs, etc, have been updated in the last two weeks.

Thanks!

- Peter

--

| Stolen from: Peter J. Vessenes, Box 4294 Brown University, Pr. RI 02912      |
| finger for pgpkey (Do not be mistaken. This is not your father's server.)    |
| Unsolicited commercial e-mail will be treated as harrassment.                |

 
 
 

1. gcc error : `__builtin_va_alist' undeclared '

Hello,
I recently attempted to compile onto a Solaris 8 for x86 system.
I used compiler tool that is GNUgcc 2.8.1(or GNUgcc 2.9.5.2)

GNUgcc Compiler occurred  error messgae<below>

I hope to resolve this problem.

What is problem?
How can I resolve these conflicts?

------------ error message ---------
/usr/include/sys/varargs.h:61: warning: `va_start' redefined
/usr/local/lib/gcc-lib/i386-pc-solaris2.8/2.8.1/include/varargs.h:106:
warning: this is the location of the previous definition

/usr/include/sys/varargs.h:62: warning: `va_arg' redefined
/usr/local/lib/gcc-lib/i386-pc-solaris2.8/2.8.1/include/varargs.h:122:
warning: this is the location of the previous definition

/usr/include/sys/varargs.h:101: warning: `va_end' redefined
/usr/local/lib/gcc-lib/i386-pc-solaris2.8/2.8.1/include/varargs.h:108:
warning: this is the location of the previous definition

/usr/include/sys/varargs.h:49: conflicting types for `va_list'
/usr/local/lib/gcc-lib/i386-pc-solaris2.8/2.8.1/include/varargs.h:173:
previous declaration of `va_list'

/usr/include/sys/varargs.h:100: parse error before `void'
...
io.c:235: `__builtin_va_alist' undeclared (first use in this function)
io.c:235: (Each undeclared identifier is reported only once
io.c:235: for each function it appears in.)

*** Error code 1
make: Fatal error: Command failed for target `io.o'

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

2. promiscuous mode

3. GCC va_start syntax error __builtin_va_alist undeclared

4. Connect Linux and Win95 via PPP direct

5. gcc error : `__builtin_va_alist' undeclared

6. X11 BS/delete key mixups HELP!!!

7. errno undeclared, ENOENT undeclared

8. strange hostname behavior

9. problems with gcc 2.95.2 ('__builtin_va_alist' undeclared)

10. gcc and __builtin_va_alist undeclared, and the FAQ

11. Weird Ping, weird FTP, weird Telnet... HELP!!!

12. Weird, weird, weird issue ....

13. 2.5 ide/hd.c compile error: `i' undeclared (first use in this function)