VMD-L Mailing List
From: Bennion, Brian (Bennion1_at_llnl.gov)
Date: Mon Nov 19 2012 - 18:09:11 CST
- Next message: John Stone: "Re: VMD can't display new PDB secondary structure properly (pyMol, jMol can)"
- Previous message: John Stone: "Re: vmd cause linux system freezes randomly"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
>From a previous message I wrote that the TCLLIB and TCLINC variables were important but they need to be set in a manner that is lacking a proper description in the documentation.
TCLINC=/usr/include/ not
TCLINC=/usr/include/tcl.h
this file was becoming part of the link/compile line that gcc was angry over.
TCLLIB=/usr/lib64/libtcl8.5.so works to get all the tcl plugins compiled.
________________________________
From: owner-vmd-l_at_ks.uiuc.edu [owner-vmd-l_at_ks.uiuc.edu] on behalf of Bennion, Brian [Bennion1_at_llnl.gov]
Sent: Monday, November 19, 2012 1:24 PM
To: vmd-l_at_ks.uiuc.edu
Subject: vmd-l: molfile_plugins makefile errors
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
- Next message: John Stone: "Re: VMD can't display new PDB secondary structure properly (pyMol, jMol can)"
- Previous message: John Stone: "Re: vmd cause linux system freezes randomly"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]