#644: target 'make hello' broken
---------------------+------------------------------------------------------
 Reporter:  fperrad  |       Owner:       
     Type:  bug      |      Status:  new  
 Priority:  normal   |   Milestone:       
Component:  core     |     Version:  1.1.0
 Severity:  medium   |    Keywords:       
     Lang:           |       Patch:       
 Platform:           |  
---------------------+------------------------------------------------------
 Since r38502 (Removed PARROT_EXPORT from generated ops functions), the
 target 'make hello' is broken, at least with MinGW32.

 {{{
 > make hello

 .\parrot.exe -o examples\pasm\hello.pbc examples\pasm\hello.pasm
 .\parrot.exe -o examples\pasm\hello.o examples\pasm\hello.pbc
 mingw32-make -C . EXEC=examples\pasm\hello exec
 src\exec_start.c
 src\exec_start.c: In function `main':
 src\exec_start.c:54: warning: nested extern declaration of `program_code'
 src\exec_start.c:63: warning: nested extern declaration of `interpre'
 gcc -o examples\pasm\hello.exe examples\pasm\hello.o src\exec_start.o
 src\parrot_config.o  "C:\fperrad\Parrot\trunk\libparrot.dll"
 C:\icu-4.0\iculib\icudt.lib C:\icu-4.0\icu\lib\icuuc.lib -lmsvcrt
 -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32
 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm
 -lversion -lodbc32 -lodbccp32 -lreadline -lintl
 examples\pasm\hello.o:(.text+0x6f): undefined reference to
 `Parrot_print_sc'
 examples\pasm\hello.o:(.text+0x9d): undefined reference to
 `Parrot_print_sc'
 examples\pasm\hello.o:(.text+0xaa): undefined reference to
 `Parrot_print_s'
 examples\pasm\hello.o:(.text+0xb7): undefined reference to
 `Parrot_print_sc'
 collect2: ld returned 1 exit status
 }}}

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/644>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to