This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gmake
- To: gcc at gcc dot gnu dot org
- Subject: gmake
- From: "H. C." <hcglr at visto dot com>
- Date: Thu, 07 Dec 2000 03:48:24 -0800
- Reply-To: hcglr at visto dot com
Hi,
I have got a software package which I am gonna compile and run. Before that I must edit paths in the make.conf file.
And I edit the paths for the needed software but when I compile the program I get the following error in the makefile. It is a gnumake.
The error occured during the compilation:
"ld32: FATAL 9: I/O error (-lSVM) No such file or directory.
collect2: ld returned 32 exit status.
gmake:***[/usr/home/robcad/prm/planner_distribution/mips/planner]
error1 "
What am I doing wrong?
What does this error mean?
I have the needed software(RAPID and SVM) in the these paths:
/usr/home/robcad/prm/RAPID
/usr/home/robcad/prm/SVM
The editted make.conf and the makefile are attached.
___________________________________________________________________________
Visit http://www.visto.com/info, your free web-based communications center.
Visto.com. Life on the Dot.
# Paths and options you may want to edit.
ARCH = $(shell uname -p)
OBJ_DIR = $(MAIN_DIR)/$(ARCH)
CXX=g++
CC=gcc
MKDEP = makedepend
CPPFLAGS = -g -Wall -Woverloaded-virtual -DWEIGHT2 -DCOPY \
-DCURVATURE -DENHANCE=0 -DCHOOSE_BY_DISTANCE
# RAPID collision detection package
RAPID_INC = /usr/home/robcad/prm/RAPID
#/home/robot/include
RAPID_LIBS = /usr/home/robcad/prm/RAPID/$(ARCH)
#/home/robot/lib/$(ARCH)/egcs
# SVM vector library (part of older version of RAPID)
SVM_INC =/usr/home/robcad/prm/SVM
#/home/robot/include
SVM_LIBS =/usr/home/robcad/prm/SVM/$(ARCH)
#/home/robot/lib/$(ARCH)/egcs
# XForms gui library:
XFORM_INC = /usr/home/robcad/prm/FORMS
#/home/robot/include
XFORM_LIBS = /usr/home/robcad/prm/FORMS/$(ARCH)/egcs
#/home/robot/lib/$(ARCH)
# Javadoc-like documentation system
DOCXX=doc++
INC = -I$(MAIN_DIR) -I$(MAIN_DIR)/elastic -I$(MAIN_DIR)/planner \
-I$(RAPID_INC) -I$(SVM_INC) -I$(XFORM_INC)
LIB_PATH = -L$(RAPID_LIBS) -L$(SVM_LIBS) -L$(XFORM_LIBS)
-----------------------------7d02ca1d70084--
MAIN_DIR = $(shell pwd)
include Make.conf
SOURCE = planner_main.C
INC_FILES = $(SOURCE:%.C=%.H)
DOCHDRS = Alist.H Globals.H config.H \
elastic/size.H \
elastic/Configuration.H \
elastic/LimitCondition.H \
elastic/Object.H \
elastic/RigidObject.H \
elastic/RigidConfig.H \
planner/Assembly.H \
planner/Heap.H \
planner/RigidBodyTrans.H \
planner/PRM.H \
planner/Part.H \
planner/Path.H \
planner/Roadmap.H \
planner/Soup.H \
planner/pstream.H \
planner/stats.H
OBJECTS = $(SOURCE:%.C=$(OBJ_DIR)/%.o)
INCPATH = $(INC)
CFLAGS = $(CPPFLAGS)
.PHONY: all planner makeplanner makeelastic path_player asm_edit psmoother doc \
clean clobber depend target-dir
all: planner path_player psmoother asm_edit
planner: target-dir $(OBJ_DIR)/planner
target-dir:
@if ( $(MAKE) -version 2>/dev/null | grep GNU > /dev/null ) ; then \
echo Gnumake. Excellent ; \
else \
echo This does not appear to be gnumake. ; \
exit 1 ; \
fi
@if [ ! -d $(OBJ_DIR) ] ; then \
echo "Creating build directory" ; \
mkdir $(OBJ_DIR) ; \
fi
$(OBJ_DIR)/planner: $(OBJECTS) makeplanner makeelastic makeflags.H
$(CXX) $(CFLAGS) -o $(OBJ_DIR)/planner $(OBJECTS) \
-L$(OBJ_DIR) -lplanner -lelastic $(TMK) -L. $(LIB_PATH) -lSVM -lRAPID
makeplanner: target-dir
cd planner; $(MAKE)
makeelastic: target-dir
cd elastic; $(MAKE)
path_player: target-dir
cd xfpath_player; $(MAKE)
asm_edit: target-dir
cd xfasm_edit; $(MAKE)
psmoother: target-dir
cd utils; $(MAKE)
doc:
$(DOCXX) -d html $(DOCHDRS)
FLAGSFILE = makeflags.H
makeflags.H: Makefile Make.conf
echo $(CFLAGS) > makeflags.tmp
date >> makeflags.tmp
echo '#ifndef MAKEFLAGS_H' > $(FLAGSFILE)
echo '#define MAKEFLAGS_H' >> $(FLAGSFILE)
echo char MAKEFLAGS[]=\"\\ >> $(FLAGSFILE)
cat makeflags.tmp | sed -e 's/$$/\\n\\/' >> $(FLAGSFILE)
echo '";' >> $(FLAGSFILE)
echo '#endif' >> $(FLAGSFILE)
rm makeflags.tmp
$(OBJ_DIR)/%.o: %.C
$(CXX) -c -o $@ $(CFLAGS) $(INCPATH) $<
clean:
rm -f core
rm -f $(OBJECTS)
cd planner; $(MAKE) clean
cd elastic; $(MAKE) clean
cd utils; $(MAKE) clean
cd xfasm_edit; $(MAKE) clean
cd xfpath_player; $(MAKE) clean
clobber: clean
depend:
$(MKDEP) -p$(OBJ_DIR)/ $(CFLAGS) $(INCPATH) $(SOURCE)
cd planner; $(MAKE) depend
cd elastic; $(MAKE) depend
cd utils; $(MAKE) depend
cd xfasm_edit; $(MAKE) depend
cd xfpath_player; $(MAKE) depend
-----------------------------7d0f02970084--