Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion 64 bit Linux support
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
sathiya  
View profile  
 More options Dec 26 2007, 9:04 pm
From: sathiya <getsath...@gmail.com>
Date: Wed, 26 Dec 2007 18:04:08 -0800 (PST)
Local: Wed, Dec 26 2007 9:04 pm
Subject: Re: 64 bit Linux support

 Thank you replying .
 I have replace the following files under lib,
 libplc4.so    libxpcom.so
 libnspr4.so  libplds4.so

 but now i received different error,
/usr/bin/ld: skipping incompatible third_party/gecko_1.8/linux/
gecko_sdk/lib/libxpcomglue_s.a when searching for -lxpcomglue_s
/usr/bin/ld: cannot find -lxpcomglue_s
collect2: ld returned 1 exit status
make[1]: *** [bin-opt/linux-x86_64/ff/libgears.so] Error 1
make: *** [default] Error 2

On Dec 27, 12:14 am, "John Yodsnukis" <john.yodsnu...@gmail.com>
wrote:

> On Dec 25, 2007 9:37 PM, sathiya <getsath...@gmail.com> wrote:

> > I have modified all three files.
> > But when compile the code, i received the following errors,
> >  /usr/bin/ld: skipping incompatible third_party/gecko_1.8/linux/
> > gecko_sdk/lib/libxpcom.so when searching for -lxpcom
> > /usr/bin/ld: cannot find -lxpcom
> > collect2: ld returned 1 exit status
> > make[1]: *** [bin-opt/linux-x86_64/ff/libgears.so] Error 1
> > make: *** [default] Error 2

> <snip>

> > > > On 7/16/07, John Yodsnukis <john.yodsnu...@gmail.com> wrote:

> > > > > Here's a patch that allowed me to compile from svn source under 64 bit Linux.

> > > > > Index: gears/tools/config.mk
> > > > > ===================================================================
> > > > > --- gears/tools/config.mk       (revision 142)
> > > > > +++ gears/tools/config.mk       (working copy)
> > > > > @@ -40,11 +40,13 @@
> > > > >  #   OSX builds will override this.
> > > > >  #   Other platforms just need a value defined.
> > > > >  ARCH = i386
> > > > > +ARCH = x86_64

> > > > >  # Set default build mode
> > > > >  #   dbg = debug build
> > > > >  #   opt = release build
> > > > >  MODE = dbg
> > > > > +MODE = opt

> > > > >  # $(shell ...) statements need to be different on Win32 (%% vs %).
> > > > > @@ -95,6 +97,7 @@
> > > > >  COMPILE_FLAGS_dbg = -g -O0
> > > > >  COMPILE_FLAGS_opt = -O2
> > > > >  COMPILE_FLAGS = -c -o $@ -fPIC -Wall -Werror $(COMPILE_FLAGS_$(MODE))
> > > > > +COMPILE_FLAGS = -c -o $@ -fPIC -Wall         $(COMPILE_FLAGS_$(MODE))

> > > > >  # NS_LITERAL_STRING does not work properly without this compiler option
> > > > >  COMPILE_FLAGS += -fshort-wchar
> > > > > Index: gears/localserver/firefox/async_task_ff.cc
> > > > > ===================================================================
> > > > > --- gears/localserver/firefox/async_task_ff.cc  (revision 142)
> > > > > +++ gears/localserver/firefox/async_task_ff.cc  (working copy)
> > > > > @@ -441,7 +441,8 @@
> > > > >        Abort();
> > > > >        break;
> > > > >      default:
> > > > > -      OnListenerEvent(msg_code, reinterpret_cast<int>(msg_param));
> > > > > +//    OnListenerEvent(msg_code, reinterpret_cast<int>(msg_param));
> > > > > +      OnListenerEvent(msg_code, reinterpret_cast<long>(msg_param));
> > > > >        break;
> > > > >    }
> > > > >  }

> You must replace the below files with 64bit versions.  You can
> probably find them in /usr/lib/...
> or in the 64 bit gecko sdk.

> > > > > Index: gears/third_party/gecko_sdk/1.8/linux/lib/libxpcomglue_s.a
> > > > > ===================================================================
> > > > > Cannot display: file marked as a binary type.
> > > > > svn:mime-type = application/octet-stream
> > > > > Index: gears/third_party/gecko_sdk/1.8/linux/lib/libnspr4.so
> > > > > ===================================================================
> > > > > Cannot display: file marked as a binary type.
> > > > > svn:mime-type = application/octet-stream
> > > > > Index: gears/third_party/gecko_sdk/1.8/linux/lib/libxpcom.so
> > > > > ===================================================================
> > > > > Cannot display: file marked as a binary type.
> > > > > svn:mime-type = application/octet-stream
> > > > > Index: gears/third_party/gecko_sdk/1.8/linux/bin/xpidl
> > > > > ===================================================================
> > > > > Cannot display: file marked as a binary type.
> > > > > svn:mime-type = application/octet-stream
> > > > > Index: gears/third_party/gecko_sdk/1.8/linux/bin/xpt_dump
> > > > > ===================================================================
> > > > > Cannot display: file marked as a binary type.
> > > > > svn:mime-type = application/octet-stream
> > > > > Index: gears/third_party/gecko_sdk/1.8/linux/bin/regxpcom
> > > > > ===================================================================
> > > > > Cannot display: file marked as a binary type.
> > > > > svn:mime-type = application/octet-stream
> > > > > Index: gears/third_party/gecko_sdk/1.8/linux/bin/xpt_link
> > > > > ===================================================================
> > > > > Cannot display: file marked as a binary type.
> > > > > svn:mime-type = application/octet-stream


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.