[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New wine in old bottles
From: |
Sven N. Thommesen |
Subject: |
Re: New wine in old bottles |
Date: |
Fri, 24 Apr 1998 23:22:38 -0500 |
At 03:30 PM 4/24/98 -0700, Marcus wrote:
>
>MD> You don't happen to have a -I/usr/include in your configuration?
>
>ST> Not that I've added myself!
>
>I don't believe you. ;-)
>
>How about posting an excerpt of the failed make procedure?
>
Sure. Here's the std-err output for compiling Swarm:
|---------------------------------------------------------------------------
------
List_GEN.m: In function `_i_List_mlinks__createIndex_fromMember_':In file
included from List_mlinks.m:13:List_GEN.m:215: `INT_MAX' undeclared (first
use this function)
List_GEN.m:215: (Each undeclared identifier is reported only once
List_GEN.m:215: for each function it appears in.)
List_GEN.m: In function `_i_ListIndex_mlinks__next':List_GEN.m:253:
`INT_MAX' undeclared (first use this function)
List_GEN.m: In function `_i_ListIndex_mlinks__prev':List_GEN.m:308:
`INT_MAX' undeclared (first use this function)
List_GEN.m: In function `_i_ListIndex_mlinks__getOffset':List_GEN.m:471:
`INT_MAX' undeclared (first use this function)make[2]: *** [List_mlinks.o]
Error 1C2
LCGXgen.m: In function `_i_C2LCGXgen__setA_setv_setw_':
C2LCGXgen.m:180: `LONG_MAX' undeclared (first use this function)
C2LCGXgen.m:180: (Each undeclared identifier is reported only once
C2LCGXgen.m:180: for each function it appears in.)
C2LCGXgen.m:171: warning: `maxGen' might be used uninitialized in this
function
make[2]: *** [C2LCGXgen.o] Error 1
argp-parse.c: In function `convert_options':
argp-parse.c:387: `CHAR_BIT' undeclared (first use this function)
argp-parse.c:387: (Each undeclared identifier is reported only once
argp-parse.c:387: for each function it appears in.)
argp-parse.c: In function `parser_parse_opt':argp-parse.c:719: `CHAR_BIT'
undeclared (first use this function)
make[2]: *** [argp-parse.o] Error 1
make[1]: [libs] Error 2 (ignored)
|---------------------------------------------------------------------------
------
>The deal is you don't want the /usr/include/limits.h you want the
>compiler to see GCC's headers first
>(e.g. /usr/lib/gcc-lib/i486-linux/2.7.2.1/include/limits.h).
>
And here is the user-modified portion of Makefile.conf:
|-----------------------------------------------------------------------------
ifeq ($(SETUP),SVEN-Home-4.2)
SYS=GNU/Linux
OPTFLAGS=-O3 -g
CC=gcc
#CC=/usr/bin/gcc
TCLVERS=7.6
TCLPREFIX=/usr
TCLINCDIR=$(TCLPREFIX)/include
TCLLIBDIR=$(TCLPREFIX)/lib/tcl$(TCLVERS)
TKVERS=4.2
TKPREFIX=/usr
TKINCDIR=$(TKPREFIX)/include
TKLIBDIR=$(TKPREFIX)/lib/tk$(TKVERS)
BLTVERS=2.3
BLTPREFIX=/santafe/4.2/blt$(BLTVERS)
BLTINCDIR=$(BLTPREFIX)/include
BLTLIBDIR=$(BLTPREFIX)/lib/blt$(BLTVERS)
TCLOBJCVERS=1.3
TCLOBJCPREFIX=/santafe/4.2/tclobjc-$(TCLOBJCVERS)
TCLOBJCINCDIR=$(TCLOBJCPREFIX)/include
TCLOBJCLIBDIR=$(TCLOBJCPREFIX)/lib
FFPREFIX=/santafe/4.2/libffi
FFINCDIR=$(FFPREFIX)/include
FFLIBDIR=$(FFPREFIX)/lib
XPREFIX=/usr/X11R6
XINCDIR=$(XPREFIX)/include
XLIBDIR=$(XPREFIX)/lib
OTHERINCDIRS=-I$(FFINCDIR) -I$(TCLOBJCINCDIR) -I$(BLTINCDIR) -I$(TCLINCDIR)
-I$(TKINCDIR) -I$(XINCDIR)
OTHERLIBDIRS=-L$(FFLIBDIR) -L$(BLTLIBDIR)/.. -L$(TCLOBJCLIBDIR)
-L$(TKLIBDIR)/.. -L$(TCLLIBDIR)/.. -L$(XLIBDIR)
override
EXTRALDFLAGS+=-Wl,-rpath,$(BLTLIBDIR)/..,-rpath,$(TKLIBDIR)/..,-rpath,$(TCLL
IBDIR)/..,-rpath,$(FFLIBDIR)
#override EXTRACFLAGS+=-pg
#override EXTRALDFLAGS+=-pg
endif
|-------------------------------------------------------------------------
Setting 'CC=gcc' and 'CC=/usr/bin/gcc' has the same effect.
See anything suspicious?
Sven
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
==================================
- Re: Newbie question: RedHat 5.0, objc.h and Object.h ?, (continued)
- Re: Newbie question: RedHat 5.0, objc.h and Object.h ?, Marcus G. Daniels, 1998/04/23
- Re: Newbie question: RedHat 5.0, objc.h and Object.h ?, pauljohn, 1998/04/23
- win95 installation, Michael George, 1998/04/24
- Re: win95 installation, Doug Donalson, 1998/04/24
- Re: win95 installation, Sven N. Thommesen, 1998/04/24
- Re: win95 installation, Marcus G. Daniels, 1998/04/24
- Re: win95 installation, Sven N. Thommesen, 1998/04/24
- Re: win95 installation, Marcus G. Daniels, 1998/04/24
- New wine in old bottles, Sven N. Thommesen, 1998/04/24
- Re: New wine in old bottles, Marcus G. Daniels, 1998/04/24
- Re: New wine in old bottles,
Sven N. Thommesen <=
- Re: New wine in old bottles, Marcus G. Daniels, 1998/04/25
- Old wine in new bottles, Sven N. Thommesen, 1998/04/24
- Re: Old wine in new bottles, Marcus G. Daniels, 1998/04/24
- Re: Old wine in new bottles, Sven N. Thommesen, 1998/04/25
- Re: Old wine in new bottles, Marcus G. Daniels, 1998/04/25
- Compilation error, Gek Woo Tan, 1998/04/27
- Re: Compilation error, Marcus G. Daniels, 1998/04/27
- Message not available
- Re: Compilation error, glen e. p. ropella, 1998/04/28
- Message not available
- Re: Compilation error, Sven N. Thommesen, 1998/04/28
Re: Newbie question: RedHat 5.0, objc.h and Object.h ?, Norberto Eiji Nawa, 1998/04/24