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@winehq.org Reporter: randy.crihfield@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
https://bugs.winehq.org/show_bug.cgi?id=37328
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #1 from Sebastian Lackner sebastian@fds-team.de --- Why do you try to compile such an old version? The bug you mentioned was fixed in 1.3.28 (see last comment), but your version is older than that, so I assume it is just the same issue as in the bug report.
Besides that the current development version is 1.7.27, and all bug reports (especially bug reports about compilation issues) should be filed against a recent version of wine. Is this still an issue in 1.7.27 ?
https://bugs.winehq.org/show_bug.cgi?id=37328
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #2 from hanska2@luukku.com --- I quess he didnt notice the 7 between numbers.
1.7.27
compare
1.1.27
https://bugs.winehq.org/show_bug.cgi?id=37328
Randy randy.crihfield@oracle.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #3 from Randy randy.crihfield@oracle.com --- Yikes! Sorry my bad. I knew it was 27 and I grabbed the first one on source forge, not paying attention. Silly.
got the RIGHT one and now it seems to be building just fine! Thanks.
https://bugs.winehq.org/show_bug.cgi?id=37328
--- Comment #4 from Randy randy.crihfield@oracle.com --- well.... I spoke to soon. It did eventually compile but I DID have to comment out around the SAME exact error mentioned in
https://bugs.winehq.org/show_bug.cgi?id=18586
Once I commented that out, then it compiled w/o any further issue.
https://bugs.winehq.org/show_bug.cgi?id=37328
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com --- Closing invalid bugs.