Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GDB install question

Status
Not open for further replies.

FransJ

Programmer
Oct 2, 2001
4
NL
Hi all,

After having some problems with segmentation errors and reading through some of the topics here on this forum, i decided to use GDB to solve the problem. Finding the source for this was no problem. That started after the configuration. When i tried to make, an error occured:

Make: line 1249: syntax error. Stop.

Looking in the makefile i found the following:

# This rule is used to build the modules which are built with the
# build machine's native compiler.
.PHONY: $(ALL_BUILD_MODULES)
$(ALL_BUILD_MODULES): <---- line 1249
dir=`echo $@ | sed -e 's/all-build-//'`; if [ -f ./$${dir}/Makefile ] ; then r=`pwd`; export r; s=`cd $(srcdir); pwd`; export s; (cd $(BUILD_SUBDIR)/$${dir} && $(MAKE) all); else true; fi


Because its a generated makefile and in the manual was stated that only a &quot;./configure&quot; and &quot;make&quot; should be enough i'm a bit of lost now.

Has anyone ever encountered this problem while trying to install GDB and what was the solution?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top