E:\Perl\src\AP615_source\win32>dmake
del /f config.h
Could Not Find E:\Perl\src\AP615_source\win32\config.h
copy config_H.bc config.h
1 file(s) copied.
bcc32 -c -w -g0 -tWM -tWD -I..\lib\CORE -I.\include -I. -I.. -I"e:\bcc55\include" -DWIN32 -DHAVE_DES_FCRYPT -DPERLDLL -DPERL_CORE
-O2 -D_RTLDLL -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -operlglob.obj perlglob.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
perlglob.c:
bcc32 -c -w -v -tWM -I"e:\bcc55\include" perlglob.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
perlglob.c:
tlink32 -Tpe -ap -L"t:
\lib\CORE" -L"e:\bcc55\lib" c0x32.obj perlglob.obj \
"e:\bcc55\lib\32BIT\wildargs.obj",..\perlglob.exe,,import32.lib cw32mt.lib,
The name specified is not recognized as an
internal or external command, operable program or batch file.
dmake.exe: Error code 1, while making '..\perlglob.exe'
E:\Perl\src\AP615_source\win32>
####
E:\BCC55\Bin>dir
Volume in drive E has no label.
Volume Serial Number is B41D-3949
Directory of E:\BCC55\Bin
03/03/06 03:47a .
03/03/06 03:47a ..
00/06/27 05:01a 869,376 bcc32.exe
00/06/27 05:01a 69,152 brc32.exe
00/06/27 05:01a 168,992 brcc32.exe
00/06/27 05:01a 572 builtins.mak
00/06/27 05:01a 1,405,440 cc3250.dll
00/06/27 05:01a 1,497,088 cc3250mt.dll
00/06/27 05:01a 118,485 coff2omf.exe
00/06/27 05:01a 241,152 cpp32.exe
98/12/09 02:05a 131,072 dmake.exe
00/06/27 05:01a 19,456 fconvert.exe
00/06/27 05:01a 102,400 grep.exe
00/06/27 05:01a 326,144 ilink32.exe
00/06/27 05:01a 169,472 impdef.exe
00/06/27 05:01a 192,000 implib.exe
00/06/27 05:01a 93,696 lnkdfm50.dll
00/06/27 05:01a 114,688 make.exe
00/06/27 05:01a 74,752 rlink32.dll
00/06/27 05:01a 812,576 rw32core.dll
03/03/06 03:47a startup
00/06/27 05:01a 261,120 tdump.exe
00/06/27 05:01a 61,440 tlib.exe
00/06/27 05:01a 73,728 touch.exe
00/06/27 05:01a 16,460 trigraph.exe
26 File(s) 6,819,639 bytes
1,629,994,496 bytes free
E:\BCC55\Bin>
####
E:\Perl\src\AP615_source\win32>dmake
del /f config.h
copy config_H.bc config.h
1 file(s) copied.
bcc32 -c -w -v -tWM -I"e:\bcc55\include" perlglob.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
perlglob.c:
ilink32 -Tpe -ap -L"t:
\lib\CORE" -L"e:\bcc55\lib" c0x32.obj perlglob.obj \
"e:\bcc55\lib\32BIT\wildargs.obj",..\perlglob.exe,,import32.lib cw32mt.lib,
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Illegal option: Lt:
dmake.exe: Error code 2, while making '..\perlglob.exe'
E:\Perl\src\AP615_source\win32>
####
E:\Perl\src\AP615_source\win32>dmake
del /f config.h
copy config_H.bc config.h
1 file(s) copied.
bcc32 -c -w -g0 -tWM -tWD -I..\lib\CORE -I.\include -I. -I.. -I"e:\bcc55\include" -DWIN32 -DHAVE_DES_FCRYPT -DPERLDLL -DPERL_CORE
-O2 -D_RTLDLL -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -operlglob.obj perlglob.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
perlglob.c:
bcc32 -c -w -v -tWM -I"e:\bcc55\include" perlglob.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
perlglob.c:
ilink32 -Tpe -ap -L"t:\.\lib\CORE" -L"e:\bcc55\lib" c0x32.obj perlglob.obj \
"e:\bcc55\lib\32BIT\wildargs.obj",..\perlglob.exe,,import32.lib cw32mt.lib,
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
bcc32 -c -w -g0 -tWM -tWD -I..\lib\CORE -I.\include -I. -I.. -I"e:\bcc55\include" -DWIN32 -DHAVE_DES_FCRYPT -DPERLDLL -DPERL_CORE
-O2 -D_RTLDLL -o.\mini\win32.obj win32.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
win32.c:
Warning W8017 win32.h 164: Redefinition of '_access' is not identical
Warning W8075 win32.c 1137: Suspicious pointer conversion in function win32_stat
Error E2451 win32.c 1616: Undefined symbol 'u' in function win32_uname
*** 1 errors in Compile ***
dmake.exe: Error code 1, while making '.\mini\win32.obj'
E:\Perl\src\AP615_source\win32>
####
#if defined(__BORLANDC__) || defined(__MINGW32__)
switch (info.u.s.wProcessorArchitecture) { <<< line:1616
#else
switch (info.wProcessorArchitecture) {
#endif
####
typedef struct _SYSTEM_INFO {
union {
DWORD dwOemId; // Obsolete field...do not use
struct {
WORD wProcessorArchitecture;
WORD wReserved;
};
};
DWORD dwPageSize;
LPVOID lpMinimumApplicationAddress;
LPVOID lpMaximumApplicationAddress;
DWORD_PTR dwActiveProcessorMask;
DWORD dwNumberOfProcessors;
DWORD dwProcessorType;
DWORD dwAllocationGranularity;
WORD wProcessorLevel;
WORD wProcessorRevision;
} SYSTEM_INFO, *LPSYSTEM_INFO;
####
/*1614
#if defined(__BORLANDC__) || defined(__MINGW32__)
switch (info.u.s.wProcessorArchitecture) {
#else
switch (info.wProcessorArchitecture) {
#endif
1620*/
switch (info.wProcessorArchitecture) {
####
E:\Perl\src\AP615_source\win32>dmake
del /f config.h
copy config_H.bc config.h
1 file(s) copied.
ilink32 -Tpe -ap -L"t:\.\lib\CORE" -L"e:\bcc55\lib" \
@D:\TEMP\mk000001
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Unable to open file 'ODBC32.LIB'
dmake.exe: Error code 2, while making '..\miniperl.exe'
E:\Perl\src\AP615_source\win32>
####
E:\BCC55\Lib>dir
Volume in drive E has no label.
Volume Serial Number is B41D-3949
Directory of E:\BCC55\Lib
03/03/05 08:37p .
03/03/05 08:37p ..
00/06/27 05:01a 2,758 c0d32.obj
00/06/27 05:01a 2,761 c0d32w.obj
00/06/27 05:01a 2,667 c0d32x.obj
00/06/27 05:01a 3,519 c0s32.obj
00/06/27 05:01a 2,302 c0w32.obj
00/06/27 05:01a 2,308 c0w32w.obj
00/06/27 05:01a 2,279 c0x32.obj
00/06/27 05:01a 2,304 c0x32w.obj
00/06/27 05:01a 1,644,544 cw32.lib
00/06/27 05:01a 501,248 cw32i.lib
00/06/27 05:01a 1,722,368 cw32mt.lib
00/06/27 05:01a 511,488 cw32mti.lib
00/06/27 05:01a 7,168 dxextra.lib
00/06/27 05:01a 185 fileinfo.obj
00/06/27 05:01a 852 gp.obj
00/06/27 05:01a 710,656 import32.lib
00/06/27 05:01a 29,184 inet.lib
00/06/27 05:01a 3,584 noeh32.lib
00/06/27 05:01a 47,616 ole2w32.lib
00/06/27 05:01a 12,745 oleaut32.lib
03/03/05 08:37p PSDK
00/06/27 05:01a 2,048 uuid.lib
00/06/27 05:01a 271 wildargs.obj
00/06/27 05:01a 18,944 wininet.lib
00/06/27 05:01a 8,704 ws2_32.lib
27 File(s) 5,242,503 bytes
1,627,738,112 bytes free
E:\BCC55\Lib>
####
E:\Perl\src\AP615_source\win32>dmake
ECHO is on.
cd ..\ext\Socket && \
..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl
Writing Makefile for Socket
cd ..\ext\Socket && e:\BCC55\bin\dmake.exe -S
bcc32 -c -O2 -D_RTLDLL -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -O2 -D_RTLDLL -DVERSION=\"1.72
\" -DXS_VERSION=\"1.72\" -I..\..\lib\CORE Socket.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Socket.c:
Error E2209 ..\..\lib\CORE\perl.h 425: Unable to open include file 'sys/types.h'
Error E2209 ..\..\lib\CORE\perl.h 436: Unable to open include file 'stdarg.h'
Error E2209 ..\..\lib\CORE\perl.h 456: Unable to open include file 'ctype.h'
Error E2209 ..\..\lib\CORE\perl.h 464: Unable to open include file 'locale.h'
Error E2209 ..\..\lib\CORE\perl.h 481: Unable to open include file 'setjmp.h'
Error E2209 ..\..\lib\CORE\perl.h 514: Unable to open include file 'string.h'
Error E2209 ..\..\lib\CORE\perl.h 669: Unable to open include file 'sys/stat.h'
Error E2209 ..\..\lib\CORE\perl.h 691: Unable to open include file 'time.h'
Error E2209 ..\..\lib\CORE\perl.h 712: Unable to open include file 'errno.h'
Error E2209 ..\..\lib\CORE\perl.h 1085: Unable to open include file 'limits.h'
Error E2209 ..\..\lib\CORE\perl.h 1088: Unable to open include file 'float.h'
Error E2209 ..\..\lib\CORE\perl.h 1095: Unable to open include file 'float.h'
Error E2209 ..\..\lib\CORE\perl.h 1113: Unable to open include file 'limits.h'
Error E2209 ..\..\lib\CORE\perl.h 1116: Unable to open include file 'float.h'
Error E2209 ..\..\lib\CORE\perl.h 1207: Unable to open include file 'limits.h'
Error E2257 ..\..\lib\CORE\perl.h 1388: , expected
Error E2209 ..\..\lib\CORE\win32.h 60: Unable to open include file 'windows.h'
Error E2209 ..\..\lib\CORE\win32.h 71: Unable to open include file 'io.h'
Error E2209 ..\..\lib\CORE\win32.h 72: Unable to open include file 'process.h'
Error E2209 ..\..\lib\CORE\win32.h 73: Unable to open include file 'stdio.h'
Error E2209 ..\..\lib\CORE\win32.h 74: Unable to open include file 'direct.h'
Error E2209 ..\..\lib\CORE\win32.h 75: Unable to open include file 'stdlib.h'
Error E2209 ..\..\lib\CORE\win32.h 76: Unable to open include file 'fcntl.h'
Error E2209 ..\..\lib\CORE\win32.h 168: Unable to open include file 'sys/types.h'
Error E2141 ..\..\lib\CORE\win32.h 281: Declaration syntax error
Error E2228 ..\..\lib\CORE\win32.h 281: Too many error or warning messages
*** 26 errors in Compile ***
dmake.exe: Error code 1, while making 'Socket.obj'
dmake.exe: Error code 255, while making '..\lib\auto\Socket\Socket.dll'
E:\Perl\src\AP615_source\win32>
####
$(SOCKET_DLL): $(PERLEXE) $(SOCKET).xs
cd $(EXTDIR)\$(*B) && \
..\..\miniperl -I..\..\lib Makefile.PL INSTALLDIRS=perl
cd $(EXTDIR)\$(*B) && $(MAKE)
####
use ExtUtils::MakeMaker;
use Config;
WriteMakefile(
NAME => 'Socket',
VERSION_FROM => 'Socket.pm',
($Config{libs} =~ /(-lsocks\S*)/ ? (LIBS => [ "$1" ] ) : ()),
MAN3PODS => {}, # Pods will be built by installman.
XSPROTOARG => '-noprototypes', # XXX remove later?
);