undefined reference to 'WinMain@16'

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

 



Yes,

pj_status_t app_init(int argc, char *argv[])
{
then pjsua_start(),application callbacks, initlaization of pjsua etc etc


}
Rachel



On Mon, Sep 14, 2009 at 3:50 PM, John Graham <johngavingraham at googlemail.com
> wrote:

> > I got the above error, when I tried to build pjsua_app.c
> >
> > mingw/lib/libmingw32.a(main.o):main.c: Undefined reference to 'WinMain at 16
> '
>
>
> Do you have a main(int argc, char *argv[]) function defined?
>
> John G
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090914/6e02e672/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux