From: Bennion, Brian (Bennion1_at_llnl.gov)
Date: Mon Nov 19 2012 - 15:24:33 CST

In the plugins directory I issue the following command:

bennion1 246:~/software/plugins gmake LINUXAMD64
gmake dynlibs staticlibs bins \
"ARCH = LINUXAMD64" \
"COPTO = -fPIC -m64 -o " \
"LOPTO = -fPIC -m64 -o " \
"CC = gcc" \
"CXX = g++" \
"DEF = -D" \
"CCFLAGS = -m64 -O2 -fPIC -Wall" \
"CXXFLAGS = -m64 -O2 -fPIC -Wall" \
"TCLLDFLAGS = -ltcl8.5 -ldl" \
"NETCDFLDFLAGS = -lnetcdf " \
"AR = ar" \
"NM = nm -p" \
"RANLIB = touch" \
"SHLD = gcc -shared"
gmake[1]: Entering directory `/home/bennion1/software/plugins'
cd molfile_plugin; gmake dynlibs && cd .. || exit 1
gmake[2]: Entering directory `/home/bennion1/software/plugins/molfile_plugin'
Building Molecule File Reader plugins
gcc -m64 -O2 -fPIC -Wall /usr/include/tcl.h -I../include -Isrc -c src/webpdbplugin.c -fPIC -m64 -o ../compile/lib_LINUXAMD64/molfile/webpdbplugin.o
gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
compilation terminated.

One can see that this command line is in violation of some rule. webpdbplugin.o requires readpdb.h and periodic_table.h, are these the "multiple files" that the error refers to?

Brian