Thread View: gnu.gcc.help
1 messages
1 total messages
Started by Eigil Krogh S|rensen
Sat, 21 Nov 1992 16:46
ld error with index and rindex in cccp
Author: Eigil Krogh S|rensen
Date: Sat, 21 Nov 1992 16:46
Date: Sat, 21 Nov 1992 16:46
42 lines
2068 bytes
2068 bytes
I'm trying to compile gcc-2.3.1. Here is what happens:
vki68 eks $ configure --target=3300
Linked `config.h' to `./config/xm-mot3300.h'
Linked `tm.h' to `./config/mot3300.h'
Linked `md' to `./config/m68k.md'
Linked `aux-output.c' to `./config/m68k.c'
Linked `tconfig.h' to `./config/xm-mot3300.h'
Linked `hconfig.h' to `./config/xm-mot3300.h'
Created `Makefile'.
Links are now set up for target m68k-motorola-sysv.
vki68 eks $ make CC=gcc LANGUAGES=c
gcc -DIN_GCC -g -I. -I. -I./config \
-DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/3300/`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ./version.c`/include\" \
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" \
-DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
-DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/3300/`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ./version.c`/sys-include\" \
-DTOOLDIR=\"/usr/local/3300/\" \
-c `echo ./cccp.c | sed 's,^\./,,'`
gcc -DIN_GCC -g -I. -I. -I./config -c ./cexp.c
gcc -c -DIN_GCC -g -I. -I. -I./config version.c
gcc -c -DIN_GCC -g -I. -I. -I./config obstack.c
gcc -DIN_GCC -g -o cccp cccp.o cexp.o version.o obstack.o ` case "gcc" in "cc") echo ;; esac `
undefined first referenced
symbol in file
index cccp.o
rindex cccp.o
ld fatal: Symbol referencing errors. No output written to cccp
*** Error code 1
Stop.
vki68 eks $
Where should index and rindex be found or why are they included in cccp.c
when found nowhere ?
Thank you in advance
--- Eigil
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads