Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2014 12:33:08 +0000 (UTC)
From:      "Thomas Mueller" <mueller6724@bellsouth.net>
To:        freebsd-ports@freebsd.org
Cc:        knyght@gmail.com, gerald@freebsd.org
Subject:   emulators/wine-devel fails on FreeBSD 10.0-STABLE i386 on emulators/dosbox
Message-ID:  <249297.28250.bm@smtp117.sbc.mail.gq1.yahoo.com>

next in thread | raw e-mail | index | archive | help
I was trying to build emulators/wine-devel for i386 and was stopped in emulators/dosbox, may have been in a file, lazyflags.h, included from core_full.cpp, defining a macro __LAZYFLAG_H when it should have been __LAZYFLAGS_H

Then I got some assembler errors.

I might also ask, why can't dosbox use devel/sdl20, already installed, instead of devel/sdl12?

Tom

Relevant error messages follow:

Installing sdl_sound-1.0.3_10... done
===>   Returning to build of dosbox-0.74_6
===>  Configuring for dosbox-0.74_6
===>   FreeBSD 10 autotools fix applied to /BETA1/usr/ports/emulators/dosbox/work10.i386/dosbox-0.74/acinclude.m4
===>   FreeBSD 10 autotools fix applied to /BETA1/usr/ports/emulators/dosbox/work10.i386/dosbox-0.74/configure
===>   FreeBSD 10 autotools fix applied to /BETA1/usr/ports/emulators/dosbox/work10.i386/dosbox-0.74/aclocal.m4
configure: loading site script /BETA1/usr/ports/Templates/config.site
checking build system type... i386-portbld-freebsd10.0
checking host system type... i386-portbld-freebsd10.0
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cpp
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking for ranlib... ranlib
checking for sdl-config... /usr/local/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking SDL version only being 1.2.X... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for size_t... (cached) yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking size of unsigned char... 1
checking size of unsigned short... 2
checking size of unsigned int... 4
checking size of unsigned long... 4
checking size of unsigned long long... 8
checking size of int *... 4
checking for stdlib.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for pwd.h... (cached) yes
checking if environ can be included... no
checking if environ can be linked... yes
checking if dirent includes d_type... yes
checking for powf in libm... yes
checking if compiler allows __attribute__... yes
checking if compiler allows __attribute__((always_inline)) ... yes
checking if compiler allows __attribute__((fastcall)) ... no
checking if compiler allows __builtin_expect... yes
checking for ALSA CFLAGS... 
checking for ALSA LDFLAGS...  -lasound -lm -ldl -lpthread
checking for libasound headers version >= 0.9.0... not present.
checking for snd_ctl_open in -lasound... no
checking whether byte ordering is bigendian... no
enabling inlined memory handling in CPU Core
checking for target cpu type... x86 compatible
checking whether x86 dynamic cpu core will be enabled... yes
checking whether recompiling cpu core will be enabled... no, using dynamic-x86
checking whether fpu emulation will be enabled... yes
checking whether x86 assembly fpu core will be enabled... yes
checking whether to enable unaligned memory access... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_get_io_ptr in -lpng... yes
checking SDL_net.h usability... yes
checking SDL_net.h presence... yes
checking for SDL_net.h... yes
checking for SDLNet_Init in -lSDL_net... yes
checking for main in -lX11... yes
checking X11/XKBlib.h usability... yes
checking X11/XKBlib.h presence... yes
checking for X11/XKBlib.h... yes
checking for XKBlib support... yes
checking for main in -lGL... yes
checking for main in -lopengl32... no
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking whether opengl display output will be enabled... yes
checking SDL_sound.h usability... yes
checking SDL_sound.h presence... yes
checking for SDL_sound.h... yes
checking for Sound_Init in -lSDL_sound... yes
checking for Sound_Seek in -lSDL_sound... yes
checking for sys/mman.h... (cached) yes
checking for mprotect... (cached) yes
checking for setpriority support... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/cpu/Makefile
config.status: creating src/cpu/core_full/Makefile
config.status: creating src/cpu/core_normal/Makefile
config.status: creating src/cpu/core_dyn_x86/Makefile
config.status: creating src/cpu/core_dynrec/Makefile
config.status: creating src/debug/Makefile
config.status: creating src/dos/Makefile
config.status: creating src/fpu/Makefile
config.status: creating src/gui/Makefile
config.status: creating src/hardware/Makefile
config.status: creating src/hardware/serialport/Makefile
config.status: creating src/ints/Makefile
config.status: creating src/libs/Makefile
config.status: creating src/libs/zmbv/Makefile
config.status: creating src/libs/gui_tk/Makefile
config.status: creating src/misc/Makefile
config.status: creating src/shell/Makefile
config.status: creating src/platform/Makefile
config.status: creating src/platform/visualc/Makefile
config.status: creating visualc_net/Makefile
config.status: creating include/Makefile
config.status: creating docs/Makefile
config.status: creating config.h
config.status: executing depfiles commands
===>  Building for dosbox-0.74_6
/usr/bin/make  all-recursive
Making all in src
Making all in cpu
Making all in core_full
Making all in core_normal
Making all in core_dyn_x86
Making all in core_dynrec
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -MT callback.o -MD -MP -MF .deps/callback.Tpo -c -o callback.o callback.cpp
mv -f .deps/callback.Tpo .deps/callback.Po
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -MT cpu.o -MD -MP -MF .deps/cpu.Tpo -c -o cpu.o cpu.cpp
In file included from cpu.cpp:31:
./lazyflags.h:19:2: warning: '__LAZYFLAGS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#if !defined __LAZYFLAGS_H
 ^~
./lazyflags.h:20:9: note: '__LAZYFLAG_H' is defined here; did you mean '__LAZYFLAGS_H'?
#define __LAZYFLAG_H
        ^~~~~~~~~~~~
        __LAZYFLAGS_H
1 warning generated.
mv -f .deps/cpu.Tpo .deps/cpu.Po
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -MT flags.o -MD -MP -MF .deps/flags.Tpo -c -o flags.o flags.cpp
In file included from flags.cpp:26:
./lazyflags.h:19:2: warning: '__LAZYFLAGS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#if !defined __LAZYFLAGS_H
 ^~
./lazyflags.h:20:9: note: '__LAZYFLAG_H' is defined here; did you mean '__LAZYFLAGS_H'?
#define __LAZYFLAG_H
        ^~~~~~~~~~~~
        __LAZYFLAGS_H
1 warning generated.
mv -f .deps/flags.Tpo .deps/flags.Po
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -MT modrm.o -MD -MP -MF .deps/modrm.Tpo -c -o modrm.o modrm.cpp
mv -f .deps/modrm.Tpo .deps/modrm.Po
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -MT core_full.o -MD -MP -MF .deps/core_full.Tpo -c -o core_full.o core_full.cpp
In file included from core_full.cpp:24:
./lazyflags.h:19:2: warning: '__LAZYFLAGS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#if !defined __LAZYFLAGS_H
 ^~
./lazyflags.h:20:9: note: '__LAZYFLAG_H' is defined here; did you mean '__LAZYFLAGS_H'?
#define __LAZYFLAG_H
        ^~~~~~~~~~~~
        __LAZYFLAGS_H
1 warning generated.
mv -f .deps/core_full.Tpo .deps/core_full.Po
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -MT paging.o -MD -MP -MF .deps/paging.Tpo -c -o paging.o paging.cpp
In file included from paging.cpp:29:
./lazyflags.h:19:2: warning: '__LAZYFLAGS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#if !defined __LAZYFLAGS_H
 ^~
./lazyflags.h:20:9: note: '__LAZYFLAG_H' is defined here; did you mean '__LAZYFLAGS_H'?
#define __LAZYFLAG_H
        ^~~~~~~~~~~~
        __LAZYFLAGS_H
1 warning generated.
mv -f .deps/paging.Tpo .deps/paging.Po
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -MT core_normal.o -MD -MP -MF .deps/core_normal.Tpo -c -o core_normal.o core_normal.cpp
In file included from core_normal.cpp:24:
./lazyflags.h:19:2: warning: '__LAZYFLAGS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#if !defined __LAZYFLAGS_H
 ^~
./lazyflags.h:20:9: note: '__LAZYFLAG_H' is defined here; did you mean '__LAZYFLAGS_H'?
#define __LAZYFLAG_H
        ^~~~~~~~~~~~
        __LAZYFLAGS_H
1 warning generated.
mv -f .deps/core_normal.Tpo .deps/core_normal.Po
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -MT core_simple.o -MD -MP -MF .deps/core_simple.Tpo -c -o core_simple.o core_simple.cpp
In file included from core_simple.cpp:24:
./lazyflags.h:19:2: warning: '__LAZYFLAGS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#if !defined __LAZYFLAGS_H
 ^~
./lazyflags.h:20:9: note: '__LAZYFLAG_H' is defined here; did you mean '__LAZYFLAGS_H'?
#define __LAZYFLAG_H
        ^~~~~~~~~~~~
        __LAZYFLAGS_H
1 warning generated.
mv -f .deps/core_simple.Tpo .deps/core_simple.Po
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -MT core_prefetch.o -MD -MP -MF .deps/core_prefetch.Tpo -c -o core_prefetch.o core_prefetch.cpp
In file included from core_prefetch.cpp:26:
./lazyflags.h:19:2: warning: '__LAZYFLAGS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#if !defined __LAZYFLAGS_H
 ^~
./lazyflags.h:20:9: note: '__LAZYFLAG_H' is defined here; did you mean '__LAZYFLAGS_H'?
#define __LAZYFLAG_H
        ^~~~~~~~~~~~
        __LAZYFLAGS_H
1 warning generated.
mv -f .deps/core_prefetch.Tpo .deps/core_prefetch.Po
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fno-strict-aliasing -MT core_dyn_x86.o -MD -MP -MF .deps/core_dyn_x86.Tpo -c -o core_dyn_x86.o core_dyn_x86.cpp
In file included from core_dyn_x86.cpp:238:
In file included from ./core_dyn_x86/decoder.h:1152:
./core_dyn_x86/string.h:100:11: warning: 18 enumeration values not handled in switch: 'STR_INSB', 'STR_INSW', 'STR_INSD'... [-Wswitch]
                switch (op) {
                        ^
In file included from core_dyn_x86.cpp:238:
./core_dyn_x86/decoder.h:1838:10: warning: enumeration values 'LOOP_NONE' and 'LOOP_JCXZ' not handled in switch [-Wswitch]
        switch (type) {
                ^
./core_dyn_x86/decoder.h:2107:13: warning: expression result unused [-Wunused-value]
                                DYN_LOG("Unhandled dual opcode 0F%02X",dual_code);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./core_dyn_x86/decoder.h:2107:44: warning: expression result unused [-Wunused-value]
                                DYN_LOG("Unhandled dual opcode 0F%02X",dual_code);
                                                                       ^~~~~~~~~
In file included from core_dyn_x86.cpp:185:
./core_dyn_x86/risc_x86.h:134:3: error: inline assembly requires more registers than available
                "pushl %%ebp                                            \n"
                ^
4 warnings and 1 error generated.
*** Error code 1

Stop.
make[8]: stopped in /BETA1/usr/ports/emulators/dosbox/work10.i386/dosbox-0.74/src/cpu
*** Error code 1

Stop.
make[7]: stopped in /BETA1/usr/ports/emulators/dosbox/work10.i386/dosbox-0.74/src/cpu
*** Error code 1

Stop.
make[6]: stopped in /BETA1/usr/ports/emulators/dosbox/work10.i386/dosbox-0.74/src
*** Error code 1

Stop.
make[5]: stopped in /BETA1/usr/ports/emulators/dosbox/work10.i386/dosbox-0.74
*** Error code 1

Stop.
make[4]: stopped in /BETA1/usr/ports/emulators/dosbox/work10.i386/dosbox-0.74
*** Error code 1

Stop.
make[3]: stopped in /BETA1/usr/ports/emulators/dosbox
*** Error code 1

Stop.
make[2]: stopped in /BETA1/usr/ports/emulators/dosbox
*** Error code 1

Stop.
make[1]: stopped in /BETA1/usr/ports/emulators/wine-devel
*** Error code 1

Stop.
make: stopped in /BETA1/usr/ports/emulators/wine-devel

===>>> make failed for emulators/wine-devel
===>>> Aborting update

===>>> Killing background jobs
Terminated
===>>> There are messages from installed ports to display,
       but first take a moment to review the error messages
       above.  Then press Enter when ready to proceed. 
===>>> pkg-message for openldap-client-2.4.39
************************************************************

The OpenLDAP client package has been successfully installed.

Edit
  /usr/local/etc/openldap/ldap.conf
to change the system-wide client defaults.

Try `man ldap.conf' and visit the OpenLDAP FAQ-O-Matic at
  http://www.OpenLDAP.org/faq/index.cgi?file=3
for more information.

************************************************************

===>>> Done displaying pkg-message files

===>>> The following actions were performed:
	Upgrade of jbigkit-1.6 to jbigkit-2.1_1
	Upgrade of tiff-4.0.3_2 to tiff-4.0.3_4
	Installation of graphics/lcms2 (lcms2-2.6_3)
	Installation of net/openldap24-client (openldap-client-2.4.39)
	Installation of textproc/flex (flex-2.5.39_1)


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> emulators/wine-devel emulators/dosbox audio/sdl_sound audio/flac audio/libogg devel/nasm audio/libmikmod print/indexinfo audio/libmodplug audio/libvorbis audio/speex audio/timidity devel/physfs devel/sdl12 graphics/aalib devel/ncurses multimedia/smpeg net/sdl_net emulators/wine-gecko-devel emulators/wine-mono-devel textproc/p5-XML-LibXML textproc/p5-XML-NamespaceSupport textproc/p5-XML-SAX textproc/p5-XML-SAX-Base 

	===>>> Exiting



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?249297.28250.bm>