LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-08-2008, 11:46 PM   #1
answerme
Member
 
Registered: Apr 2008
Posts: 97

Rep: Reputation: 24
Not getting link


Hye All
Iam not able to link my main makefile with sysmacro.mak. Well that makefile supports to windows(NMAKE) but i have to work on UNIX

Code:
SYSMACRO = $(RTXCROOT)/Include/sysmacro.mak

where RTXCROOT =.     //(what is . represents)
When iam compiling the main makefile ,iam getting error

Code:
Include/sysmacro.mak:199: *** extraneous `else'. Stop.
Code:
RTXCGEN = cclock.o cmbox.o cpart.o cqueue.o cres.o csema.o ctask.o config.o filecb.o
else   //line number 199
RTXCGEN = cclock.o cmbox.o cpart.o cqueue.o cres.o csema.o ctask.o \
		filecb.o
Kinldy give your valuable suggestion ,will be a gr8 help
 
Old 04-14-2008, 03:41 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,613

Rep: Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962
Quote:
Originally Posted by answerme View Post

Code:
Include/sysmacro.mak:199: *** extraneous `else'. Stop.
You apparently have an error at line 199, in the sysmacro.mak file, as indicated by the error you reported. Have you checked that file?
 
Old 04-14-2008, 04:13 PM   #3
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Microsoft "NMake" isn't "make".

You've got a couple of choices:

a) Hack your Microsoft "makefile" down to standard "make" syntax
<= This is both the cheapest and easiest alternative ... but you *will* have to learn a bit about "make" syntax

b) Learn the equivalent constructs in Gnu make

... or ...

c) Buy a third-party package that supports Microsoft "NMake" syntax on *nix: Opus Make:

http://www.opussoftware.com
 
  


Reply


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
How to create symbolic link to html file and avoid page link problem? haxpor Linux - General 2 01-29-2008 07:40 AM
skge: eth0: Link is up... Link is down... Link is up.... sugar2 Linux - Hardware 5 07-03-2007 03:52 PM
OpenBSD 3.6 install D-Link 300T / D-Link DFE 528TX lesleyb *BSD 2 04-01-2005 06:29 PM
Wake on Lan - Link on b4 power up, No Link light after shutdown? Mark007 Linux - Networking 0 11-20-2004 08:16 PM
eth1... failed; no link present. Check Link? illegalien Linux - Networking 3 11-03-2002 10:46 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:26 AM.

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