bekeeper ([info]bekeeper) wrote in [info]bezilla,
@ 2007-12-25 15:20:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Hi all. New to the community...
but I'm here with a purpose.

First, some background on me: I'm a software developer: MS Apps: VB, Access, Excel, etc. Web dev: PHP + MySQL, Cold Fusion, ASP
I've been learning C++ since the beginning of 2007, so I'm still a beginner in this regard.

I've joined this group because I need help and this is the only qualified group that can provide it.

As not to overwhelm you with details, here is what I'm doing:

I decided that I wanted to create a plugin for FireFox on Beos. After reading pages of reference material, I fould out I need to build XULRunner to get the Gecko SDK to create FireFox plugins.

Well I've tried to compile XULRunner twice. The second time I compiled it with what I thought was a fix to the error from the first compile. I was wrong, but I think I know this time. The error is: 'undefined reference to BFilePanel::xxxx in the file nsFilePicker.o' I believe the problem is the compiler is not including the Be libraries but I don't know hardly enough about the build process and the tools to correct it.

Can someone help me out? I'll stick with this until it's completed but I will need some hand holding.

Thanks in advance,

bekeeper



(Post a new comment)


[info]fyysik
2007-12-26 10:02 pm UTC (link)
add
-ltracker
in sutable place in makefile definitions for libs, and you will be there.

BFilePanel class is part of libtracker.so

(Reply to this) (Thread)

Thanks!
[info]bekeeper
2007-12-28 02:24 am UTC (link)
fyysik,

That worked. Now I'm on to the next error. This one doesn't seem to hard:

'Undefined reference to realpath' (Or something close, I lost the error message unfortunately. I'll have to re-run the build to get it again -- 8hrs.)

I'll keep you up to date on my progress.

Thanks again,

bekeeper

(Reply to this) (Parent)(Thread)

Re: Thanks!
[info]fyysik
2007-12-28 02:35 am UTC (link)
realpath is posix function, as such it should be in libroot.so
but probably it isn't implemented in BeOS - as grep for "realpath" in files here:
/boot/develop/headers/posix
returns nothing.


At least we use native BeSo method instead realpath() here:
http://lxr.mozilla.org/seamonkey/source/xpcom/obsolete/nsFileSpecBeOS.cpp#191
for that purpose. Get it as example.

(Reply to this) (Parent)

question
[info]fyysik
2007-12-28 12:32 pm UTC (link)
Which source version you do use for your work?
Problem is that if you use trunk sources, it is unsupported by BeOS team anymore, so some places which were compilable with proper configure options, are broken now.
We all are using for FF/TB/SM builds 1.8 branch sources.

(Reply to this) (Parent)(Thread)

Re: question
[info]bekeeper
2007-12-29 01:22 am UTC (link)
fyysik,

I downloaded the source from the mozilla FTP site in /pub/xulrunner/releases/1.8.0.4/source

This is the location the build documentation says get the source from. Please point me to the correct location if this is not supported.

(Reply to this) (Parent)(Thread)

Re: question
[info]fyysik
2007-12-29 01:30 am UTC (link)
current branch is 1.8.1.*
so
ftp://ftp.mozilla.org/pub/xulrunner/releases/1.8.1.3/
looks bit more suitable.

Though, I always expected that all required SDK components are buildable from full mozilla source with appropriate configure flag.

some time ago SDK was buildable automatically by defualt together with browser, later default was changed. I had look at this time or two, as it compiled without any hiss - but for BeOS it missed some proper definitions - like folders where to place this and that etc etc.

(Reply to this) (Parent)(Thread)

Re: question
[info]bekeeper
2007-12-29 02:38 am UTC (link)
fyysik,

Everything in that branch looks platform specific (Win32, Linux, Mac) and already compiled.

(Reply to this) (Parent)


Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…