Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-17-2008, 04:14 AM   #1
LQ Newbie
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
Compilation and locate errors in Vim

Hi all,

it describes how to compile a project and locate the error with a simple example.

I have a project to compile, it contains some libraries( a b c) and a target executable file(binary).

the libraries a b c and the target four folders are in the src folder.
make folder is in the same folder as src.
a.c aa.c aaaa.c aaaaaaa.c
b.c bbb.c bbbbb.c bbbbbb.c
c.c cc.c ccccc.c cccccccccc.c
d.c dd.c ddddd.c dddddddd.c


and there is another folder called make, inside it contains a Makefile,
the make file is as

SUBDIRS=../a ../b ../c ../target
.PHONY subdirs $(SUBDIRS)

make -C $@
../target: ../a ../b ../c

Compile the project in vim, if there are some error in the source code,
vim can not locate the file. The path is not right.

how could I resolve the problem?



compile, error, locate, make, vim

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
compilation errors in g++ manikan Linux - Software 1 02-03-2006 06:31 AM
g77/Linux: how to locate floating point errors in my own shared libs? Stephan P. Programming 3 08-05-2005 03:23 PM
C++ compilation errors ??? glevine Programming 1 07-16-2004 04:15 PM
Compilation Errors ! vipinsharma Programming 0 06-01-2004 03:24 AM
gaim compilation errors felixnine Linux - Software 1 07-23-2003 02:54 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration