Den 31-08-2012 16:05, Albert Chin skrev:
> I tried building 5.7.1 on this platform
> with LFS and run into the following:
>    /opt/fsw/bash42/bin/bash ../../libtool  --mode=compile cc -I../../include 
> -I. -I../../agent -I../../agent/mibgroup -I../../snmplib 
> -I/opt/TWWfsw/libopenssl10/include   -mr -Qn -xstrconst -xO2 
> -xtarget=pentium4 -Dsolaris2=solaris2  -c -o 
> hardware/memory/memory_solaris.lo hardware/memory/memory_solaris.c
>     cc -I../../include -I. -I../../agent -I../../agent/mibgroup 
> -I../../snmplib -I/opt/TWWfsw/libopenssl10/include -mr -Qn -xstrconst -xO2 
> -xtarget=pentium4 -Dsolaris2=solaris2 -c hardware/memory/memory_solaris.c  
> -KPIC -DPIC -o hardware/memory/.libs/memory_solaris.o
>    "/usr/include/sys/swap.h", line 49: #error: "Cannot use swapctl in the 
> large files compilation environment"

Not being familiar with cc on Solaris (using gcc all the time), how did 
you activate the large file compilation environment?

Using gcc -m64 works fine for me

/Niels

-- 
Niels Baggesen - @home - Ã…rhus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers   ---   R W Hamming

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to