dlls/winmm/wineoss/audio.c build failure

Gerald Pfeifer gerald at pfeifer.com
Wed Jul 21 23:48:06 CDT 2004


The following change to dlls/winmm/wineoss/audio.c

  revision 1.135
  date: 2004/07/19 20:08:06;  author: julliard;  state: Exp;  lines: +1 -1
  Francois Gouget <fgouget at codeweavers.com>
  Use round() instead of ceil() in wodGetPosition(TIME_SMPTE).
  Fixes the corresponding winmm conformance test.

causes the following build failure on FreeBSD 4.9:

  ../../../tools/winegcc/winegcc -B../../../tools/winebuild -shared
  ./wineoss.drv.spec    audio.o midi.o midipatch.o mixer.o mmaux.o oss.o
  wineoss.drv.dbg.o   -o wineoss.drv.so -L../../../dlls  -lwinmm -luser32
  -lkernel32 -L../../../libs/wine -lwine -ldxguid -luuid
  -L../../../libs/port -lwine_port
  audio.o: In function `wodGetPosition': /test/wine/dlls/winmm/wineoss/audio.c:2127:
  undefined reference to `round'
  collect2: ld returned 1 exit status
  winegcc: /sw/gcc-3.3.2/bin/gcc failed.
  gmake: *** [wineoss.drv.so] Error 2

Gerald
-- 
Gerald Pfeifer (Jerry)   gerald at pfeifer.com   http://www.pfeifer.com/gerald/



More information about the wine-devel mailing list