Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2003 23:19:16 +0200
From:      Martin Krzysiak <cinek@gmx.de>
To:        freebsd-questions@freebsd.org
Subject:   /usr/ports/lang/cli undefined reference to `environ'
Message-ID:  <200304112319.16770.cinek@gmx.de>

next in thread | raw e-mail | index | archive | help

I wanted to have a look at the C# compiler by Microsoft. I have problems 
compiling from ports. Typing 'make install' gives me this result:

[...]
cc -pthread -shared -Wl,-soname,librotor_pal.so objr/cruntimeobjs.o  
objr/debugobjs.o  objr/exceptionobjs.o  objr/fileobjs.o  objr/handlemgrobjs.o  
objr/loaderobjs.o  objr/localeobjs.o  objr/mapobjs.o  objr/memoryobjs.o  
objr/miscobjs.o  objr/initobjs.o  objr/socketobjs.o  objr/syncobjs.o  
objr/threadobjs.o  objr/archobjs.o  objr/shmemoryobjs.o  -o 
"/usr/ports/lang/cli/work/sscli/clr/bin/rotor_x86/free/librotor_pal.so" -lc_r 
-lm -Wl,-R,/usr/lib/crt1.o
objr/miscobjs.o: In function `GetEnvironmentStringsW':
objr/miscobjs.o(.text+0x1263): undefined reference to `environ'
objr/miscobjs.o(.text+0x1314): undefined reference to `environ'
objr/threadobjs.o: In function `CreateProcessW':
objr/threadobjs.o(.text+0x1a90): undefined reference to `environ'
*** Error code 1

Am I doing something wrong?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304112319.16770.cinek>