Advertisement
Guest User

Untitled

a guest
Aug 12th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.01 KB | None | 0 0
  1. gcc -g -O2 -D_GNU_SOURCE -I/usr/include/slang -c -o whiptail.o whiptail.c
  2. gcc -g -O2 -D_GNU_SOURCE -I/usr/include/slang -c -o dialogboxes.o dialogboxes.c
  3. mkdir -p shared
  4. gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/newt.o newt.c
  5. newt.c:1: warning: -fPIC ignored for target (all code is position independent)
  6. gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/button.o button.c
  7. button.c:1: warning: -fPIC ignored for target (all code is position independent)
  8. gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/form.o form.c
  9. form.c:1: warning: -fPIC ignored for target (all code is position independent)
  10. gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/checkbox.o checkbox.c
  11. checkbox.c:1: warning: -fPIC ignored for target (all code is position independent)
  12. gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/entry.o entry.c
  13. entry.c:1: warning: -fPIC ignored for target (all code is position independent)
  14. gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/label.o label.c
  15. label.c:1: warning: -fPIC ignored for target (all code is position independent)
  16. gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/listbox.o listbox.c
  17. listbox.c:1: warning: -fPIC ignored for target (all code is position independent)
  18. gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/scrollbar.o scrollbar.c
  19. scrollbar.c:1: warning: -fPIC ignored for target (all code is position independent)
  20. gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/textbox.o textbox.c
  21. textbox.c:1: warning: -fPIC ignored for target (all code is position independent)
  22. gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/scale.o scale.c
  23. scale.c:1: warning: -fPIC ignored for target (all code is position independent)
  24. gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/grid.o grid.c
  25. grid.c:1: warning: -fPIC ignored for target (all code is position independent)
  26. gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/windows.o windows.c
  27. windows.c:1: warning: -fPIC ignored for target (all code is position independent)
  28. gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/buttonbar.o buttonbar.c
  29. buttonbar.c:1: warning: -fPIC ignored for target (all code is position independent)
  30. gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/checkboxtree.o checkboxtree.c
  31. checkboxtree.c:1: warning: -fPIC ignored for target (all code is position independent)
  32. gcc -shared -o libnewt.so.0.52.12 -Wl,--version-script,newt.0.52.ver -Wl,-soname,libnewt.so.0.52 shared/newt.o shared/button.o shared/form.o shared/checkbox.o shared/entry.o shared/label.o shared/listbox.o shared/scrollbar.o shared/textbox.o shared/scale.o shared/grid.o shared/windows.o shared/buttonbar.o shared/checkboxtree.o -lslang
  33. ln -fs libnewt.so.0.52 libnewt.so
  34. ln -fs libnewt.so.0.52.12 libnewt.so.0.52
  35. gcc -g -o whiptail whiptail.o dialogboxes.o -L . -lnewt -lslang -lpopt
  36. whiptail.o: In function `usage':
  37. /home/user/src/newt-0.52.12/whiptail.c:37: undefined reference to `_libintl_gettext'
  38. whiptail.o: In function `readTextFile':
  39. /home/user/src/newt-0.52.12/whiptail.c:309: undefined reference to `_libintl_gettext'
  40. whiptail.o: In function `main':
  41. /home/user/src/newt-0.52.12/whiptail.c:391: undefined reference to `_libintl_bindtextdomain'
  42. /home/user/src/newt-0.52.12/whiptail.c:392: undefined reference to `_libintl_textdomain'
  43. whiptail.o: In function `print_version':
  44. /home/user/src/newt-0.52.12/whiptail.c:70: undefined reference to `_libintl_gettext'
  45. dialogboxes.o: In function `getButtonText':
  46. /home/user/src/newt-0.52.12/dialogboxes.c:52: undefined reference to `_libintl_dgettext'
  47. /home/user/src/newt-0.52.12/dialogboxes.c:50: undefined reference to `_libintl_dgettext'
  48. /home/user/src/newt-0.52.12/dialogboxes.c:51: undefined reference to `_libintl_dgettext'
  49. /home/user/src/newt-0.52.12/dialogboxes.c:49: undefined reference to `_libintl_dgettext'
  50. collect2: ld returned 1 exit status
  51. make: *** [whiptail] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement