fatal error U1034
-
Does anyone know what this error is supposed to mean? I have an auto generated makefile and I don't quite know what this error means. Any help would be appreciated. Thanks,
Doesn't it tell you that a separator is missing?
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
-
Doesn't it tell you that a separator is missing?
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
-
I think it does but I don't know where to put the separator that is missing. Any ideas? I can't tell which make file it is refrencing.
jonesap5 wrote:
...I don't know where to put the separator that is missing.
Between the target and the dependent.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
-
jonesap5 wrote:
...I don't know where to put the separator that is missing.
Between the target and the dependent.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
-
jonesap5 wrote:
...I don't know where to put the separator that is missing.
Between the target and the dependent.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
I think this is the Makefile it is called Makefile.dep and it is as follows: Makefile_TARGETS = \ Makefile.dep \ src/Makefile \ build/Makefile Makefile_DEPS = \ "C:/ERRT/ScreenSwitchTest/ScreenSwitchTest.rtmdl" \ "C:/Program Files/Rational/Rose RealTime/C++/RTComponents.rtcmppkg" I tried to place the ':' as follows but that didn't seem to work. Makefile_TARGETS = \ Makefile.dep \ src/Makefile \ build/Makefile : Makefile_DEPS = \ "C:/ERRT/ScreenSwitchTest/ScreenSwitchTest.rtmdl" \ "C:/Program Files/Rational/Rose RealTime/C++/RTComponents.rtcmppkg" any ideas? :confused:
-
In the make file I don't know how to identify the target and the dependent and where to put it. I also don't know which make file I am placing this in. I don't know if that makes sense?:confused:
jonesap5 wrote:
I also don't know which make file I am placing this in.
How many .mak files are there?
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
-
jonesap5 wrote:
I also don't know which make file I am placing this in.
How many .mak files are there?
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
I look in the project directory and there is a make file, I look in the source directory and there is another Makefile. I am also wondering when it says makefile(11): fatal error U1034: syntax ..., does the 11 in parens indicate the error in on line 11 of the makefile? :sigh:
-
I look in the project directory and there is a make file, I look in the source directory and there is another Makefile. I am also wondering when it says makefile(11): fatal error U1034: syntax ..., does the 11 in parens indicate the error in on line 11 of the makefile? :sigh:
jonesap5 wrote:
I am also wondering when it says makefile(11): fatal error U1034: syntax ..., does the 11 in parens indicate the error in on line 11 of the makefile?
Yes, and the name of the file is makefile.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
-
jonesap5 wrote:
I am also wondering when it says makefile(11): fatal error U1034: syntax ..., does the 11 in parens indicate the error in on line 11 of the makefile?
Yes, and the name of the file is makefile.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
So this I think is the make file and I can't see anything wrong with line 11. I even compared it to another makefile similar to this one. Can you see a problem. RTS_HOME = C:/Program Files/Rational/Rose RealTime/C++/TargetRTS include <$(RTS_HOME)/codegen/rtgen.mk> MODEL = C:/ERRT/ScreenSwitchTest/ScreenSwitchTest.rtmdl COMPONENT = "Component View::MainCapsuleTest" RTGEN_FLAGS = -model $(MODEL) -component $(COMPONENT) -spacedeps dq include TARGETS = $(MainCapsuleTest_SYSTARGET) RTGENERATE_TARGET = $(TARGETS) RTGENERATE_DAT = rtgenerate.dat "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\nmake.exe" /nologo RTgenerate : $(RTGENERATE_TARGET) //my comment - is this not line 11? .PRECIOUS : $(TARGETS) $(MainCapsuleTest_SYSTARGET) : $(MainCapsuleTest_SYSDEPS) $(RTGENERATE_DAT) $(RTGEN) $(RTGEN_FLAGS) -system -- modified at 14:51 Tuesday 18th April, 2006
-
jonesap5 wrote:
I am also wondering when it says makefile(11): fatal error U1034: syntax ..., does the 11 in parens indicate the error in on line 11 of the makefile?
Yes, and the name of the file is makefile.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
Crow, hey I found the problem, everytime I would build it would seem to recreate the makefile. I had a line in the makefile as follows: "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\nmake.exe" /nologo that particular line was causing problems. I am building in the Rational Rose Environment and within a particular field called CodeGenMakeInsert on a C++ Generation tab for a Component Specification I had that line inserted. I know that it may mean nothing to you but it fixed the problem just wanted you to know. Thanks for you help. It took me a while to figure it out but I think it makes sense after looking at another generated makefile from the same environment that didn't have a line like that. Sorry for the ramble hope this helps someone else out. :doh: