* Egcs-1.1b on 5.1
@ 1998-09-18 20:08 Kirk Vogelsang
1998-09-18 20:23 ` Michal Jaegermann
0 siblings, 1 reply; 2+ messages in thread
From: Kirk Vogelsang @ 1998-09-18 20:08 UTC (permalink / raw)
To: axp-list
OS = RedHat 5.1 on the stock 2.0.34
Machine = UDB
I don't mean to beat a dead dog, but I can't seem to
get egcs-1.1b to compile. I have tried using the stock
egcs (egcs-1.0.2) and ld (2.9.1 (with BFD 2.9.1.0.4)) that
comes w/ RedHat 5.1, and gcc (2.8.1) and the newest
binutils (2.9.1 (with BFD 2.9.1)) from prep.
I have also tried diff combo's of the above.
But, they all bail w/:
make[2]: Entering directory `/import/src/egcs-1.1b/objdir/gcc'
gcc -DIN_GCC -g -DHAVE_CONFIG_H -DHAIFA -I/local/Xapps/include -I/local/unix/include -I/local/gnu/include -I/local/daemons/include -I/local/adm/include -I. -I../../gcc -I../../gcc/config \
-DGCC_INCLUDE_DIR=\"/local/gnu/packages/egcs-1.1b/lib/gcc-lib/alpha-unknown-linux-gnu/egcs-2.91.57/include\" \
-DGPLUSPLUS_INCLUDE_DIR=\"/local/gnu/packages/egcs-1.1b/include/g++\" \
-DOLD_GPLUSPLUS_INCLUDE_DIR=\"/local/gnu/packages/egcs-1.1b/lib/g++-include\" \
-DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
-DCROSS_INCLUDE_DIR=\"/local/gnu/packages/egcs-1.1b/alpha-unknown-linux-gnu/sys-include\" \
-DTOOL_INCLUDE_DIR=\"/local/gnu/packages/egcs-1.1b/alpha-unknown-linux-gnu/include\" \
-c `echo ../../gcc/cccp.c | sed 's,^\./,,'`
../../gcc/cccp.c: In function `main':
../../gcc/cccp.c:1740: warning: assignment makes pointer from integer without a cast
../../gcc/cccp.c:1773: warning: type mismatch in implicit declaration for built-in function `alloca'
../../gcc/cccp.c:1868: `FATAL_EXIT_CODE' undeclared (first use in this function)
../../gcc/cccp.c:1868: (Each undeclared identifier is reported only once
../../gcc/cccp.c:1868: for each function it appears in.)
../../gcc/cccp.c:1924: warning: assignment makes pointer from integer without a cast
../../gcc/cccp.c:1927: warning: assignment makes pointer from integer without a cast
../../gcc/cccp.c:1930: warning: assignment makes pointer from integer without a cast
../../gcc/cccp.c:1933: warning: assignment makes pointer from integer without a cast
../../gcc/cccp.c:2063: warning: initialization makes pointer from integer without a cast
../../gcc/cccp.c:2068: warning: assignment makes pointer from integer without a cast
../../gcc/cccp.c:2300: `SUCCESS_EXIT_CODE' undeclared (first use in this function)
../../gcc/cccp.c: In function `rescan':
../../gcc/cccp.c:2680: `FATAL_EXIT_CODE' undeclared (first use in this function)
../../gcc/cccp.c: In function `expand_to_temp_buffer':
[snip]
../../gcc/cccp.c:10331: `FATAL_EXIT_CODE' undeclared (first use in this function)
../../gcc/cccp.c: In function `xmalloc':
../../gcc/cccp.c:10356: warning: cast to pointer from integer of different size
../../gcc/cccp.c: In function `xrealloc':
../../gcc/cccp.c:10367: warning: cast to pointer from integer of different size
../../gcc/cccp.c: In function `xcalloc':
../../gcc/cccp.c:10378: warning: cast to pointer from integer of different size
make[2]: *** [cccp.o] Error 1
I started to change the #define's (which got me much
further), but it got to the point where it became too
tedious and seemed pretty dumb.
Anyone got any pointers?
TIA.
-----
Kirk M. Vogelsang <kvogelsa@ccs.neu.edu>
Northeastern University College of Computer Science
http://www.ccs.neu.edu/home/kvogelsa
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Egcs-1.1b on 5.1
1998-09-18 20:08 Egcs-1.1b on 5.1 Kirk Vogelsang
@ 1998-09-18 20:23 ` Michal Jaegermann
0 siblings, 0 replies; 2+ messages in thread
From: Michal Jaegermann @ 1998-09-18 20:23 UTC (permalink / raw)
To: axp-list
Kirk Vogelsang wrote:
.....
> ../../gcc/cccp.c:1740: warning: assignment makes pointer from integer without a cast
> ../../gcc/cccp.c:1773: warning: type mismatch in implicit declaration for built-in function `alloca'
> ../../gcc/cccp.c:1868: `FATAL_EXIT_CODE' undeclared (first use in this function)
.....
>
> Anyone got any pointers?
Either you are missing various header files (did you install glibc-devel?)
or you cannot find them during compilation process (did your
'./configure' did not have any complaints?).
Other than that I recompiled egcs-1.1b (and various snapshot) on RH 5.1
and it was a very smooth sailing.
--mj
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-09-18 20:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-18 20:08 Egcs-1.1b on 5.1 Kirk Vogelsang
1998-09-18 20:23 ` Michal Jaegermann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox