|
Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006
Make mistakes, sco open server operating systems.
Make
Cc-c main.c -DMASDEBUG
"Main.c", line 458 : error : incomplete struct/union/enum scritem : scr_unit
"Main.c", line 460 : error : too many struct/union initializers
"Main.c", line 460 : error : can not recover from previous errors
*** Error code 1 (bu21)
At the wrong body organs below the 460 firms. What is the problem with the structure definition Mody to you for advice.
Struct scritem scr_unit[]=
{
-- 10,10,6, 'C', "counters its members : [" NULL,0,0,0,0}.
-- 12,10,6, 'P', "teller code : [" NULL,0,0,0,0}.
-- 14,10,6, 'C', "its institutions : [" NULL,0,0,0,0}.
-- 10,24,0, 'C', "]" NULL,0,0,0,0}.
-- 12,26,0, 'C', "]" NULL,0,0,0,0}.
-- 14,24,0, 'C', "]" NULL,0,0,0,0}.
{0}
}; |
Make mistakes, sco open server operating systems.
This should not make the mistake
The last line
{0}
A few too many things |
Make mistakes, sco open server operating systems.
Sorry, wrong, not me, the problem
458 firms are what tie out on |
Make mistakes, sco open server operating systems.
The lack of definition of the structure
Struct definition you need to come scritem the first document #include |
Make mistakes, sco open server operating systems.
This can also see that really strong |
Make mistakes, sco open server operating systems.
Thank you upstairs two issues : that I have found, the effect is that all these documents now make a name through, but do not generate executable files, and then help me find ah.
Cc-c main.c -DMASDEBUG
Cc-c sockconnect.c -DMASDEBUG
Cc-c getfile.c -DMASDEBUG
Cc-c XML.c -DMASDEBUG
Starting Link : atc
Obj/main.o : fatal error : can not open file for reading
*** Error code 1 (bu21)
Makefile as follows :
BIN=. . /bin/
OBJ=obj/
CC=cc -DMASDEBUG-c
ED=@cc -dy -o
MAIN= $ (OBJ) main.o $ (OBJ) sockconnect.o $ (OBJ) getfile.o $ (OBJ) XML.o
LNK=-L$ (BIN) -lcur1 -lsocket -lcurses -lm
All : $ (BIN) atc
echo "ATC FINISHED"
$ (BIN) atc : $ (MAIN)
echo "Starting Link : atc"
$ (ED) atc $ (MAIN) $ (LNK)
$ (OBJ) main.o : main.c
$ (CC) main.c
mv Main.o $ (OBJ)
$ (OBJ) : getfile.c getfile.o
$ (CC) getfile.c
mv Getfile.o $ (OBJ)
$ (OBJ) : sockconnect.c sockconnect.o
$ (CC) sockconnect.c
mv Sockconnect.o $ (OBJ)
$ (OBJ) : XML.c XML.o
$ (CC) XML.c
mv XML.o $ (OBJ) |
| |