#29483 closed defect (fixed)
vineserver: expected specifier-qualifier-list before 'pthread_mutex_t'
Reported by: | martinezino@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ||
Port: | vineserver |
Description
port install vineserver
doesn't build the vineserver
main.log as attachment
Attachments (1)
Change History (7)
Changed 13 years ago by martinezino@…
comment:1 Changed 13 years ago by jmroot (Joshua Root)
Cc: | ryandesign removed |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Port: | vineserver added |
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Status: | new → assigned |
---|---|
Summary: | vineserver doesn't build on 10.6.7 → vineserver: expected specifier-qualifier-list before 'pthread_mutex_t' |
Issue confirmed. Which is strange, since this built fine for me before on the same system. I'm now worried that the port's use of the "V3_1" CVS branch may not be sufficient to tie this down to a specific version of the software, and that the software has changed in the repository since I last tried to build it in December 2009.
comment:3 follow-up: 4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
That doesn't seem to be it though; from what I can see, the V3_1 tag hasn't changed in 20 months.
The pthread_mutex_t error can be overcome, as I gathered from a Google search, by adding "#include <pthread.h>
" near the top of OSXvnc-server/rfb.h, but then I run into "TigerExtensions.m:383: error: 'smLastScript' undeclared (first use in this function)
" which is strange because right above that I get "TigerExtensions.m:383: warning: 'GetScriptManagerVariable' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h:993)
" and that Script.h is exactly where smLastScript is declared.
Still baffled why this used to work and now doesn't. vineserver doesn't have any dependencies to speak of, so I can only guess that an Xcode or Mac OS X update caused these problems.
comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to ryandesign@…:
and that Script.h is exactly where smLastScript is declared.
Oh. It's wrapped in "#if !__LP64__
".
comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I think I've fixed everything in r78672. It builds for me now.
Please remember to fill in the Port field. Bare usernames do not work in the Cc field; you have to use complete email addresses.