1

Problem with compiling

view story
linux-howto

http://ubuntuforums.org – Hello, I have a C++ program that was working on 10.04 version of Ubuntu. I upgraded to 12.04 and it's not compiling anymore and I get a bunch of errors looking like : undefined reference to `_gfortran..* the makefile is : OBJDIR = $(GARFIELD_HOME)/Object SRCDIR = $(GARFIELD_HOME)/Source INCDIR = $(GARFIELD_HOME)/Include HEEDDIR = $(GARFIELD_HOME)/Heed LIBDIR = $(GARFIELD_HOME)/Library # Compiler flags CFLAGS = -Wall -Wextra -Wno-long-long \ `root-config --cflags` \ -O3 -fno-common -c \ -I$(INCDIR) -I$(HEEDDIR) # Debug flags #CFLAGS += -g LDFLAGS = `root-config --glibs` -lGeo (Hardware)