Ticket #1621 (closed bug: fixed)

Opened 5 years ago

Last modified 4 years ago

Build errors on Windows

Reported by: shockwave Owned by: jkeenan
Priority: blocker Milestone:
Component: build Version: 2.3.0
Severity: fatal Keywords:
Cc: Language:
Patch status: Platform: win32

Description (last modified by coke) (diff)

PS C:\workspace\silo\Using\parrot> mingw32-make
gcc -I./include -I./include/pmc -DWIN32  -DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC  -DHASAT
TRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED  -DHASATTRIBUTE_WARN_UNUSED_RESULT
  -g      -falign-functions=16 -funit-at-a-time -maccumulate-outgoing-args -W -Wall -Waggregate-return -Wcast-align -Wca
st-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels -Wextra -Wformat -Wformat-extra
-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wmissin
g-braces -Wno-missing-format-attribute -Wmultichar -Wpacked -Wparentheses -Wpointer-arith -Wreturn-type -Wsequence-point
 -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wno-unused -Wunknow
n-pragmas -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wimplicit-function-declaration -Wimplicit-i
nt -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull -Wold-style-definition -Wstrict-prototy
pes -Isrc -o src/debug.o -c src/debug.c
src/debug.c: In function `PDB_backtrace':
src/debug.c:3249: error: structure has no member named `to_ctx'
src/debug.c:3253: error: structure has no member named `to_ctx'
src/debug.c:3254: error: structure has no member named `to_ctx'
src/debug.c:3255: error: structure has no member named `to_ctx'
src/debug.c:3256: error: structure has no member named `to_ctx'
src/debug.c:3266: error: structure has no member named `seg'
src/debug.c:3270: error: structure has no member named `to_ctx'
mingw32-make: *** [src/debug.o] Error 1
PS C:\workspace\silo\Using\parrot>

Change History

Changed 5 years ago by coke

  • description modified (diff)

use code-block for description...

Changed 4 years ago by Paul C. Anagnostopoulos

debug.c compiles fine on my 32-bit XP system using MinGW. On what platform are these errors occurring?

Changed 4 years ago by shockwave

The problem was the fault of: PS> make distclean

make distclean was not cleanup up the previously built files completely. As of version 2.7.0, revision 48811, I ran the command above; then ran: PS> make

make distclean must now be working fine because it compiles without issues.

Changed 4 years ago by jkeenan

  • status changed from new to assigned
  • owner set to jkeenan

It appears the original problem has been cleared up, so I will close this ticket.

kid51

Changed 4 years ago by jkeenan

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.