Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#8622 closed defect (fixed)

Windows build failing due to missing include in libmythhdhomerun

Reported by: markk Owned by: Nigel
Priority: minor Milestone: 0.24
Component: Ports - Windows Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

make[2]: Entering directory `/c/mythtv/mythtv/libs/libmythhdhomerun' gcc -c -fomit-frame-pointer -O3 -DNDEBUG -march=pentium4 -std=c99 -fno-common -g -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -fno-math-errno -fno-tree-vectorize -DQT_LARGEFILE_SUPPORT -DWIN32 -DUSING_MINGW -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I'/usr/include' -I'/C/mythtv/build/' -I'../libmythtv' -I'../../../../qt/4.5.3/mkspecs/win32-g++' -o hdhomerun_channels.o hdhomerun_channels.c In file included from hdhomerun_os.h:38,

from hdhomerun.h:33, from hdhomerun_channels.c:33:

hdhomerun_os_windows.h:37:21: error: wspiapi.h: No such file or directory hdhomerun_os_windows.h:68:1: warning: "va_copy" redefined In file included from c:/mingw/bin/../lib/gcc/mingw32/4.2.4/../../../../include/windows.h:47,

from hdhomerun_os_windows.h:34, from hdhomerun_os.h:38, from hdhomerun.h:33, from hdhomerun_channels.c:33:

c:/mingw/bin/../lib/gcc/mingw32/4.2.4/include/stdarg.h:54:1: warning: this is the location of the previous definition make[2]: * [hdhomerun_channels.o] Error 1 make[2]: Leaving directory `/c/mythtv/mythtv/libs/libmythhdhomerun' make[1]: * [sub-libmythhdhomerun-make_default] Error 2 make[1]: Leaving directory `/c/mythtv/mythtv/libs' make: * [sub-libs-make_default-ordered] Error 2

Change History (3)

comment:1 Changed 14 years ago by anonymous

Probably needs this patch from #7970, or a slightly tweaked version thereof:

http://svn.mythtv.org/trac/attachment/ticket/7970/7970-hdhr_mingw.patch

comment:2 Changed 14 years ago by markk

Resolution: fixed
Status: newclosed

(In [25240]) Fix windows compilation of the hdhomerun library.

These fixes were originally committed in r23468 as part of the libmythhdhomerun update and later reverted. When the library was updated again the windows compile elements were missed.

Closes #8622.

comment:3 Changed 14 years ago by stuartm

Milestone: unknown0.24
Note: See TracTickets for help on using tickets.