Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#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)

main.log (505.6 KB) - added by martinezino@… 13 years ago.

Download all attachments as: .zip

Change History (7)

Changed 13 years ago by martinezino@…

Attachment: main.log added

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Cc: ryandesign removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: vineserver added

Please remember to fill in the Port field. Bare usernames do not work in the Cc field; you have to use complete email addresses.

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Status: newassigned
Summary: vineserver doesn't build on 10.6.7vineserver: 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 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 in reply to:  3 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: assignedclosed

I think I've fixed everything in r78672. It builds for me now.

comment:6 Changed 13 years ago by martinezino@…

confirmed - it also builds here. Thank you!

Note: See TracTickets for help on using tickets.