Buliding 0.7.3 on Win32

Alan Young (ayoung@teleport.com)
Wed, 14 Jul 1999 23:11:35 -0700


I'm having a couple of problems building 0.7.3 on Win32. So, I have to ask
the question: "Who did the last minute change(s) and forgot to update the
master source???" ;)

The first problem I have a correction for. In src/pkg/win/setup/makefile,
the command to link setup.exe is missing the magic sed edits to change the
path from unix style to DOS style. At line 73 change:

@$(CC) $(subst /,\\,$(OBJS)) -Fe$(subst /,\\,$@) -link $(LDFLAGS) $(OS_LIBS)
$(ABI_LDFLAGS) $(subst /,\\,$(EXTRA_LIBS))

to:

@$(CC) $(shell echo $(OBJS) | sed 's|//[a-zA-Z]/|/|g' | sed 's|/|\\\\|g') \
-Fe$(shell echo $@ | sed 's|//[a-zA-Z]/|/|g' | sed 's|/|\\\\|g') \
-link $(LDFLAGS) $(ABI_LDFLAGS) $(OS_LIBS) \
$(shell echo $(EXTRA_LIBS) | sed 's|//[a-zA-Z]/|/|g' | sed 's|/|\\\\|g')

Once that change is made, the linker will find the libraries, etc. but then I
get
a link error. :( Here's the message output:

Linking //Y/abi/abi-0.7.3/src/WIN32_4.0_alpha_OBJ/bin/setup.exe....
setup.obj : error LNK2001: unresolved external symbol g_pReadMeFile
setup.obj : error LNK2001: unresolved external symbol g_pLicenseFile
setup.obj : error LNK2001: unresolved external symbol g_iNumFileSets
setup.obj : error LNK2001: unresolved external symbol g_aFileSets
libAbiSetup_s.lib(ask_lib_Win32.obj) : error LNK2001: unresolved external symbol
g_pGraphicFile
\abi\abi-0.7.3\src\WIN32_4.0_alpha_OBJ\bin\setup.exe : fatal error LNK1120: 5 un
resolved externals
make[2]: *** [//Y/abi/abi-0.7.3/src/WIN32_4.0_alpha_OBJ/bin/setup.exe] Error 2
make[1]: *** [distribution] Error 2
make: *** [distribution] Error 2

Any idea where to start looking?

Alan



This archive was generated by hypermail 1.03b2.