On Fri, May 28, 1999 at 08:44:59AM -0700, John Feist wrote:
> Now for the dmascc_cfg challenge. I downloaded the
> dmascc_cfg-0_7_tar.gz file and expanded them in the /utils/dmascc dir. I
> did the 'make dmascc-cfg' and received the response "dmascc_cfg up
> todate". Then ran 'make install' I received the msg " install -m 755
> /usr/local/bin'. Then I ran the 'make clean' and it removed the
> dmascc_cfg file that came with the suite. Looks good right? Now for the
No. The tar file does NOT contain the binary. I just checked again.
Do something like that:
[0]% rm -rf dmascc_cfg
[0]% tar xfz dmascc_cfg-0.7.tar.gz
[0]% cd dmascc_cfg
[0]% ls -l
total 10
-rw-r--r-- 1 kudielka kudielka 149 Dec 3 1997 Makefile
drwxr-xr-x 2 kudielka kudielka 1024 Dec 3 1997 RCS
-rw-r--r-- 1 kudielka kudielka 1941 Dec 3 1997 README
-r--r--r-- 1 kudielka kudielka 5409 Dec 2 1997 dmascc_cfg.c
[0]% make
gcc -O -o dmascc_cfg dmascc_cfg.c
[0]%
> Running the make I see the gcc statement taking off but get some error
> messages:
> dmascc_cfg.c:265: unterminated character constant
> dmascc_cfg.c:266: unterminated character constant
> dmascc_cfg.c:267: unterminated character constant
> dmascc_cfg.c:268: unterminated character constant
> dmascc_cfg.c:271: could not find scc.h
> make: ***[dmascc_cfg] ERROR 1
> Going to lines 265-268 in the dmascc_cfg looked like echoed text
> statements about PI and PackeTwin card. The scc.h file does exit at a
> couple of locations.
You somehow managed to completely mess up the source file,
dmascc_cfg.c. It should only have 191 lines.
> Where did I mess up? I don't want to bother Mr. Kudielka any more than
> necessary and was hoping someone else has this configuration running and
> point me in the correct direction.
No problem ;)
-Klaus