Bug #1629 fails to compile mysqld on windows

Submitted: 22 Oct 2003 10:58 Modified: 10 Dec 2003 19:47
Reporter: Gilles Levreau Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:4.0.16 OS:Windows (Windows)
Assigned to: Greg Weir CPU Architecture:Any

[22 Oct 2003 10:58] Gilles Levreau
Description:
Hi,

When I try to compile mysqld version 4.0.16 on Windows with Visual C++, using the provided configuration, it fails when linking, with the following error:

--------------------Configuration: mysqld - Win32 nt--------------------
Linking...
set_var.obj : error LNK2001: unresolved external symbol _resize_thr_alarm
../client_release/mysqld-nt.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

mysqld-nt.exe - 2 error(s), 0 warning(s)

Is there some flag to set before compiling ? Compiling 4.0.15 works fine.

How to repeat:
Open VC++, load mysql.dsw, set mysqld as active project, compile.
[24 Oct 2003 14:13] Sergei Golubchik
Greg, I think you fixed that already ?
[30 Oct 2003 14:31] Soslan Khubetsov
The same thing with libmysqld
[30 Oct 2003 17:06] Soslan Khubetsov
patch

mysys\thr_alarm.c
-----------------
/*****************************************************************************
  thr_alarm for win95
*****************************************************************************/

#else /* __WIN__ */

+void resize_thr_alarm(uint max_alarms)
+{
+}

void thr_alarm_kill(pthread_t thread_id)
{
  /* Can't do this yet */
}
[10 Dec 2003 18:18] Greg Weir
This has been fixed in the source tree; the fix will be included in the upcoming 4.0.17 release.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.073 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.