Trouble with deprecated files


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Trouble with deprecated files
# 1  
Old 04-27-2012
Trouble with deprecated files

I apologize if I am "over-posting" in this forum; I know little about this stuff and I have several software programs that I must install. I have found this forum to be extremely helpful. Anyways, I am trying to install ZThreads on my computer (Mac OS X 10.7.3). When I run "make" it returns with:

Code:
macos/../macos/FastLock.h: In constructor 'ZThread::FastLock::FastLock()':
macos/../macos/FastLock.h:61: warning: 'MPCreateCriticalRegion' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:767)
macos/../macos/FastLock.h:61: warning: 'MPCreateCriticalRegion' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:767)
macos/../macos/FastLock.h: In destructor 'ZThread::FastLock::~FastLock()':
macos/../macos/FastLock.h:73: warning: 'MPDeleteCriticalRegion' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:784)
macos/../macos/FastLock.h:73: warning: 'MPDeleteCriticalRegion' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:784)
macos/../macos/FastLock.h: In member function 'void ZThread::FastLock::acquire()':
macos/../macos/FastLock.h:86: warning: 'MPEnterCriticalRegion' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:803)
macos/../macos/FastLock.h:86: warning: 'MPEnterCriticalRegion' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:803)
macos/../macos/FastLock.h: In member function 'bool ZThread::FastLock::tryAcquire(long unsigned int)':
macos/../macos/FastLock.h:102: warning: 'MPEnterCriticalRegion' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:803)
macos/../macos/FastLock.h:102: warning: 'MPEnterCriticalRegion' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:803)
macos/../macos/FastLock.h: In member function 'void ZThread::FastLock::release()':
macos/../macos/FastLock.h:127: warning: 'MPExitCriticalRegion' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:820)
macos/../macos/FastLock.h:127: warning: 'MPExitCriticalRegion' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:820)
In file included from TSS.h:46,
                 from ThreadImpl.h:31,
                 from AbstractThreadLocal.cxx:26:
macos/TSS.h: In constructor 'ZThread::TSS<T>::TSS()':
macos/TSS.h:61: warning: 'MPAllocateTaskStorageIndex' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:511)
macos/TSS.h: In destructor 'ZThread::TSS<T>::~TSS()':
macos/TSS.h:74: warning: 'MPDeallocateTaskStorageIndex' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:528)
macos/TSS.h: In member function 'T ZThread::TSS<T>::get() const':
macos/TSS.h:88: warning: 'MPGetTaskStorageValue' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:564)
macos/TSS.h: In member function 'T ZThread::TSS<T>::set(T) const':
macos/TSS.h:105: warning: 'MPSetTaskStorageValue' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:547)
In file included from ThreadOps.h:58,
                 from ThreadImpl.h:32,
                 from AbstractThreadLocal.cxx:26:
macos/ThreadOps.h: In static member function 'static ZThread::ThreadOps ZThread::ThreadOps::self()':
macos/ThreadOps.h:86: warning: 'MPCurrentTaskID' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:466)
macos/ThreadOps.h:86: warning: 'MPCurrentTaskID' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:466)
macos/ThreadOps.h: In static member function 'static void ZThread::ThreadOps::activate(ZThread::ThreadOps*)':
macos/ThreadOps.h:98: warning: 'MPCurrentTaskID' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:466)
macos/ThreadOps.h:98: warning: 'MPCurrentTaskID' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:466)
macos/ThreadOps.h: In static member function 'static bool ZThread::ThreadOps::isCurrent(ZThread::ThreadOps*)':
macos/ThreadOps.h:113: warning: 'MPCurrentTaskID' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:466)
macos/ThreadOps.h:113: warning: 'MPCurrentTaskID' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:466)
make[3]: *** [AbstractThreadLocal.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

What does it mean "MPCurrentTaskID" is deprecated? I googled the error and found on the Apple Developer website that this and many other multiprocessing files were deprecated as of Mac v 10.7. Is there a way around this, or what does this mean?
Thanks for any help
Tyler

Last edited by Scrutinizer; 04-27-2012 at 05:23 PM..
# 2  
Old 04-27-2012
It says on row first line of that page:
Quote:
A function identified as deprecated has been superseded and may become unsupported in the future.
Anyway, these seem to be only warnings.

The problem seems to be here, no?
Code:
make[3]: *** [AbstractThreadLocal.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

What compiler environment do you have installed?
Did you read this post: https://www.unix.com/os-x-apple/17888...os-x-lion.html
 
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Continued trouble matching fields in different files and selective field printing ([g]awk)

I apologize in advance, but I continue to have trouble searching for matches between two files and then printing portions of each to output in awk and would very much appreciate some help. I have data as follows: File1 PS012,002 PRQ 0 1 1 17 1 0 -1 3 2 1 2 -1 ... (7 Replies)
Discussion started by: jvoot
7 Replies

2. Linux

Trouble with files being saved as root.

I have a customer who is trying to have files saved as owner root in an application home directory. I've tried setting the sticky bit and but am not having luck. They do not have full root or sudo access. User = user123 Group = group123 Files are being saved as user123:group123 but they... (2 Replies)
Discussion started by: rkruck
2 Replies

3. Ubuntu

/etc/init.d/networking restart is deprecated?

After I set IP , I want to make it work, so I ran "/etc/init.d/networking restart" but it says it's deprecated: Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces So I want to know how to make my setup work correctly. Thanks in... (1 Reply)
Discussion started by: cqlouis
1 Replies

4. Shell Programming and Scripting

Function eregi() is deprecated error on kolab2 mailserver

Hello! I have installed kolab2 mailserver on openSUSE 11.2. + Horde web mail client (works on php5.3). It seems that everything works, but there is one small problem: Every time I sent an e-mail I get an error in the /var/log/kolab/filter.log file Dec 08 15:38:03 Kolab Filter... (0 Replies)
Discussion started by: hrkama
0 Replies

5. UNIX for Advanced & Expert Users

smartd is using a deprecated SCSI ioctl, please convert it to SG_IO

Hi All, I have installed GNU Red Hat Linux on my server. The installation is successful except that it gives out a display as following: program smartd is using a deprecated SCSI ioctl, please convert it to SG_IO Please let me know if anyone has come across such an error and know the... (1 Reply)
Discussion started by: nua7
1 Replies

6. UNIX for Dummies Questions & Answers

Trouble pasting multiple files together!!

Hi, I would like to paste multiple files together into one large file. I have 23 of them and I would like to link them on a common variable without writing all the file names out (like in a simple join). Each has about 28,000 columns, but only 17 rows. So the final product would be a single file... (2 Replies)
Discussion started by: etownbetty
2 Replies

7. UNIX for Dummies Questions & Answers

Trouble renaming files

I am trying to add an temporary extension to the end of all files under a certain directory that contain a certain substring within their name. I've tried using a pipe by doing "ls -R -1|grep "*substring*"|mv -S a=.tmp . ." but realized that won't work because mv doesn't accept input from stdin... (5 Replies)
Discussion started by: VashTheStampede
5 Replies
Login or Register to Ask a Question