Re: Error in ming

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

When I run the code in c of:
http://www.libming.org/moin.cgi/ImportantConcepts

I have this error:

lsanchez@luis-desktop:~/libming$ ./a.out
./a.out: symbol lookup error: ./a.out: undefined symbol: SWFMovie_add_internal


Justin Clift <justin@xxxxxxxxxxxxxx> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Luis Sanchez Tapia wrote:
> Hi,
>
> I just installed ming-0.4.0.beta5, and I have this error:
>
> #gcc prueba.c
>
> /tmp/ccCHO21J.o: In function `main':
> prueba.c:(.text+0x12): undefined reference to `Ming_init'
> collect2: ld returned 1 exit status


Hi Luis,

You need to add "-lming" to that, so that ming is included in the
linking (done automatically after the compiling in this case).

i.e.

$ gcc -lming prueba.c

Hope that helps. :)

Regards and best wishes,

Justin Clift

- --
The Flame Project - Open Source GUI for animated SVG & Flash
http://www.flameproject.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHpD8gFAuZn5lS2IMRAoo0AKDkvQbN4ZLpoZgBC5lhyxLP3XjbbgCdEc+1
Ty0lgPiIhdIVRoZwyU72IxY=
=b0p1
-----END PGP SIGNATURE-----



Saludos
Luis Sánchez Tapia
========================
m@il : luissanchez@xxxxxxxxx
cell : 99244078


Never miss a thing. Make Yahoo your homepage.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ming-users mailing list
Ming-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ming-users

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux