Re: Compile problem under Sun OS 4.1.3

Eugene Dvurechenski (jno@glas.apc.org)
Tue, 27 Aug 1996 10:57:30 +0400 (GMT+0400)

On Mon, 26 Aug 1996, Deepta Hiremath wrote:

> I'm trying to compile scotty-2.1.1 and here is the complaint I get.
> I have tcl 7.5 and tk 4.1 and I have SunOS 4.1.3.
>
> $ make
[skipped]
> ld: /lib/libresolv.a(gethostnamadr.o): can't mixed pic and PIC .o
> *** Error code 4
> make: Fatal error: Command failed for target `tnm.so'

i've just edited the Makefile.
find the line "SHLIB_CFLAGS = -PIC" and remove the flag.
the resulting stuff works fine...

---
SY,
jno                       [ mailto:jno@glas.apc.org    ]
a GlasNet technical admin [ http://www.glasnet.ru/~jno ]