[Bug 1030] New: - Problems with compilation wine: .configure creates invalid config.h

wine-bugs at winehq.com wine-bugs at winehq.com
Tue Sep 17 02:13:12 CDT 2002


http://bugs.winehq.com/show_bug.cgi?id=1030

           Summary: Problems with compilation wine: .configure creates
                    invalid config.h
           Product: Wine
           Version: 20020804
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-programs
        AssignedTo: wine-bugs at winehq.com
        ReportedBy: fojtik at htc.honeywell.cz


I had problems with compiling a new version of wine. I analysed a problem
and I have found that configure script does a very bad job.

It generates under some circumstances wrong macro __ASM_FUNC inside config.h
file.

---------------WRONG----------------
/* Define to a macro to generate an assembly function directive */
#define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"

---------------GOOD----------------
/* Define to a macro to generate an assembly function directive */
#define __ASM_FUNC(name) ".type " __ASM_NAME(name) ", at function"


    When I replaced a definition of __ASM_FUNC from previous release of wine, 
everything was compiled succesfully. Could you explain me what does this new 
feature mean?


---------see errorneous OUTPUT of COMPILER-------
gcc -c -I. -I. -I../include -I../include  -g -O2 -Wall -mpreferred-stack-
boundary=2  -fPIC -D__WINE__ -DDLLDIR="\"/usr/local/lib/wine\"" -D_REENTRANT -
I/usr/X11R6/include -o ldt.o ldt.c
ldt.s: Assembler messages:
ldt.s:1550: Error: unknown pseudo-op: `.def'
ldt.s:1550: Error: unknown pseudo-op: `.scl'
ldt.s:1550: Error: unrecognized symbol type ""
ldt.s:1550: Warning: rest of line ignored; first ignored character is `3'
ldt.s:1550: Error: unknown pseudo-op: `.endef'
ldt.s:1556: Error: unknown pseudo-op: `.def'
ldt.s:1556: Error: unknown pseudo-op: `.scl'
ldt.s:1556: Error: unrecognized symbol type ""
ldt.s:1556: Warning: rest of line ignored; first ignored character is `3'
ldt.s:1556: Error: unknown pseudo-op: `.endef'
ldt.s:1562: Error: unknown pseudo-op: `.def'
ldt.s:1562: Error: unknown pseudo-op: `.scl'
ldt.s:1562: Error: unrecognized symbol type ""
ldt.s:1562: Warning: rest of line ignored; first ignored character is `3'
ldt.s:1562: Error: unknown pseudo-op: `.endef'
ldt.s:1568: Error: unknown pseudo-op: `.def'
ldt.s:1568: Error: unknown pseudo-op: `.scl'
ldt.s:1568: Error: unrecognized symbol type ""
ldt.s:1568: Warning: rest of line ignored; first ignored character is `3'
ldt.s:1568: Error: unknown pseudo-op: `.endef'
ldt.s:1574: Error: unknown pseudo-op: `.def'
ldt.s:1574: Error: unknown pseudo-op: `.scl'
ldt.s:1574: Error: unrecognized symbol type ""
ldt.s:1574: Warning: rest of line ignored; first ignored character is `3'
ldt.s:1574: Error: unknown pseudo-op: `.endef'
ldt.s:1580: Error: unknown pseudo-op: `.def'
ldt.s:1580: Error: unknown pseudo-op: `.scl'
ldt.s:1580: Error: unrecognized symbol type ""
ldt.s:1580: Warning: rest of line ignored; first ignored character is `3'
ldt.s:1580: Error: unknown pseudo-op: `.endef'
ldt.s:1586: Error: unknown pseudo-op: `.def'
ldt.s:1586: Error: unknown pseudo-op: `.scl'
ldt.s:1586: Error: unrecognized symbol type ""
ldt.s:1586: Warning: rest of line ignored; first ignored character is `3'
ldt.s:1586: Error: unknown pseudo-op: `.endef'
ldt.s:1593: Error: unknown pseudo-op: `.def'
ldt.s:1593: Error: unknown pseudo-op: `.scl'
ldt.s:1593: Error: unrecognized symbol type ""
ldt.s:1593: Warning: rest of line ignored; first ignored character is `3'
ldt.s:1593: Error: unknown pseudo-op: `.endef'
make: *** [ldt.o] Error 1

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1030>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.



More information about the wine-bugs mailing list