Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gcc -g -O2 -D_GNU_SOURCE -I/usr/include/slang -c -o whiptail.o whiptail.c
- gcc -g -O2 -D_GNU_SOURCE -I/usr/include/slang -c -o dialogboxes.o dialogboxes.c
- mkdir -p shared
- gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/newt.o newt.c
- newt.c:1: warning: -fPIC ignored for target (all code is position independent)
- gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/button.o button.c
- button.c:1: warning: -fPIC ignored for target (all code is position independent)
- gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/form.o form.c
- form.c:1: warning: -fPIC ignored for target (all code is position independent)
- gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/checkbox.o checkbox.c
- checkbox.c:1: warning: -fPIC ignored for target (all code is position independent)
- gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/entry.o entry.c
- entry.c:1: warning: -fPIC ignored for target (all code is position independent)
- gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/label.o label.c
- label.c:1: warning: -fPIC ignored for target (all code is position independent)
- gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/listbox.o listbox.c
- listbox.c:1: warning: -fPIC ignored for target (all code is position independent)
- gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/scrollbar.o scrollbar.c
- scrollbar.c:1: warning: -fPIC ignored for target (all code is position independent)
- gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/textbox.o textbox.c
- textbox.c:1: warning: -fPIC ignored for target (all code is position independent)
- gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/scale.o scale.c
- scale.c:1: warning: -fPIC ignored for target (all code is position independent)
- gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/grid.o grid.c
- grid.c:1: warning: -fPIC ignored for target (all code is position independent)
- gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/windows.o windows.c
- windows.c:1: warning: -fPIC ignored for target (all code is position independent)
- gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/buttonbar.o buttonbar.c
- buttonbar.c:1: warning: -fPIC ignored for target (all code is position independent)
- gcc -fPIC -c -g -O2 -D_GNU_SOURCE -I/usr/include/slang -o shared/checkboxtree.o checkboxtree.c
- checkboxtree.c:1: warning: -fPIC ignored for target (all code is position independent)
- 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
- ln -fs libnewt.so.0.52 libnewt.so
- ln -fs libnewt.so.0.52.12 libnewt.so.0.52
- gcc -g -o whiptail whiptail.o dialogboxes.o -L . -lnewt -lslang -lpopt
- whiptail.o: In function `usage':
- /home/user/src/newt-0.52.12/whiptail.c:37: undefined reference to `_libintl_gettext'
- whiptail.o: In function `readTextFile':
- /home/user/src/newt-0.52.12/whiptail.c:309: undefined reference to `_libintl_gettext'
- whiptail.o: In function `main':
- /home/user/src/newt-0.52.12/whiptail.c:391: undefined reference to `_libintl_bindtextdomain'
- /home/user/src/newt-0.52.12/whiptail.c:392: undefined reference to `_libintl_textdomain'
- whiptail.o: In function `print_version':
- /home/user/src/newt-0.52.12/whiptail.c:70: undefined reference to `_libintl_gettext'
- dialogboxes.o: In function `getButtonText':
- /home/user/src/newt-0.52.12/dialogboxes.c:52: undefined reference to `_libintl_dgettext'
- /home/user/src/newt-0.52.12/dialogboxes.c:50: undefined reference to `_libintl_dgettext'
- /home/user/src/newt-0.52.12/dialogboxes.c:51: undefined reference to `_libintl_dgettext'
- /home/user/src/newt-0.52.12/dialogboxes.c:49: undefined reference to `_libintl_dgettext'
- collect2: ld returned 1 exit status
- make: *** [whiptail] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement