delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/13/07:29:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Lars Monecke <spam AT monecke DOT de>
Subject: Re: bash v2.05b.0 + nmake v7.10.3077 problem
Date: Thu, 13 Nov 2003 13:28:38 +0100
Lines: 202
Message-ID: <bovtdv$626$1@sea.gmane.org>
References: <bot4op$l26$1 AT sea DOT gmane DOT org> <20031113131846 DOT GA12956 AT linux_rln DOT harvest>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
User-Agent: KNode/0.7.1

--nextPart38171165.NcqaC8evP0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8Bit

Hello Ronald,

here some additional information...

Ronald Landheer-Cieslak wrote:
> * the Makefile (especially line 147 seems to be of interest)

Please refer to attachment. But line 147 seems to the end of the file...
The Makefile is generated by qmake 1.06c.

> * a step-by-step description of what you're doing
here a the command history:
$ qmake
$ nmake clean
$ nmake 

The implementation files were compiled but the link command (or before) 
failed with fatal error U1054.

If i open then a cmd and switch to the directory and type nmake, the lib 
will be linked.

I can reproduce this on another machine.

> * whether it works when invoking nmake from the Windows command shell

My compilation works fine with a normal command shell.  

I diffed the generated Makefiles (under bash and cmd) and the only 
difference is the uppercase of the c: drive-letter.

Some more enviroments (i can send you see full cygcheck.out by email):
Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4

Package              Version
_update-info-dir     00223-1
base-files           2.6-1
cygwin               1.5.5-1
bash                 2.05b-16


Best Regards Lars.
-- 
   Lars Monecke             http://www.monecke.de
   PGP-Key unter            http://www.monecke.de/pgp-key.asc
--nextPart38171165.NcqaC8evP0
Content-Type: text/plain; name="Makefile"
Content-Transfer-Encoding: 8Bit
Content-Disposition: attachment; filename="Makefile"

#############################################################################
# Makefile for building: dispo-irm-io
# Generated by qmake (1.06c) (Qt 3.2.3) on: Thu Nov 13 11:36:51 2003
# Project:  io.pro
# Template: lib
# Command: $(QMAKE) -o Makefile io.pro
#############################################################################

####### Compiler, tools and options

CC		=	cl
CXX		=	cl
LEX		= flex
YACC		= byacc
CFLAGS	=	-nologo -Zm200 -W3 -MD -Zi -Gm  -DUNICODE -DWIN32 -DQT_NO_COMPAT -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_DEBUG -D_DEBUG -DBOOST_SIGNALS_NAMESPACE=boost_signals -DLEDA_PREFIX -DLEDA_STL_ITERATORS -DWIN32 -DNOMINMAX -D_REENTRANT -DBOOST_SIGNALS_STATIC_LINK -DSTD_EXT=stdext -DQT_THREAD_SUPPORT
CXXFLAGS	=	-nologo -GR -GX -wd4100 -Y- -W3 -w34100 -w34189 -MD -Od -Z7  -DUNICODE -DWIN32 -DQT_NO_COMPAT -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_DEBUG -D_DEBUG -DBOOST_SIGNALS_NAMESPACE=boost_signals -DLEDA_PREFIX -DLEDA_STL_ITERATORS -DWIN32 -DNOMINMAX -D_REENTRANT -DBOOST_SIGNALS_STATIC_LINK -DSTD_EXT=stdext -DQT_THREAD_SUPPORT
LEXFLAGS	=
YACCFLAGS	=-d
INCPATH	=	 -I"$(IFCDIR)\include" -I"$(BOOSTDIR)" -I"$(LEDADIR)\incl" -I"$(FLEXLMDIR)\machind" -I"$(QTDIR)\include" -I"uic\\" -I"c:\home\monecke\systems\dispo-irm-1-0-2\src\io" -I"moc\win32-msvc.net-debug\\" -I"c:\dev\lib\qt-3.2.3-msvc.net-static\mkspecs\win32-msvc.net"
LIB	=	lib /NOLOGO
MOC		=	$(QTDIR)\bin\moc.exe
UIC		=	$(QTDIR)\bin\uic.exe
QMAKE		=	qmake
IDC		=	$(QTDIR)\bin\idc.exe
IDL		=	midl
ZIP		=	zip -r -9
COPY_FILE	=       copy
COPY_DIR	=       copy
DEL_FILE	=       del
DEL_DIR	=       rmdir
MOVE		=       move
CHK_DIR_EXISTS =	if not exist
MKDIR		=	mkdir

####### Files

HEADERS =	..\include\io\csvfile.h \
		..\include\io\infraio.h \
		..\include\io\operatingio.h \
		..\include\io\serviceio.h \
		..\include\io\xmlwriter.h
SOURCES =	c\csvfile.cpp \
		c\infraio.cpp \
		c\operatingio.cpp \
		c\serviceio.cpp \
		c\xmlwriter.cpp
OBJECTS =	obj\win32-msvc.net-debug\csvfile.obj \
		obj\win32-msvc.net-debug\infraio.obj \
		obj\win32-msvc.net-debug\operatingio.obj \
		obj\win32-msvc.net-debug\serviceio.obj \
		obj\win32-msvc.net-debug\xmlwriter.obj
FORMS =	
UICDECLS =	
UICIMPLS =	
SRCMOC	=	
OBJMOC	=	
DIST	=	
TARGET	=	..\..\bin\win32-msvc.net-debug\dispo-irm-io.lib

####### Implicit rules

.SUFFIXES: .c .cpp .cc .cxx .C

.cpp.obj:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<

.cc.obj:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<

.cxx.obj:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<

.C.obj:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<

.c.obj:
	$(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $<

####### Build rules

all: Makefile $(TARGET)

$(TARGET):  $(UICDECLS) $(OBJECTS) $(OBJMOC) 
	$(LIB) /OUT:$(TARGET) @<<
	  $(OBJECTS) $(OBJMOC)
<<


mocables: $(SRCMOC)
uicables: $(UICIMPLS) $(UICDECLS)

Makefile: io.pro  c:\dev\lib\qt-3.2.3-msvc.net-static\mkspecs\win32-msvc.net\qmake.conf ..\include\qmake.include
	$(QMAKE) -o Makefile io.pro
qmake: 
	@$(QMAKE) -o Makefile io.pro

dist:
	$(ZIP) dispo-irm-io.zip $(SOURCES) $(HEADERS) $(DIST) $(FORMS) c:/home/monecke/systems/dispo-irm-1-0-2/src/io/io.pro ..\include\qmake.include  

uiclean:
mocclean:
clean: uiclean mocclean
	-$(DEL_FILE) obj\win32-msvc.net-debug\csvfile.obj
	-$(DEL_FILE) obj\win32-msvc.net-debug\infraio.obj
	-$(DEL_FILE) obj\win32-msvc.net-debug\operatingio.obj
	-$(DEL_FILE) obj\win32-msvc.net-debug\serviceio.obj
	-$(DEL_FILE) obj\win32-msvc.net-debug\xmlwriter.obj
	-$(DEL_FILE) ..\..\bin\win32-msvc.net-debug\dispo-irm-io01.pdb
	-$(DEL_FILE) ..\..\bin\win32-msvc.net-debug\dispo-irm-io01.ilk
	-$(DEL_FILE) vc*.pdb



FORCE:

distclean: clean
	-$(DEL_FILE) $(TARGET)

####### Compile

obj\win32-msvc.net-debug\csvfile.obj: c\csvfile.cpp ..\include\io\csvfile.h \
		..\include\tools\trace.h \
		..\include\tools\exception.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Foobj\win32-msvc.net-debug\csvfile.obj c\csvfile.cpp

obj\win32-msvc.net-debug\infraio.obj: c\infraio.cpp ..\include\io\infraio.h \
		..\include\tools\trace.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Foobj\win32-msvc.net-debug\infraio.obj c\infraio.cpp

obj\win32-msvc.net-debug\operatingio.obj: c\operatingio.cpp ..\include\io\operatingio.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Foobj\win32-msvc.net-debug\operatingio.obj c\operatingio.cpp

obj\win32-msvc.net-debug\serviceio.obj: c\serviceio.cpp ..\include\io\serviceio.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Foobj\win32-msvc.net-debug\serviceio.obj c\serviceio.cpp

obj\win32-msvc.net-debug\xmlwriter.obj: c\xmlwriter.cpp ..\include\io\xmlwriter.h \
		..\include\tools\exception.h \
		..\include\tools\trace.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -Foobj\win32-msvc.net-debug\xmlwriter.obj c\xmlwriter.cpp

####### Install

install: all  

uninstall:  



--nextPart38171165.NcqaC8evP0
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
--nextPart38171165.NcqaC8evP0--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019