MinGW compilation error

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

 



Hi Brian,

Should have just been fixed in SVN trunk with ticket
https://trac.pjsip.org/repos/ticket/1745.

Thanks for the report.

BR,
nanang



On Sun, Mar 9, 2014 at 10:26 AM, Brian White <mscdex at mscdex.net> wrote:

> I tried compiling pjproject-2.2 on Windows 7 x64 with the latest MinGW32
> using their installer. While configuring (`./configure --enable-shared`)
> and `make dep` seem to work fine, `make` errors out with this after
> compilation:
>
> output/pjlib-i686-pc-mingw32/os_time_common.o:os_time_common.c:(.text+0x0):
> multiple definition of `pj_time_decode'
> output/pjlib-i686-pc-mingw32/os_time_win32.o:os_time_win32.c:(.text+0x100):
> first defined here
> output/pjlib-i686-pc-mingw32/os_time_common.o:os_time_common.c:(.text+0x60):
> multiple definition of `pj_time_encode'
> output/pjlib-i686-pc-mingw32/os_time_win32.o:os_time_win32.c:(.text+0x190):
> first defined here
> c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe:
> output/pjlib-i686-pc-mingw32/os_time_win32.o: bad reloc address 0x20 in
> section `.eh_frame'
> collect2.exe: error: ld returned 1 exit status
> make[2]: *** [../lib/libpj.dll.2] Error 1
>
> I should also note that compiling after using plain './configure' works
> fine, but I need dlls :-)
>
>
> - Brian
>
> _______________________________________________
> 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/20140310/f5a2ac2f/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