croczilla.com 
 home   zap   svg   xtf   jssh   bits&pieces   blog   personal   
  home > zap > lists > zap-devel > Archive > 2005 > 2005-08 > Build error on mac os X / Ludovic Hirlimann <qa-mozilla@hirlimann.net>

zap-devel mailing list

To subscribe, send a mail with subject 'subscribe' to zap-devel(at)croczilla.com. Likewise, to unsubscribe, send a mail with subject 'unsubscribe' to zap-devel(at)croczilla.com.

[ << ] [ >> ]

[ JSSh / Alex Fritze <alex(at)croczilla.com> ] [ sip stack documentation / Alex Fritze ... ]

Build error on mac os X
Ludovic Hirlimann <qa-mozilla(at)hirlimann.net>
2005-08-25 20:42:18 [ FULL ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I've just tried to build zap.

I get the following linking error :
pa_tests/debug_convert.c: In function `patestCallback':
pa_tests/debug_convert.c:69: warning: comparison between signed and unsigned
gcc  -I/usr/X11R6/include -Wall -W -Wno-unused -Wpointer-arith
- -Wcast-align -Wno-long-long -fpascal-strings -no-cpp-precomp -fno-common
- -I/Developer/Headers/FlatCarbon -pipe  -DNDEBUG -DTRIMMED -O -o
pa_tests/debug_convert pa_tests/debug_convert.o    -Wl,-dead_strip
- -L../../../dist/bin -L../../../dist/lib libmoz_portaudio_v18_1.a -lm
ld: Undefined symbols:
_Pa_GetDefaultOutputDeviceID
_Pa_Sleep
_PaHost_AllocateFastMemory
_PaHost_CloseStream
_PaHost_FreeFastMemory
_PaHost_Init
_PaHost_OpenStream
_PaHost_StartEngine
_PaHost_StartInput
_PaHost_StartOutput
_PaHost_StopEngine
_PaHost_StopInput
_PaHost_StopOutput
_PaHost_Term
_Pa_CountDevices
make[5]: *** [pa_tests/debug_convert] Error 1
make[4]: *** [libs] Error 2
make[3]: *** [libs] Error 2
make[2]: *** [tier_99] Error 2
make[1]: *** [default] Error 2
make: *** [build] Error 2

Are they any libs that needs to be present on the system for zap to work ?

Ludovic
ps I'll be out most of the weekend, but I'm willing to dig into this
issue when I come back.
- --
Ludovic Hirlimann               http://perso.hirlimann.net/~ludo/blog/
                  GPG key 1024D/C139647C 2005-03-06
 Key fingerprint = 6EFB D26F C7A2 12B2 E093  B9E8 68F3 58F6 C139 647C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDDh8XaPNY9sE5ZHwRApkZAJ4m+9ZTDZlcuh2RmeLYyrAKNWc0qwCgkR6l
TTqQRJJ0veg3Lz12CxpH7ls=
=9j2B
-----END PGP SIGNATURE-----

Re: [zap-devel] Build error on mac os X
Alex Fritze <alex(at)croczilla.com>
2005-08-25 20:48:38 [ FULL ]
Hi Ludovic,

In theory everything should be there for the Mac, but the makefiles for 
portaudio and speex have so far only been customized for Windows and Linux.
In fact, you are the first person to attempt a build on the Mac - It 
would be great if you could get it to work!
It would probably be best to walk through the build problems on IRC. We 
have a #zap channel on irc.mozilla.org.

- Alex

Ludovic Hirlimann wrote:
[...]

Re: [zap-devel] Build error on mac os X
Ludovic Hirlimann <qa-mozilla(at)hirlimann.net>
2005-08-25 21:44:14 [ FULL ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alex Fritze wrote:[...]

Ok with tha attached patch it builds audio stuff.

but I get the following :
bleu:~/Documents/sources/zap/mozilla/dist/bin ludo$ ./xulrunner
../xpi-stage/zap/application.ini
Could not find compatible GRE, version <1.9a1_0000000000>
bleu:~/Documents/sources/zap/mozilla/dist/bin ludo$



Ludo
- --
Ludovic Hirlimann               http://perso.hirlimann.net/~ludo/blog/
                  GPG key 1024D/C139647C 2005-03-06
 Key fingerprint = 6EFB D26F C7A2 12B2 E093  B9E8 68F3 58F6 C139 647C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDDi2aaPNY9sE5ZHwRAvoDAJ4lQiEuol9uMrtNQTHxgcX9JNweqACfdEbm
TM1kU2gUX8v9AgvLuOZ7zo0=
=/A3E
-----END PGP SIGNATURE-----
Attachments:  
mac_build.patch text/plain 1864 Bytes

Re: [zap-devel] Build error on mac os X
Alex Fritze <alex(at)croczilla.com>
2005-08-25 22:01:08 [ FULL ]
Ludovic Hirlimann wrote:
[...][...][...]

- Alex

MailBoxer