MinGW compilation error

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

 



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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140308/f7b9f64b/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