SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. l2tp_transport.c:1063:36: error: converting a packed ‘struct sockaddr_pppol2tp’ pointer (alignment 1) to a ‘const struct sockaddr’ pointer (alignment 2) may result in an unaligned pointer value [-Werror=address-of-packed-member]
  2.  1063 |     if (connect(kernel_fd, (struct sockaddr *)&sax, sizeof(sax) ) < 0 ) {
  3.       |                                    ^~~~~~~~
  4. In file included from l2tp_transport.c:40:
  5. /usr/include/linux/if_pppox.h:79:8: note: defined here
  6.    79 | struct sockaddr_pppol2tp {
  7.       |        ^~~~~~~~~~~~~~~~~
  8. cc1: all warnings being treated as errors
  9. make: *** [Makefile:275: l2tp_transport.o] Error 1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top