[Bug 37328] New: unable to compile on Solaris 12
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat Sep 27 17:14:04 CDT 2014
https://bugs.winehq.org/show_bug.cgi?id=37328
Bug ID: 37328
Summary: unable to compile on Solaris 12
Product: Wine
Version: 1.1.27
Hardware: x86
OS: Solaris
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: build-env
Assignee: wine-bugs at winehq.org
Reporter: randy.crihfield at oracle.com
system:
clean Solaris 12 box, compiled August 25 2014, AMD64
8 GB memory, 8 core 4.2GHz CPU
download and compiled wine-1.1.27, got it from source forge.
before compiling
setenv LD_ALTEXEC /usr/sfw/bin/gld
PROBLEM 1 exact same error as mentioned in bug
https://bugs.winehq.org/show_bug.cgi?id=18586
"The file tools/winegcc/winegcc.c contains line
create_file( mapfile, 0644, "text = A%s;\ndata = A%s;\n", align, align );"
so I edited tools/winegcc/winegcc.c and commented out block
// case PLATFORM_SOLARIS:
// {
// char *mapfile = get_temp_file( output_name, ".map" );
// const char *align = opts->section_align ? opts->section_align :
"0x1000";
//
// create_file( mapfile, 0644, "text = A%s;\ndata = A%s;\n", align,
align );
// strarray_add(link_args, strmake("-Wl,-M,%s", mapfile));
// strarray_add(tmp_files, mapfile);
// }
// break;
and then it worked further. But now I am stuck here:
PROBLEM 2
version=`(GIT_DIR=../../.git git describe HEAD 2>/dev/null || echo
"wine-1.1.27") | sed -n -e '$s/\(.*\)/const char wine_build[] = "\1";/p'` &&
(echo $version | cmp -s - version.c) || echo $version >version.c || (rm -f
version.c && exit 1)
`libdinput.def.a' is up to date.
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT
-fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement
-Wwrite-strings -Wtype-limits -Wpointer-arith -g -O2 -o ifenum.o ifenum.c
ifenum.c: In function ‘getInterfacePhysicalByName’:
ifenum.c:322:18: error: ‘struct ifreq’ has no member named ‘ifr_hwaddr’
ifenum.c:367:21: error: ‘struct ifreq’ has no member named ‘ifr_hwaddr’
ifenum.c:367:21: error: ‘struct ifreq’ has no member named ‘ifr_hwaddr’
ifenum.c:376:27: error: ‘struct ifreq’ has no member named ‘ifr_hwaddr’
*** Error code 1
make: Fatal error: Command failed for target `ifenum.o'
Current working directory /home/jacey/Downloads/Wine/wine-1.1.27/dlls/iphlpapi
*** Error code 1
The following command caused the error:
cd iphlpapi && make
make: Fatal error: Command failed for target `iphlpapi'
Current working directory /home/jacey/Downloads/Wine/wine-1.1.27/dlls
*** Error code 1
The following command caused the error:
cd dlls && make
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list