Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.91k stars 542 forks source link

compiling p561 on w2k w/ gcc2.95.3-6 #4987

Closed p5pRT closed 20 years ago

p5pRT commented 22 years ago

Migrated from rt.perl.org#8463 (status was 'resolved')

Searchable as RT8463$

p5pRT commented 22 years ago

From jeff@rong-rong.com

okay\, i'm new at this so be lenient. If i'm sending this to the wrong address pls point me in the right direction. I've spent 2 days looking for help.

I've got gcc version 2.95.3-6 (MinGW-1.1 special) installed on a w2k sp2 computer

I've downloaded http​://www.cpan.org/authors/id/GSAR/dmake-4.1pl1-win32.zip as instructed

i've tried compiling stable.zip and latest.zip (looks like they are the same thing) Perl 5.6.1

M​:\MyWorks\p561\win32>dmake del /f config.h copy config_H.gc config.h   1 file(s) copied. if not exist ".\mini" mkdir ".\mini" gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\av.o ..\av.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\deb.o ..\deb.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\doio.o ..\doio.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\doop.o ..\doop.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\dump.o ..\dump.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\globals.o ..\globals.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\gv.o ..\gv.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\hv.o ..\hv.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\mg.o ..\mg.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\op.o ..\op.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\perl.o ..\perl.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\perlapi.o ..\perlapi.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\perly.o ..\perly.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\pp.o ..\pp.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\pp_ctl.o ..\pp_ctl.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\pp_hot.o ..\pp_hot.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\pp_sys.o ..\pp_sys.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\regcomp.o ..\regcomp.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\regexec.o ..\regexec.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\run.o ..\run.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\scope.o ..\scope.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\sv.o ..\sv.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\taint.o ..\taint.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\toke.o ..\toke.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\universal.o ..\universal. gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\utf8.o ..\utf8.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\util.o ..\util.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\xsutils.o ..\xsutils.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\miniperlmain.o ..\miniper gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -DPERL_EXTERNAL_GLOB -o.\mini\perlio.o ..\perlio.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -o.\mini\win32.o win32.c win32.c​: In function `win32_uname'​: win32.c​:1631​: structure has no member named `u' win32.c​:1636​: warning​: unreachable code at beginning of win32.c​: In function `Nt4CreateHardLinkW'​: win32.c​:2486​: warning​: initialization from incompatible win32.c​: In function `win32_link'​: win32.c​:2537​: warning​: assignment from incompatible poi win32.c​: In function `w32_DomainName'​: win32.c​:3675​: warning​: assignment from incompatible poi win32.c​:3677​: warning​: assignment from incompatible poi win32.c​:3695​: warning​: passing arg 2 of `WideCharToMult   pointer without a cast win32.c​:3699​: warning​: passing arg 2 of `WideCharToMult   pointer without a cast dmake.exe​: Error code 1\, while making '.\mini\win32.o'

p5pRT commented 22 years ago

From [Unknown Contact. See original ticket]

\jeff@​rong\-rong\.com writes​:

okay\, i'm new at this so be lenient. If i'm sending this to the wrong address pls point me in the right direction. I've spent 2 days looking for help.

I've got gcc version 2.95.3-6 (MinGW-1.1 special) installed on a w2k sp2 computer

I've downloaded http​://www.cpan.org/authors/id/GSAR/dmake-4.1pl1-win32.zip as instructed

i've tried compiling stable.zip and latest.zip (looks like they are the same thing) Perl 5.6.1 -DPERL_EXTERNAL_GLOB -o.\mini\perlio.o ..\perlio.c gcc -c -I..\lib\CORE -I.\include -I. -I.. -DWIN32 -DPE -o.\mini\win32.o win32.c win32.c​: In function `win32_uname'​: win32.c​:1631​: structure has no member named `u'

The 'stable' version of perl is too old to know that MinGW have cleaned up their compatibility with VC++ by implementing and using anonymous unions in their headers.

Development branch does work.

-- Nick Ing-Simmons http​://www.ni-s.u-net.com/