[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help Compilation Poroblems
From: |
Antoine Leca |
Subject: |
Re: Help Compilation Poroblems |
Date: |
Thu, 24 Feb 2000 15:38:37 +0100 |
Hi,
First, it looks like this message have been sent to the wrong mailing
list. I redirect it to the correct list, in order to get in touch
with the right people.
Satpal Chander wrote in freetype mailing list:
>
> Hi,
>
> I'm trying to get freetype to compile under windows NT4.0sp6 /
> Irix6.5.6s.
> I have a fresh install of freetype-1.3.1.
> The following is a transscript of what happens on windows:
> D:\Animo_stuff\freetype-1.3.1\lib>nmake /f arch\win32\Makefile.CL
<snip>
> lib /nologo /OUT:libttf.lib @response
> Microsoft (R) 32-Bit Library Manager Version 5.10.7303
> Copyright (C) Microsoft Corp 1992-1997. All rights reserved.
>
> +
> LIB : fatal error LNK1181: cannot open input file "+"
> NMAKE : fatal error U1077: 'lib' : return code '0x49d'
> Stop.
OOPS!
It looks like there is a botch in the VC 32-bit makefile :-(
(I believe I applied incorrectly some patch intended for
Borland make or for 16-bit tools).
I fix it now on the repository, and I also enclose a diff in
this message, to allow you (and others) to patch your local copy.
Thanks for reporting the problem.
For the rest, I am completely ignorant. Please Irix gurus answer...
> The following is what happens on Irix after I have done a ./configure:
> /sbin/make
> cd lib; make -f arch/unix/Makefile all
> rm -f memory.c file.c mutex.c
> ln -s
> /Net/dougal/External2/LocalUsers/satpal/freetype/freetype-1.3.1/lib/arch/uni
> x/../../ttmemory.c memory.c
> ln -s
> /Net/dougal/External2/LocalUsers/satpal/freetype/freetype-1.3.1/lib/arch/uni
> x/../../arch/unix/ttmmap.c file.c
> ln -s
> /Net/dougal/External2/LocalUsers/satpal/freetype/freetype-1.3.1/lib/arch/uni
> x/../../ttmutex.c mutex.c
> make -f arch/unix/Makefile LIB_FILES="freetype.lo ftxkern.lo
> ftxgasp.lo ftxpost.lo ftxcmap.lo ftxsbit.lo ftxwidth.lo ftxerr18.lo
> ftxgsub.lo ftxgpos.lo ftxgdef.lo ftxopen.lo" libttf.la
> ../libtool --mode=compile
> cc -c -I. -I.. -I/Net/dougal/External2/LocalUsers/satpal/freetype/freetype-
> 1.3.1/lib/arch/unix/../.. -I/Net/dougal/External2/LocalUsers/satpal/freetype
> /freetype-1.3.1/lib/arch/unix/../../extend \
> -DLOCALEDIR='"/usr/local/sha
> re/locale"' \
> -DTT_MAKE_OPTION_SINGLE_OBJE
> CT \
>
> /Net/dougal/External2/LocalUsers/satpal/freetype/freetype-1.3.1/lib/arch/uni
> x/../../arch/unix/freetype.c
>
> <snip>
>
> mkdir .libs
> ln -s freetype.lo freetype.o
> ln -s ftxkern.lo ftxkern.o
> ln -s ftxgasp.lo ftxgasp.o
> ln -s ftxpost.lo ftxpost.o
> ln -s ftxcmap.lo ftxcmap.o
> ln -s ftxsbit.lo ftxsbit.o
> ln -s ftxwidth.lo ftxwidth.o
> ln -s ftxerr18.lo ftxerr18.o
> ln -s ftxgsub.lo ftxgsub.o
> ln -s ftxgpos.lo ftxgpos.o
> ln -s ftxgdef.lo ftxgdef.o
> ln -s ftxopen.lo ftxopen.o
> /usr/bin/ld -n32 -shared freetype.o ftxkern.o ftxgasp.o ftxpost.o ftxcmap.o
> ftxsbit.o ftxwidth.o ftxerr18.o ftxgsub.o ftxgpos.o ftxgdef.o
> xopen.o -lm -lc -soname libttf.so.3 `test -n "sgi3.0" &&
> echo -set_version sgi3.0` -update_registry .libs/so_locations -o
> .libs/libttf.so.3.0
> ld32: WARNING 84: /usr/lib32/libm.so is not used for resolving any symbol.
> ld32: ERROR 48: Cannot access registry file .libs/so_locations (No locks
> available) - ignored.
> ld32: FATAL 51: Can't assign virtual addresses for libttf.so.3 of size 10000
> within specified range. Please check your registry file .libs/so_locations.
> *** Error code 4 (bu21)
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
> 14.631u 10.534s 0:37.96 66.2% 0+0k 247+81io 57pf+0w
> Exit 1
>
> Cheers
> Satpal
>
> Satpal Chander (address@hidden)
>
> Cambridge Animation Systems
> 20 Cambridge Place
> Cambridge
> CB2 1NS
>
> Tel ++44 (0) 1223 578100
> Fax ++44 (0) 1223 578111
>
> http://www.cam-ani.co.uk
> All opinions expressed are my own
--- lib/arch/win32/Makefile.131 Wed Sep 8 08:46:18 1999
+++ lib/arch/win32/Makefile.CL Thu Feb 24 15:34:12 2000
@@ -84,7 +84,7 @@
all: $(OBJS_S)
-del libttf.lib
$(LIB) /OUT:libttf.lib @<<response
-+ $(OBJS_S: = + );
+ $(OBJS_S)
<<KEEP
dll $(FT_DLL): $(OBJS_S)
@@ -107,7 +107,7 @@
debug: $(OBJS_M)
-del libttf.lib
$(LIB) /OUT:libttf.lib @<<response
-+ $(OBJS_M: = + );
+ $(OBJS_M)
<<KEEP
!ifdef DEBUG
@@ -138,7 +138,7 @@
# Not used here because it excesses the capacity of COMMAND.COM...
libttf.lib: $(LIB_FILES)
- $(LIB) $@ +-$(?: =-+);
+ $(LIB) /OUT:$@ $**
clean:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Help Compilation Poroblems,
Antoine Leca <=