Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 181313 - media-video/vlc-0.8.6b does not compile with app-emulation/wine-0.9.29 on amd64
Summary: media-video/vlc-0.8.6b does not compile with app-emulation/wine-0.9.29 on amd64
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-08 14:40 UTC by Martin Väth
Modified: 2007-06-08 14:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,9.47 KB, text/plain)
2007-06-08 14:49 UTC, Martin Väth
Details
config.log (config.log,453.93 KB, text/plain)
2007-06-08 14:53 UTC, Martin Väth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Väth 2007-06-08 14:40:48 UTC
Near the beginning vlc stops compilation due to problems with winlib.h

Reproducible: Always

Steps to Reproduce:




ldt_keeper.c: In function 'Setup_LDT_Keeper':
ldt_keeper.c:234: warning: cast from pointer to integer of different size
ldt_keeper.c:293: warning: cast to pointer from integer of different size
mv -f .deps/ldt_keeper.Tpo .deps/ldt_keeper.Plo
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -D__WINE__ -DHAVE_SYS_MMAN_H=1 -DHAVE_VSSCANF=1 -DWIN32_PATH=\"\" -DTRACE\(...\)=\(void\)0 -DSYS_LINUX -I../include -fPIC `../vlc-config --cflags` -U_FILE_OFFSET_BITS -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wsign-compare -Wall -march=athlon64 -O2 -fno-ident -pipe -pipe -MT module.lo -MD -MP -MF .deps/module.Tpo -c -o module.lo module.c
In file included from wine/winbase.h:5,
                 from pe_image.c:72:
wine/winnt.h:625:2: error: #error You need to define a CONTEXT for your CPU
In file included from wine/winbase.h:5,
                 from pe_image.c:72:
wine/winnt.h:628: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
wine/winnt.h:754:2: error: #error You need to define DEFINE_REGS_ENTRYPOINT macros for your CPU
wine/winnt.h:765:3: error: #error You must define GET_IP for this CPU
wine/winnt.h:1021: error: expected specifier-qualifier-list before 'PCONTEXT'
wine/winnt.h:1034: error: expected declaration specifiers or '...' before 'PCONTEXT'

After this a lot of errors follow which are probably due to missing macros or definitions from winnt.h

# locate winnt.h
/usr/include/wine/windows/winnt.h
# equery belongs /usr/include/wine/windows/winnt.h
app-emulation/wine-0.9.29

Same for winbase.h

# emerge -p vlc
[...] media-video/vlc-0.8.6b  USE="X a52 aalib alsa cdda dts dvd esd fbcon flac hal jack lirc live matroska mod mp3 mpeg musepack ncurses ogg opengl oss png rtsp sdl sdl-image seamonkey skins speex stream svg theora truetype v4l vcd vlm vorbis win32codecs wxwindows x264 xv (-3dfx) (-altivec) -arts -avahi -bidi -cddb -corba -daap -dc1394 -debug -directfb -dvb -ggi -gnutls -httpd -libcaca -libnotify -nsplugin -optimisememory -samba -shout (-svga) -upnp -xinerama -xml -xosd"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-08 14:46:59 UTC
emerge --info please, also attach the config.log.
Comment 2 Martin Väth 2007-06-08 14:49:42 UTC
Created attachment 121501 [details]
emerge --info

emerge --info appended as file, since the bug system said the comment is too long.

BTW: winlib.h in the above text is a typo, I meant of course winnt.h
Comment 3 Martin Väth 2007-06-08 14:53:03 UTC
Created attachment 121502 [details]
config.log