home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky gnu.gcc.help:2863 comp.windows.x:20794
- Path: sparky!uunet!dtix!darwin.sura.net!europa.asd.contel.com!awds.imsd.contel.com!mh
- From: mh@awds.imsd.contel.com (Mike Hoegeman)
- Newsgroups: gnu.gcc.help,comp.windows.x
- Subject: Re: Can't compile X11R5 with gcc 2.3.3 on SVR4
- Message-ID: <1993Jan6.041601.6055@awds.imsd.contel.com>
- Date: 6 Jan 93 04:16:01 GMT
- References: <1993Jan4.175438.16561@hal.nbg.sub.org>
- Organization: GTE Weather systems group, Westlake Village, CA
- Lines: 28
-
- In article <1993Jan4.175438.16561@hal.nbg.sub.org> bodo@hal.nbg.sub.org (Bodo Bauer) writes:
- >Hello to everyone out there!
- >The subject says it all. I tried to build X11R5 Pl.21 / XFree86
- >and got the following errors:
- >make World BOOTSTRAPCFLAGS='-DSVR4 -DSYSV386' >& World.log &
- >[...]
- > gcc -c -ansi -O2 -m486 -fpcc-struct-return -Di386 -I../../. -DSVR4 -D
- >SYSV386 -DUNIXCONN -DTCPCONN -DSERVER_LOCALCONN -DSVR4_ACP -fPIC XConnIM.c
- >XConnIM.c: In function `_XipConnectIM':
- >XConnIM.c:101: `asm' needs too many reloads
- >gcc: Internal compiler error: program cc1 got fatal signal 6
-
- etc...
-
- It looks to me like one of the network related header files being
- inlcuded has an asm directive in it which gcc does not understand.
-
- My guess is it's some thing like an asm version of htonl. you can track
- down which header file it is by looking for a there is a #define called
- something like NO_ASM. If you put -DNO_ASM in your CFLAGS this will
- cause the asm chunk of code not to be included and thus allow you to
- compile.
-
- --mike
- --
- ------------------------------------------------------------------------------
- Mike Hoegeman email: mh@wx.gtegsc.com tel: (818)706-4145
- GTE Weather Systems Group 31717 La Tienda Dr, Westlake Village CA. 91359
-