-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Tuesday, 2012-02-28 at 10:43 -0500, Alexandre Savard wrote:

> Hi Carlos,
>
> The linking path for PJSIP are specified in sflphone/daemon/globals.mak.
>
> PJSIP_LIBS= \
>                        -L$(src)/libs/pjproject/pjnath/lib/ \
>                        -L$(src)/libs/pjproject/pjsip/lib/ \
>                        -L$(src)/libs/pjproject/pjlib/lib/ \
>                        -L$(src)/libs/pjproject/pjlib-util/lib/ \
>                        -L$(src)/libs/pjproject/pjmedia/lib/ \
>                        -lpjnath-$(target) \
>                        -lpjsua-$(target) \
>                        -lpjsip-$(target) \
>                        -lpjmedia-$(target) \
>
> As a suggestion, make sure the $(target) variable corresponds to the one of 
> your system.


I don't know how to learn the value of that variable inside a makefile, 
but the problem is there.

I have the file:

    
/home1/cer/Compilaciones/phone/sflphone/daemon/libs/pjproject/pjnath/lib/libpjnath-x86_64-unknown-linux-gnu.a

but the build error said:

    /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: 
cannot find -lpjnath-x86_64-suse-linux-gnu


So the file has the wrong name, it should be "libpjnath-x86_64-suse-linux-gnu.a"
instead of "libpjnath-x86_64-unknown-linux-gnu.a"


I have no idea what file is getting the wrong idea and how to correct it.


Guessing, I see that "build.mak" contains:

   export TARGET_NAME := x86_64-unknown-linux-gnu

it should be "suse", not "unknown". I hack that file, run "make" and it 
finishes, and I can see "sflphoned" built. That's the daemon... where is 
the frontend?

Ah, found it, in "sflphone/gnome". Ok, I'll try to build that one.

- -- 
Cheers,
        Carlos E. R.
        (from 11.4 x86_64 "Celadon" at Telcontar)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)

iEYEARECAAYFAk9NYEcACgkQtTMYHG2NR9XaiQCfY5e6mD77ek8Bl7WJl0eImkY0
ZSIAnRU/86OTAUlZt1h5xNvX9R6FMaOs
=GaRZ
-----END PGP SIGNATURE-----
_______________________________________________
SFLphone mailing list
[email protected]
http://lists.savoirfairelinux.net/mailman/listinfo/sflphone

Reply via email to