building 'crypt' extension ... gcc -shared -Wl,--enable-auto-image-base -L. -L/home/Erana/sage/local/lib -Wl,-rpath,/home/Erana/sage/local/lib -L. -L/home/Erana/sage/local/lib -Wl,-rpath,/home/Erana/sage/local/lib build/temp.cygwin-2.10.0-x86_64-2.7/home/Erana/sage/local/var/tmp/sage/build/python2-2.7.14.p2/src/Modules/cryptmodule.o -L/home/Erana/sage/local/lib -L/usr/local/lib -L. -L. -lpython2.7 -o build/lib.cygwin-2.10.0-x86_64-2.7/crypt.dll build/temp.cygwin-2.10.0-x86_64-2.7/home/Erana/sage/local/var/tmp/sage/build/python2-2.7.14.p2/src/Modules/cryptmodule.o: In function `crypt_crypt': /home/Erana/sage/local/var/tmp/sage/build/python2-2.7.14.p2/src/Modules/cryptmodule.c:27: undefined reference to `crypt' /home/Erana/sage/local/var/tmp/sage/build/python2-2.7.14.p2/src/Modules/cryptmodule.c:27:(.text+0x30): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `crypt' collect2: error: ld returned 1 exit status
Comparing with the log for Linux:
gcc -pthread -shared -L. -L/home/dima/Sage/sage-dev/local/lib -Wl,-rpath,/home/dima/Sage/sage-dev/local/lib -L. -L/home/dima/Sage/sage-dev/local/lib -Wl,-rpath ,/home/dima/Sage/sage-dev/local/lib build/temp.linux-x86_64-2.7/home/dima/Sage/sage-dev/local/var/tmp/sage/build/python2-2.7.14.p2/src/Modules/cryptmodule.o -L /home/dima/Sage/sage-dev/local/lib -L/usr/local/lib -L. -lcrypt -lpython2.7 -o build/lib.linux-x86_64-2.7/crypt.so
I see that -lcrypt is missing in your case. I don't know why...
> email to sage-devel+unsubscribe@googlegroups.com.
> To post to this group, send email to sage-...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "sage-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-devel/iMN3N7pqrq8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-devel+unsubscribe@googlegroups.com.
>>> > email to sage-devel+unsubscribe@googlegroups.com.
>>> > To post to this group, send email to sage-...@googlegroups.com.
>>> > Visit this group at https://groups.google.com/group/sage-devel.
>>> > For more options, visit https://groups.google.com/d/optout.
>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "sage-devel" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/sage-devel/iMN3N7pqrq8/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> To post to this group, send email to sage-...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/sage-devel.
>>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sage-devel" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to sage-devel+unsubscribe@googlegroups.com.
>> To post to this group, send email to sage-...@googlegroups.com.
>> Visit this group at https://groups.google.com/group/sage-devel.
>> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "sage-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-devel/iMN3N7pqrq8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-devel+unsubscribe@googlegroups.com.