Share your knowledge at the LQ Wiki.
Go Back > Forums > Other *NIX Forums > Other *NIX
User Name
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.


  Search this Thread
Old 06-11-2005, 05:31 AM   #1
Baryonic Being
Registered: Mar 2004
Distribution: Arch
Posts: 139

Rep: Reputation: 15
Compiling Qt on Mac Tiger

I am trying to port some Linux apps to Mac OS X using the Qt libraries, and I'm wondering if anyone knows how to get Qt to compile on Tiger. The error is:

kernel/qaccessible_mac.cpp:189: error: non-local variable '<anonymous struct> text_bindings [][10]' uses anonymous type
make[2]: *** [.obj/release-shared/qaccessible_mac.o] Error 1
make[1]: *** [sub-src] Error 2
make: *** [init] Error 2

And by the way, if I do port these apps, I'll end up with a binary. But since I'm using a G5 processor, will these binaries be incompatible with G4s and below?

I'm using gcc 3.3 20030304. I do have gcc 4 too; that fails too with the same error.

Last edited by Baryonic Being; 06-11-2005 at 06:00 AM.
Old 07-02-2005, 03:17 PM   #2
LQ Newbie
Registered: Jul 2005
Location: Germany
Posts: 1

Rep: Reputation: 0
I have the same problem with Mac OS 10.4.1 and gcc version 4.0.0 20041026 (Apple Computer, Inc. build 4061)

Solution 1:

Assign a name to the structure; change line 185 of qaccessible_mac.cpp:
struct an185{

Solution 2 (not tested):

Make "text_bindings" local; change line 185 of qaccessible_mac.cpp:
static struct {


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 05:16 AM
Mac OS 10.4 (Tiger)/Linux compatibiltiy lost_in_linuxland Linux - Networking 4 10-12-2005 09:02 AM
Mac G3 Lombard;Tiger or Deb Stable?? bcalder01 Debian 1 09-19-2005 11:31 AM
gnome on mac os x tiger pieter023 *BSD 1 08-19-2005 06:48 PM
Compiling a Mac Binary On Linux calimer Linux - Software 6 06-10-2005 04:47 AM > Forums > Other *NIX Forums > Other *NIX

All times are GMT -5. The time now is 02:39 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration