FreeBSD 9.0, "need operator" error
Posted: Mon Aug 27, 2012 2:55 am
Hi all,
Apologies if this has been addressed before. Several searches (and a couple of different fix attempts) haven't yielded a solution to this problem.
CodeLite version: 4.0.5589
OS: FreeBSD 9.0/PC-BSD 9.0 amd64, Lxde
I've updated my gdb from 6.1.1 to 7.3.1.
When I try to build and run a project ("Hello World"), I get the following error in the Build tab:
I've tried to enable Debugging, but I don't seem to be getting any debugging output. Any suggestions or guidance will be greatly appreciated.
Cheers!
Here is the HelloWorld.mk file:
Apologies if this has been addressed before. Several searches (and a couple of different fix attempts) haven't yielded a solution to this problem.
CodeLite version: 4.0.5589
OS: FreeBSD 9.0/PC-BSD 9.0 amd64, Lxde
I've updated my gdb from 6.1.1 to 7.3.1.
When I try to build and run a project ("Hello World"), I get the following error in the Build tab:
Code: Select all
----------Build Started--------
/bin/sh -c '"make" -j 2 -f "genericWorkspace_wsp.mk"'
----------Building project:[ HelloWorld - Debug ]----------
"HelloWorld.mk", line 87: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1
1 error
----------Build Ended----------
0 errors, 0 warnings
Cheers!
Here is the HelloWorld.mk file:
Code: Select all
##
## Auto Generated makefile by CodeLite IDE
## any manual changes will be erased
##
## Debug
ProjectName :=HelloWorld
ConfigurationName :=Debug
IntermediateDirectory :=./Debug
OutDir := $(IntermediateDirectory)
WorkspacePath := "/home/CanOfBees/Documents/genericWorkspace"
ProjectPath := "/home/CanOfBees/Documents/genericWorkspace/HelloWorld"
CurrentFileName :=
CurrentFilePath :=
CurrentFileFullPath :=
User :=CanOfBees
Date :=08/26/2012
CodeLitePath :="/usr/home/CanOfBees/.codelite"
LinkerName :=g++
ArchiveTool :=ar rcus
SharedObjectLinkerName :=g++ -shared -fPIC
ObjectSuffix :=.o
DependSuffix :=.o.d
PreprocessSuffix :=.o.i
DebugSwitch :=-gstab
IncludeSwitch :=-I
LibrarySwitch :=-l
OutputSwitch :=-o
LibraryPathSwitch :=-L
PreprocessorSwitch :=-D
SourceSwitch :=-c
CompilerName :=g++
C_CompilerName :=gcc
OutputFile :=$(IntermediateDirectory)/$(ProjectName)
Preprocessors :=
ObjectSwitch :=-o
ArchiveOutputSwitch :=
PreprocessOnlySwitch :=-E
ObjectsFileList :="/home/CanOfBees/Documents/genericWorkspace/HelloWorld/HelloWorld.txt"
PCHCompileFlags :=
MakeDirCommand :=mkdir -p
CmpOptions := -g -O0 -Wall $(Preprocessors)
C_CmpOptions := -g -O0 -Wall $(Preprocessors)
LinkOptions :=
IncludePath := $(IncludeSwitch). $(IncludeSwitch).
IncludePCH :=
RcIncludePath :=
Libs :=
LibPath := $(LibraryPathSwitch).
##
## User defined environment variables
##
CodeLiteDir:=/usr/pbi/codelite-amd64/share/codelite
Objects=$(IntermediateDirectory)/main$(ObjectSuffix)
##
## Main Build Targets
##
.PHONY: all clean PreBuild PrePreBuild PostBuild
all: $(OutputFile)
$(OutputFile): $(IntermediateDirectory)/.d $(Objects)
@$(MakeDirCommand) $(@D)
@echo "" > $(IntermediateDirectory)/.d
@echo $(Objects) > $(ObjectsFileList)
$(LinkerName) $(OutputSwitch)$(OutputFile) @$(ObjectsFileList) $(LibPath) $(Libs) $(LinkOptions)
$(IntermediateDirectory)/.d:
@test -d ./Debug || $(MakeDirCommand) ./Debug
PreBuild:
##
## Objects
##
$(IntermediateDirectory)/HelloWorld_main$(ObjectSuffix): main.cpp $(IntermediateDirectory)/HelloWorld_main$(DependSuffix)
$(CompilerName) $(IncludePCH) $(SourceSwitch) "/usr/home/CanOfBees/Documents/genericWorkspace/HelloWorld/main.cpp" $(CmpOptions) $(ObjectSwitch)$(IntermediateDirectory)/HelloWorld_main$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/HelloWorld_main$(DependSuffix): main.cpp
@$(CompilerName) $(CmpOptions) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/HelloWorld_main$(ObjectSuffix) -MF$(IntermediateDirectory)/HelloWorld_main$(DependSuffix) -MM "/usr/home/CanOfBees/Documents/genericWorkspace/HelloWorld/main.cpp"
$(IntermediateDirectory)/HelloWorld_main$(PreprocessSuffix): main.cpp
@$(CompilerName) $(CmpOptions) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/HelloWorld_main$(PreprocessSuffix) "/usr/home/CanOfBees/Documents/genericWorkspace/HelloWorld/main.cpp"
-include $(IntermediateDirectory)/*$(DependSuffix)
##
## Clean
##
clean:
$(RM) $(IntermediateDirectory)/HelloWorld_main$(ObjectSuffix)
$(RM) $(IntermediateDirectory)/HelloWorld_main$(DependSuffix)
$(RM) $(IntermediateDirectory)/HelloWorld_main$(PreprocessSuffix)
$(RM) $(OutputFile)
$(RM) "/home/CanOfBees/Documents/genericWorkspace/.build-debug/HelloWorld"