Hi @all again,

now I used to compile the tun/tap driver the gcc-3.4.3 which comes with Solaris 
10 and resides in /usr/sfw/bin.

I was able to compile with 64Bit mode, but I am still unable to attach the 
driver to the system.

tail -f /var/adm/messages shows the following error message:

Jan 20 10:14:59 david genunix: [ID 286029 kern.notice] relocation error: 
R_AMD64_32: 
Jan 20 10:14:59 david genunix: [ID 720415 kern.notice] file 
/usr/kernel/drv/amd64/tun: 
Jan 20 10:14:59 david genunix: [ID 370954 kern.notice] symbol : 
Jan 20 10:14:59 david genunix: [ID 780480 kern.notice] value 0xfffffffff807c600 
does not fit
Jan 20 10:14:59 david genunix: [ID 286029 kern.notice] relocation error: 
R_AMD64_32: 
Jan 20 10:14:59 david genunix: [ID 720415 kern.notice] file 
/usr/kernel/drv/amd64/tun: 
Jan 20 10:14:59 david genunix: [ID 370954 kern.notice] symbol : 
Jan 20 10:14:59 david genunix: [ID 780480 kern.notice] value 0xfffffffff807c648 
does not fit
Jan 20 10:14:59 david genunix: [ID 399259 kern.notice] do_relocations: 
/usr/kernel/drv/amd64/tun do_relocate failed
Jan 20 10:14:59 david genunix: [ID 603676 kern.notice] tun error doing 
relocations

I don't really know where to place and how to assign the CXXFLAGS and CFLAGS.

Can someone advice please?

OpenVPN was compiled successfully including lzo and ssl. OpenVPN binary starts, 
but it can't open the tun device.

Kind Regards,
Dave.
 
 
This message posted from opensolaris.org

Reply via email to