LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-11-2005, 05:31 AM   #1
Baryonic Being
Member
 
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
schuster
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 {
 
  


Reply



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

LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX

All times are GMT -5. The time now is 09:57 AM.

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