Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gnutls 3.3.9 breaks 64bit build (danetool with undefined reference to `mkstemp') #58

Closed
abarbieri opened this issue Jan 3, 2015 · 5 comments

Comments

@abarbieri
Copy link

on Ubuntu 14.04.1 LTS whilst the 32bit build completes successfully all the way down to ffmpeg, during the 64bit build with the new gnutls v3.3.9 linking danetool.exe throws:
CCLD danetool.exe
danetool.o:danetool.c:(.text+0x1266): undefined reference to `mkstemp'
collect2: error: ld returned 1 exit status

previous gnutls 3.2.14 did not experience this error for 64bit build.

@rdp
Copy link
Owner

rdp commented Jan 4, 2015

ok reverted temporarily thanks for the note

On Sat, Jan 3, 2015 at 9:59 AM, abarbieri notifications@github.com wrote:

on Ubuntu 14.04.1 LTS whilst the 32bit build completes successfully all
the way down to ffmpeg, during the 64bit build with the new gnutls v3.3.9
linking danetool.exe throws:
CCLD danetool.exe
danetool.o:danetool.c:(.text+0x1266): undefined reference to `mkstemp'
collect2: error: ld returned 1 exit status

previous gnutls 3.2.14 did not experience this error for 64bit build.


Reply to this email directly or view it on GitHub
#58.

@rdp
Copy link
Owner

rdp commented Jan 5, 2015

ok fixed with work around from https://groups.google.com/forum/#!topic/roger-projects/-0OKk0RaQuI

@rdp rdp closed this as completed Jan 5, 2015
@abarbieri
Copy link
Author

this is what the guys at gcc/gfortran did few years ago to resolve the mkstemp issue with mingw64:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43844

mingw64 should also cope with mkstemp as shown here:
https://github.com/Alexpux/mingw-w64/blob/master/mingw-w64-tools/widl/src/port/port.c

@abarbieri
Copy link
Author

mingw_w64 is now at version 3.3.0, may want to bump up mingw-w64-build-3.6.4.local to make use of this latest stable version.

@rdp
Copy link
Owner

rdp commented Jan 6, 2015

yeah I did that yesterday, but no difference. And they might never
implement it LOL. However the gnutls guys said they would create a
workaround...which might be the right way...

On Tue, Jan 6, 2015 at 1:09 AM, abarbieri notifications@github.com wrote:

mingw_w64 is now at version 3.3.0, may want to bump up
mingw-w64-build-3.6.4.local to make use of this latest stable version.


Reply to this email directly or view it on GitHub
#58 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants