[Mono-devel-list] jay compile error for mcs - undefined reference to '_mkstemp'

Josh Gerdes JGerdes at quilogy.com
Fri Feb 20 16:20:41 EST 2004


I am trying to get to the bottom of this compile issue I am having with mcs 0.30.1 when trying to compile in a cygwin environment on windows.  when trying to 'make' the source I get the 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 -c -o main.o
main.c
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:293: undefined reference to `_mkstemp'
main.o(.text+0x50d):/home/Josh/src/mcs-0.30.1/jay/main.c:294: undefined referenc
e to `_mkstemp'
main.o(.text+0x51a):/home/Josh/src/mcs-0.30.1/jay/main.c:295: 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
 
 
I am just trying to get a working version compiled on windows and I would love any help I could get.  I have noticed in the change log for jay that Alp Toker worked on something related to mkstemp and that Sean MacIsaac created the makefile targets.  I am wondering if I need to talk to them directly.  Any thoughts on this issue would be helpful.
 
Thanks,
 
Josh



More information about the Mono-devel-list mailing list