[Mono-bugs] [Bug 54681][Wis] New - jay mkstemp error compiling MCS 0.30.1 on windows

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 20 Feb 2004 22:23:31 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by jgerdes@quilogy.com.

http://bugzilla.ximian.com/show_bug.cgi?id=54681

--- shadow/54681	2004-02-20 22:23:31.000000000 -0500
+++ shadow/54681.tmp.30861	2004-02-20 22:23:31.000000000 -0500
@@ -0,0 +1,71 @@
+Bug#: 54681
+Product: Mono/Compilers
+Version: unspecified
+OS: 
+OS Details: XP SP1
+Status: NEW   
+Resolution: 
+Severity: Unknown
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jgerdes@quilogy.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: jay mkstemp error compiling MCS 0.30.1 on windows
+
+Description of Problem:
+When trying to compile mono and mcs on a windows system running the 
+latest cygwin environment the make command fails for the mcs 0.30.1 
+source code.  Error is shown below.
+
+Steps to reproduce the problem:
+1. Install a full install of cygwin on windows
+2. Follow instructions to setup dependencies for mono and mcs from this 
+link: http://lists.ximian.com/archives/public/mono-devel-list/2004-
+January/003439.html
+3. Compile mono 0.30.1 from above instructions
+4. Run make command for mcs 0.30.1
+
+Actual Results:
+Make fails with following error.
+
+$ make
+make[1]: Entering directory `/home/Josh/src/mcs-0.30.1/build'
+make[1]: Leaving directory `/home/Josh/src/mcs-0.30.1/build'
+make[1]: Entering directory `/home/Josh/src/mcs-0.30.1/jay'
+gcc -mno-cygwin -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -o jay 
+closur
+e.o error.o lalr.o lr0.o main.o mkpar.o output.o reader.o symtab.o 
+verbose.o war
+shall.o
+main.o(.text+0x500): In function `create_file_names':
+/home/Josh/src/mcs-0.30.1/jay/main.c:292: undefined reference to 
+`_mkstemp'
+main.o(.text+0x50d):/home/Josh/src/mcs-0.30.1/jay/main.c:293: undefined 
+referenc
+e to `_mkstemp'
+main.o(.text+0x51a):/home/Josh/src/mcs-0.30.1/jay/main.c:294: undefined 
+referenc
+e to `_mkstemp'
+collect2: ld returned 1 exit status
+make[1]: *** [jay] Error 1
+make[1]: Leaving directory `/home/Josh/src/mcs-0.30.1/jay'
+make: *** [all-recursive] Error 1
+
+Expected Results:
+Make MCS successfully
+
+How often does this happen? 
+100%
+
+Additional Information:
+
+I have attempted using the latest CVS as well with no success.  The mono 
+0.30.1 source does compile when using the detailed instructions from the 
+link above.
+
+In addition I have tried to set a TMPDIR directory as described in bug 
+#47696 with no success.