Hello,
I'm trying to rebuild native Windows Poplog. I thought that I could
remedy my ignorance about makefiles, C and Poplog compilation and
linkage process just doing it, and it's being a partial success: I
know now a lot more about all this, but I've been unable to compile
some targets.
I've followed in part the instructions in the document named "nt" from
Birmingham sysdoc/ directory. That document is dated 1994 and refers
to version 14. If there're updated instructions, please tell me where.
Also looked at other files in that directory and the makefiles trying
to understand what's going on. The makefile in $popsys doesn't work
for me as is with the "all" target. What I have done step by step:
* I'm using Windows XP Professional and Visual Studio .NET.
* VS installation didn't set needed environment variables. I must set
them using VC7\bin\vcvars32.bat in the console in the first place.
* corepop and corepop11 are older executables and look for old
registry keys so I needed to override directories using environment
variable USEPOP.
* Also added $popsys to the system path.
* I've repeated all the process several times from a fresh
installation. One of the times, I compiled in this point the external
libs using "extern/lib/mklibpop.bat winnt". Other times I've done it
after the final error, but it didn't help anyway.
* From $popsys: nmake newpop
* From $popsys: nmake rsvpop
* Manually renamed newpop11.exe and rsvpop11.exe to corerpop11.exe and
corepop.exe, after backing up the older ones.
* From $popsys: nmake mksyscomp (Once this step didn't worked because
corepop didn't find files in the current directory. I am not sure 100%
if it happened in the normal sequence or if I broke something before).
* From $popsys: nmake poplog
* So far, so good. Now neither "nmake winpop11" nor "nmake pop11"
work:=20
*******************************************************************
Utilidad de mantenimiento de programas de Microsoft (R) versi=BEn
7.10.3077
(C) Microsoft Corporation. Reservados todos los derechos.
link /DEBUG:full /DEBUGTYPE:cv -nologo -machine:i386
/INCREMENTAL:NO /N
OLOGO -subsystem:windows,5.0 -out:winpop11.exe popmain.lib poplog.lib
kernel32
.lib ws2_32.lib mswsock.lib advapi32.lib user32.lib gdi32.lib
comdlg32.lib wins
pool.lib
LINK : warning LNK4001: ning=FAn archivo objeto especificado;
bibliotecas usadas
LINK : error LNK2001: s=EDmbolo externo _WinMainCRTStartup sin resolver
winpop11.exe : fatal error LNK1120: 1 externos sin resolver
NMAKE : fatal error U1077: 'link' : c=BEdigo devuelto '0x460'
Stop.
*******************************************************************
Translated messages:
LINK : warning LNK4001: no object file was specified; using libs
LINK : error LNK2001: external symbol _WinMainCRTStartup unresolved
winpop11.exe : fatal error LNK1120: 1 unresolved external=20
NMAKE : fatal error U1077: 'link' : returned code '0x460'
When the target is "pop11", the error is identical except it refers to
_mainCRTStartup. It seems that it doesn't find the DLL entry point.
Now I'm stalled :-( =20
--
saludos,
=20
Nico Arag=F3n
NOTE: na-list address only works for messages coming from lists.
Please, write to "nico" at the same domain for direct email.
|