This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

more make problems...


Folks,

    Thanks (especially Earnie!) for your help with my earlier
make problems!  I'm afraid that I have another one though...
I am attempting to build a package from an INSTALL script
that functions properly under Solaris 2.6 and IRIX 6.5, but
gets an error under Cygwin.  The script calls the C preprocessor
to do process a template makefile and produce a customized one.
Specifics follow:  (Sorry for the length, but I am running out
of ideas... :-(   )

System configuration:
$uname -a
CYGWIN_NT-5.0 HEBRIDEAN 1.1.2(0.21/3/2) 2000-06-06 22:20 i686 unknown

$ cygcheck -s
Cygnus Win95/NT Configuration Diagnostics
Current System Time: Fri Jun 23 13:12:41 2000

WinNT Ver 5.0 build 2195 

Path:	/usr/bin
	/usr/local/bin
	/WINNT/system32
	/WINNT
	/WINNT/system32/WBEM
	/Perl/bin/
	/PROGRA~1/CRNADM~1
	/usr/bin
	/usr/bin
	/usr/sbin
	/usr/local/bin
	/WINNT/system32
	/WINNT
	/emacs-20.6/bin

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

HOME = `/Users/young'
MAKE_MODE = `unix'
PWD = `/Users/young'

Use `-r' to scan registry

a:  fd           N/A    N/A                    
c:  hd  NTFS    2047Mb  80% CP CS UN PA FC     
d:  hd  NTFS    2635Mb  17% CP CS UN PA FC     Local Disk
e:  hd  NTFS    4957Mb  22% CP CS UN PA FC     
g:  cd           N/A    N/A                    

C:\bin  /usr/bin  system  binmode
C:\lib  /usr/lib  system  binmode
C:    /        system  binmode
E:    /E       system  textmode

Found: C:\bin\bash.exe
Found: \bin\bash.exe
Found: C:\bin\cat.exe
Found: \bin\cat.exe
Found: C:\bin\cpp.exe
Found: \bin\cpp.exe
Found: C:\bin\find.exe
Found: \bin\find.exe
Found: C:\bin\gcc.exe
Found: \bin\gcc.exe
Found: C:\bin\gdb.exe
Found: \bin\gdb.exe
Found: C:\bin\ld.exe
Found: \bin\ld.exe
Found: C:\bin\ls.exe
Found: \bin\ls.exe
Found: C:\bin\make.exe
Found: \bin\make.exe
Found: C:\bin\sh.exe
Found: \bin\sh.exe

   83k 2000/06/11 C:\bin\cygitcl30.dll
   35k 2000/06/11 C:\bin\cygitk30.dll
  402k 2000/06/11 C:\bin\cygtcl80.dll
    5k 2000/06/11 C:\bin\cygtclpip80.dll
   10k 2000/06/11 C:\bin\cygtclreg80.dll
  639k 2000/06/11 C:\bin\cygtk80.dll
  575k 2000/06/07 C:\bin\cygwin1.dll
   83k 2000/06/11 \bin\cygitcl30.dll
   35k 2000/06/11 \bin\cygitk30.dll
  402k 2000/06/11 \bin\cygtcl80.dll
    5k 2000/06/11 \bin\cygtclpip80.dll
   10k 2000/06/11 \bin\cygtclreg80.dll
  639k 2000/06/11 \bin\cygtk80.dll
  575k 2000/06/07 \bin\cygwin1.dll
Use -h to see help about each section


Error message from build:-----------------------------------------------------

    build the smfcompile utility ...

gcc -E  makefile.cpp  -o makefile
makefile.cpp:22: invalid format `#line' directive
makefile.cpp:23: invalid format `#line' directive
makefile.cpp:24: invalid format `#line' directive
makefile.cpp:26: invalid format `#line' directive
makefile.cpp:27: invalid format `#line' directive
makefile.cpp:28: invalid preprocessing directive name
makefile.cpp:29: invalid format `#line' directive
makefile.cpp:30: invalid format `#line' directive
[snip]

From makefile.cpp starting at line 20..:--------------------------------------

#
# history:
#	01-Apr-1994 KKW Initial version
#	18-Apr-1994 DPH Created target 'all'
#	19-Apr-1994 MES Removed smfcompile from target 'all'
# 			Made target 'smfcompile' independent of libSMF.a
#	19-Oct-1994 DPH changed LIBS to -lPGSTK instead of -l$(GRP)
#	19-Oct-1994 MES Modified the .c.o target to compile without the
# 			-O (optimize) flag.
#	25-Oct-1994 DPH Added 'clean' target and removed target 'driver'
#	26-Sep-1995 MES - Added $(ADD_IFLAGS) to IFLAG definition
# 			- Added $(ADD_LFLAGS) to LFLAG definition
# 			These allow additional directories in the include 
# 			and lib paths by setting environment variable.
# 			- Added $(ADD_LIBS) to LIBS definition which allows
# 			additional libraries to be added by setting an 
# 			environment variable.
# 			- Removed redundancy from smfcompile target that caused
# 			PGS_SMF_Comp.o to be called twice in the link.
# 			- Added .c rule
#	28-May-1996 MES Modified the .c.o and .c targets to compile without 
# 			the -ansiposix flag, for SGI IRIX/IRIX64 version 6.2
# 			only.  Needed for signal handling support.
#
# notes:
# 	1) This file is intended for use in the Multi-Platform PGS Development
# 	   Environment (MPPDE) .  It depends on the PGS-defined toolkit 
# 	   directory structure, and on environmental variables defined
# 	   by MPPDE startup files.  This is how machine independence
# 	   is maintained.
# 	2) Target executable files are moved to $PGSBIN
# 	3) Target object files are moved to $(PGSOBJ)/SMF

#
# set the name of this tool group
#
GRP = SMF

# force make to use the 'sh' shell
SHELL = /bin/sh

# name of remove utility
RM = /bin/rm
RMFLAGS = -f 
MFLAGS2 = -f makefile.cpp

# define C preprocessor symbols 
DFLAGS = -D$(HDFSYS)

# path for #include directive

End of makefile.cpp excerpt------------------------------------------


The lines that gcc -E is complaining about should be ignored
as comments, and are under Solaris and IRIX, but are not
under Cygwin.  Any ideas?

Oh...  Here is how things are mounted.  The source files in question
are under /E/TOOLKIT/src/SMF...

$ mount
Device              Directory           Type         Flags
C:\bin              /usr/bin            system       binmode
C:\lib              /usr/lib            system       binmode
C:                  /                   system       binmode
E:                  /E                  system       textmode


Thanks for any help....

                                           JY
-----------------------------------------------------------
John E. Young                                   864-8659
CSC/SCOMAC                                 B1268C/R1326E


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]