/usr/ports/lang/cli undefined reference to `environ'

Martin Krzysiak cinek at gmx.de
Fri Apr 11 14:21:51 PDT 2003

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?

More information about the freebsd-questions mailing list