Problem compiling with multi-threading library 
Author Message
 Problem compiling with multi-threading library

During the c-compilation part of a build I get these errors:

Microsoft (R) Program Maintenance Utility   Version 1.62.7022
Copyright (C) Microsoft Corp 1988-1997. All rights reserved.

        cd E1
        nmake Eobj1.lib

Microsoft (R) Program Maintenance Utility   Version 1.62.7022
Copyright (C) Microsoft Corp 1988-1997. All rights reserved.

        cl -Ox -c -nologo  -DWORKBENCH
-IC:\PROGRA~1\ISEINC~1\Eiffel4\bench\spec
\windows\include  -c efrozen.c
efrozen.c
efrozen.c(9618) : error C2065: 'eif_thr_join_all' : undeclared identifier
efrozen.c(9618) : error C2099: initializer is not a constant
efrozen.c(9619) : error C2065: 'eif_thr_yield' : undeclared identifier
efrozen.c(9619) : error C2099: initializer is not a constant
efrozen.c(9625) : error C2065: 'eif_thr_mutex_create' : undeclared
identifier
efrozen.c(9625) : error C2099: initializer is not a constant
efrozen.c(9626) : error C2065: 'eif_thr_mutex_lock' : undeclared identifier
efrozen.c(9626) : error C2099: initializer is not a constant
efrozen.c(9627) : error C2065: 'eif_thr_mutex_trylock' : undeclared
identifier
efrozen.c(9627) : error C2099: initializer is not a constant
efrozen.c(9628) : error C2065: 'eif_thr_mutex_unlock' : undeclared
identifier
efrozen.c(9628) : error C2099: initializer is not a constant
efrozen.c(9640) : error C2065: 'eif_thr_create' : undeclared identifier
efrozen.c(9640) : error C2099: initializer is not a constant
efrozen.c(9641) : error C2065: 'eif_thr_exit' : undeclared identifier
efrozen.c(9641) : error C2099: initializer is not a constant
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\DevStudio\VC\bin\NMAKE.EXE"'
: ret
urn code '0x2'
Stop.

 I was attempting to compile a Windows program that I had working without
multithreading and had at this point made no changes to
the source code.  I just copied the class files to a new directory and
built a new ACE using the multithreading libraries instead.
Anyone understand this problem and have an idea of a fix?  (ISE Eiffel 4.1
personal edition, Windows NT, Microsoft Visual C++ 5.0)

Regards
Chris Saunders



Tue, 21 Dec 1999 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. thread21 - compiled version of threads library

2. Multi-threaded / multi-processor CL ?

3. Multi-threading on Multi-CPU machines

4. Win95 multi-thread problem

5. multi-threading in dpmi problem

6. Problems with a multi-threaded program

7. Problem with multi-threaded Tcl and stdin

8. Multi-thread update problem

9. Multi DLL compile problem.

10. problem - re.compile() blocks threads

11. Threaded Tcl calls non-thread-safe library functions

12. windows compile of 8.3.3 compiled for threads available

 

 
Powered by phpBB® Forum Software