l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2011 Jun 22 17:28

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] Problems with missing 'missing' file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

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 

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 
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 
make: *** [all] Error 2

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

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.



vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!