[vox-tech] Problems with missing 'missing' file

Cam Ellison cam at ellisonet.ca
Wed Jun 22 15:43:54 PDT 2011


I'm trying to compile a firmware flashing app (I have a MultiTech modem 
with a motorboating problem, and the firmware upgrade is said to be the 
answer) and keep running into the same error.  The app was developed for 
OSX, but the notes say it will run on Linux.

Research has indicated that the order of commands in configure.in is 
critical, but changing the order as indicated doesn't solve all of the 
problem.

Here is a snippet from running ./configure:
...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/cam/Downloads/flashwiz/flashwiz-src_3.0.0.0/missing: line 5: 
$'\r': command not found
/home/cam/Downloads/flashwiz/flashwiz-src_3.0.0.0/missing: line 10: 
$'\r': command not found
/home/cam/Downloads/flashwiz/flashwiz-src_3.0.0.0/missing: line 15: 
$'\r': command not found
/home/cam/Downloads/flashwiz/flashwiz-src_3.0.0.0/missing: line 20: 
$'\r': command not found
/home/cam/Downloads/flashwiz/flashwiz-src_3.0.0.0/missing: line 34: 
syntax error near unexpected token `$'in\r''
'home/cam/Downloads/flashwiz/flashwiz-src_3.0.0.0/missing: line 34: 
`case "$1" in
configure: WARNING: `missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
...

I have seen a suggestion that running dos2unix will deal with those 
$'\r' lines, but dos2unix thinks it's a binary file.

Despite the above, the Makefile is created.

Running make produces this:

(CDPATH="${ZSH_VERSION+.}:" && cd . && autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-am
make[1]: Entering directory 
`/home/cam/Downloads/flashwiz/flashwiz-src_3.0.0.0'
source='clp.cpp' object='clp.o' libtool=no \
         DEPDIR=.deps depmode=none /bin/bash ./depcomp \
         g++ -DHAVE_CONFIG_H -DDATADIR="\".\"" -DUNIX -Dscfg_kRunUnixOS 
-Dscfg_kHasFileSystem -Dscfg_kIsMultiTasking -Dscfg_kCommandLine -DDEBUG 
-I.     -g -O2 -c -o clp.o clp.cpp
./depcomp: line 2: $'\r': command not found
./depcomp: line 5: $'\r': command not found
./depcomp: line 10: $'\r': command not found
./depcomp: line 15: $'\r': command not found
./depcomp: line 20: $'\r': command not found
./depcomp: line 25: $'\r': command not found
./depcomp: line 27: $'\r': command not found
./depcomp: line 55: syntax error near unexpected token `$'in\r''
'/depcomp: line 55: `case "$depmode" in
make[1]: *** [clp.o] Error 2
make[1]: Leaving directory 
`/home/cam/Downloads/flashwiz/flashwiz-src_3.0.0.0'
make: *** [all] Error 2

Somehow I need to track those carriage returns down and change or remove 
them.

I know nothing of C/C+/C++ and venture into compiling (other than 
kernels) with great trepidation and little knowledge, so I'm rather at 
sea here.

Can someone give me an idea where to start with this?  I have a (brand 
new, $175) noisy modem to try to straighten out.

TIA

Cam




More information about the vox-tech mailing list