[Bug 18586] New: Cannot build wine-1.1.22 on OpenSolaris snv_112 with GNU ld

wine-bugs at winehq.org wine-bugs at winehq.org
Sat May 23 07:17:46 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=18586

           Summary: Cannot build wine-1.1.22 on OpenSolaris snv_112 with
                    GNU ld
           Product: Wine
           Version: 1.1.22
          Platform: PC
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: build-env
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: ylitvinenko at slb.com


Errors when building:
gcc -c -I../../../wine-1.1.22/dlls/acledit -I. -I../../../wine-1.1.22/include
-I../../include  -D__WINESRC__  -D
_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement
-Wwrite-strings -Wtype-limits -W
pointer-arith  -march=pentium-m -mtune=pentium-m  -o main.o
../../../wine-1.1.22/dlls/acledit/main.c
../../tools/winegcc/winegcc  -B../../tools/winebuild -shared
../../../wine-1.1.22/dlls/acledit/acledit.spec    m
ain.o       -o acledit.dll.so  -lkernel32  ../../libs/port/libwine_port.a  
-lsocket -lnsl
Archive member included because of file (symbol)

../../dlls/winecrt0/libwinecrt0.a(dll_entry.o)
                              acledit.dll-Phx6qc.spec.o (__wine_spec_dll_entry)
../../dlls/winecrt0/libwinecrt0.a(init.o)
                              ../../dlls/winecrt0/libwinecrt0.a(dll_entry.o)
(__wine_spec_init_state)
../../dlls/winecrt0/libwinecrt0.a(stub.o)
                              acledit.dll-Phx6qc.spec.o
(__wine_spec_unimplemented_stubacledit.dll-LoJFfh.map:3:
 undefined symbol `A0x1000' referenced in expression
collect2: ld returned 1 exit status

I think this error because of winegcc creates linker's map files that GNU ld
doesn't understand.

The file tools/winegcc/winegcc.c contains line
create_file( mapfile, 0644, "text = A%s;\ndata = A%s;\n", align, align );

that produces this "undefined symbol A0x1000"

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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