* failure to build backports on ubuntu
@ 2014-10-28 17:08 Grumbach, Emmanuel
2014-10-28 18:31 ` Luis R. Rodriguez
0 siblings, 1 reply; 9+ messages in thread
From: Grumbach, Emmanuel @ 2014-10-28 17:08 UTC (permalink / raw)
To: backports@vger.kernel.org,
Luis R. Rodriguez (mcgrof@do-not-panic.com)
Hi,
Since
commit de427857852e7194b9ae80571425ba0d2c29ef55
Author: Luis R. Rodriguez <mcgrof@suse.com>
Date: Sun Sep 14 06:05:29 2014 -0700
backports: fix mconf compilation library assumptions
I can't make menuconfig. Reverting this patch fixes it.
Full error is here:
$ make menuconfig
Generating local configuration database from kernel ... done.
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o mconf.o mconf.c
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o zconf.tab.o zconf.tab.c
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o lxdialog/checklist.o lxdialog/checklist.c
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o lxdialog/inputbox.o lxdialog/inputbox.c
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o lxdialog/menubox.o lxdialog/menubox.c
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o lxdialog/textbox.o lxdialog/textbox.c
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o lxdialog/util.o lxdialog/util.c
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o lxdialog/yesno.o lxdialog/yesno.c
cc -Wl,--add-needed -lncurses mconf.o zconf.tab.o lxdialog/checklist.o lxdialog/inputbox.o lxdialog/menubox.o lxdialog/textbox.o lxdialog/util.o lxdialog/yesno.o -o mconf
mconf.o: In function `show_help':
mconf.c:(.text+0x744): undefined reference to `stdscr'
lxdialog/checklist.o: In function `print_arrows':
checklist.c:(.text+0x2c): undefined reference to `wmove'
checklist.c:(.text+0x4c): undefined reference to `acs_map'
checklist.c:(.text+0x54): undefined reference to `waddch'
checklist.c:(.text+0x66): undefined reference to `waddnstr'
checklist.c:(.text+0x76): undefined reference to `wmove'
checklist.c:(.text+0xa0): undefined reference to `acs_map'
checklist.c:(.text+0xa8): undefined reference to `waddch'
checklist.c:(.text+0xe3): undefined reference to `acs_map'
checklist.c:(.text+0xeb): undefined reference to `waddch'
checklist.c:(.text+0xf2): undefined reference to `acs_map'
checklist.c:(.text+0xfa): undefined reference to `waddch'
checklist.c:(.text+0x101): undefined reference to `acs_map'
checklist.c:(.text+0x109): undefined reference to `waddch'
checklist.c:(.text+0x110): undefined reference to `acs_map'
checklist.c:(.text+0x143): undefined reference to `acs_map'
checklist.c:(.text+0x14b): undefined reference to `waddch'
checklist.c:(.text+0x152): undefined reference to `acs_map'
checklist.c:(.text+0x15a): undefined reference to `waddch'
checklist.c:(.text+0x161): undefined reference to `acs_map'
checklist.c:(.text+0x169): undefined reference to `waddch'
checklist.c:(.text+0x170): undefined reference to `acs_map'
checklist.c:(.text+0x178): undefined reference to `waddch'
lxdialog/checklist.o: In function `print_item':
checklist.c:(.text+0x1fd): undefined reference to `wmove'
checklist.c:(.text+0x21c): undefined reference to `waddch'
checklist.c:(.text+0x235): undefined reference to `wmove'
checklist.c:(.text+0x28e): undefined reference to `wmove'
checklist.c:(.text+0x2a0): undefined reference to `waddch'
checklist.c:(.text+0x2cd): undefined reference to `waddnstr'
checklist.c:(.text+0x2e6): undefined reference to `wmove'
checklist.c:(.text+0x2ee): undefined reference to `wrefresh'
checklist.c:(.text+0x328): undefined reference to `wprintw'
lxdialog/checklist.o: In function `print_buttons':
checklist.c:(.text+0x3cb): undefined reference to `wmove'
lxdialog/checklist.o: In function `dialog_checklist':
checklist.c:(.text+0x4cf): undefined reference to `stdscr'
checklist.c:(.text+0x52a): undefined reference to `COLS'
checklist.c:(.text+0x536): undefined reference to `stdscr'
checklist.c:(.text+0x54c): undefined reference to `LINES'
checklist.c:(.text+0x572): undefined reference to `newwin'
checklist.c:(.text+0x587): undefined reference to `keypad'
checklist.c:(.text+0x5ce): undefined reference to `wmove'
checklist.c:(.text+0x5da): undefined reference to `acs_map'
checklist.c:(.text+0x5e2): undefined reference to `waddch'
checklist.c:(.text+0x603): undefined reference to `acs_map'
checklist.c:(.text+0x60f): undefined reference to `waddch'
checklist.c:(.text+0x637): undefined reference to `acs_map'
checklist.c:(.text+0x63f): undefined reference to `waddch'
checklist.c:(.text+0x6a5): undefined reference to `subwin'
checklist.c:(.text+0x6b7): undefined reference to `keypad'
checklist.c:(.text+0x84d): undefined reference to `wnoutrefresh'
checklist.c:(.text+0x857): undefined reference to `wnoutrefresh'
checklist.c:(.text+0x85c): undefined reference to `doupdate'
checklist.c:(.text+0x876): undefined reference to `wgetch'
checklist.c:(.text+0x99d): undefined reference to `delwin'
checklist.c:(.text+0x9a7): undefined reference to `delwin'
checklist.c:(.text+0xa30): undefined reference to `wnoutrefresh'
checklist.c:(.text+0xa38): undefined reference to `wrefresh'
checklist.c:(.text+0xa51): undefined reference to `delwin'
checklist.c:(.text+0xa5b): undefined reference to `delwin'
checklist.c:(.text+0xab2): undefined reference to `scrollok'
checklist.c:(.text+0xabf): undefined reference to `wscrl'
checklist.c:(.text+0xac9): undefined reference to `scrollok'
checklist.c:(.text+0xb22): undefined reference to `wnoutrefresh'
checklist.c:(.text+0xb2a): undefined reference to `wrefresh'
checklist.c:(.text+0xb8b): undefined reference to `wrefresh'
checklist.c:(.text+0xb90): undefined reference to `doupdate'
checklist.c:(.text+0xc06): undefined reference to `delwin'
checklist.c:(.text+0xc10): undefined reference to `delwin'
checklist.c:(.text+0xcc2): undefined reference to `doupdate'
checklist.c:(.text+0xd22): undefined reference to `scrollok'
checklist.c:(.text+0xd2f): undefined reference to `wscrl'
checklist.c:(.text+0xd39): undefined reference to `scrollok'
checklist.c:(.text+0xda2): undefined reference to `wnoutrefresh'
checklist.c:(.text+0xdaa): undefined reference to `wrefresh'
checklist.c:(.text+0xdc6): undefined reference to `doupdate'
checklist.c:(.text+0xdd2): undefined reference to `acs_map'
checklist.c:(.text+0xdd9): undefined reference to `waddch'
lxdialog/checklist.o: In function `print_arrows':
checklist.c:(.text+0xc8): undefined reference to `waddnstr'
checklist.c:(.text+0x126): undefined reference to `waddch'
lxdialog/checklist.o: In function `print_buttons':
checklist.c:(.text+0x3dd): undefined reference to `wrefresh'
lxdialog/inputbox.o: In function `print_buttons':
inputbox.c:(.text+0x8b): undefined reference to `wmove'
lxdialog/inputbox.o: In function `dialog_inputbox':
inputbox.c:(.text+0x114): undefined reference to `stdscr'
inputbox.c:(.text+0x150): undefined reference to `COLS'
inputbox.c:(.text+0x166): undefined reference to `LINES'
inputbox.c:(.text+0x18c): undefined reference to `newwin'
inputbox.c:(.text+0x19c): undefined reference to `keypad'
inputbox.c:(.text+0x1df): undefined reference to `wmove'
inputbox.c:(.text+0x1eb): undefined reference to `acs_map'
inputbox.c:(.text+0x1f3): undefined reference to `waddch'
inputbox.c:(.text+0x20b): undefined reference to `acs_map'
inputbox.c:(.text+0x216): undefined reference to `waddch'
inputbox.c:(.text+0x238): undefined reference to `acs_map'
inputbox.c:(.text+0x23d): undefined reference to `waddch'
inputbox.c:(.text+0x2d1): undefined reference to `wmove'
inputbox.c:(.text+0x35c): undefined reference to `waddch'
inputbox.c:(.text+0x370): undefined reference to `wmove'
inputbox.c:(.text+0x378): undefined reference to `wrefresh'
inputbox.c:(.text+0x3a2): undefined reference to `wgetch'
inputbox.c:(.text+0x404): undefined reference to `delwin'
inputbox.c:(.text+0x44f): undefined reference to `delwin'
inputbox.c:(.text+0x4f0): undefined reference to `wmove'
inputbox.c:(.text+0x536): undefined reference to `waddch'
inputbox.c:(.text+0x54b): undefined reference to `wmove'
inputbox.c:(.text+0x553): undefined reference to `wrefresh'
inputbox.c:(.text+0x584): undefined reference to `delwin'
inputbox.c:(.text+0x5ae): undefined reference to `waddnstr'
inputbox.c:(.text+0x5c4): undefined reference to `delwin'
inputbox.c:(.text+0x606): undefined reference to `delwin'
inputbox.c:(.text+0x6f3): undefined reference to `wmove'
inputbox.c:(.text+0x746): undefined reference to `waddch'
inputbox.c:(.text+0x75e): undefined reference to `wmove'
inputbox.c:(.text+0x766): undefined reference to `wrefresh'
inputbox.c:(.text+0x835): undefined reference to `wmove'
inputbox.c:(.text+0x8ac): undefined reference to `wmove'
inputbox.c:(.text+0x8b4): undefined reference to `wrefresh'
inputbox.c:(.text+0x8cb): undefined reference to `acs_map'
inputbox.c:(.text+0x8d2): undefined reference to `waddch'
inputbox.c:(.text+0x94b): undefined reference to `wmove'
inputbox.c:(.text+0x977): undefined reference to `wmove'
inputbox.c:(.text+0x97f): undefined reference to `wrefresh'
inputbox.c:(.text+0x9c8): undefined reference to `wmove'
inputbox.c:(.text+0xa11): undefined reference to `waddch'
inputbox.c:(.text+0xa27): undefined reference to `wmove'
inputbox.c:(.text+0xa99): undefined reference to `waddch'
inputbox.c:(.text+0xab2): undefined reference to `wmove'
inputbox.c:(.text+0xad9): undefined reference to `waddch'
inputbox.c:(.text+0xae3): undefined reference to `flash'
inputbox.c:(.text+0xaf5): undefined reference to `waddch'
inputbox.c:(.text+0xb1a): undefined reference to `wmove'
inputbox.c:(.text+0xb5d): undefined reference to `waddch'
inputbox.c:(.text+0xb71): undefined reference to `wmove'
inputbox.c:(.text+0xb83): undefined reference to `waddch'
lxdialog/inputbox.o: In function `print_buttons':
inputbox.c:(.text+0x9d): undefined reference to `wrefresh'
lxdialog/menubox.o: In function `do_scroll':
menubox.c:(.text+0x12): undefined reference to `scrollok'
menubox.c:(.text+0x1c): undefined reference to `wscrl'
menubox.c:(.text+0x26): undefined reference to `scrollok'
lxdialog/menubox.o: In function `do_print_item':
menubox.c:(.text+0xc2): undefined reference to `wmove'
menubox.c:(.text+0xca): undefined reference to `wclrtoeol'
menubox.c:(.text+0xf1): undefined reference to `wmove'
menubox.c:(.text+0x106): undefined reference to `waddnstr'
menubox.c:(.text+0x13a): undefined reference to `wmove'
menubox.c:(.text+0x14d): undefined reference to `waddch'
menubox.c:(.text+0x166): undefined reference to `wmove'
menubox.c:(.text+0x198): undefined reference to `wmove'
menubox.c:(.text+0x19f): undefined reference to `wclrtoeol'
lxdialog/menubox.o: In function `print_buttons':
menubox.c:(.text+0x2bc): undefined reference to `wmove'
lxdialog/menubox.o: In function `print_arrows.constprop.0':
menubox.c:(.text+0x31a): undefined reference to `wmove'
menubox.c:(.text+0x335): undefined reference to `acs_map'
menubox.c:(.text+0x33d): undefined reference to `waddch'
menubox.c:(.text+0x34f): undefined reference to `waddnstr'
menubox.c:(.text+0x35d): undefined reference to `wmove'
menubox.c:(.text+0x365): undefined reference to `wrefresh'
menubox.c:(.text+0x389): undefined reference to `acs_map'
menubox.c:(.text+0x391): undefined reference to `waddch'
menubox.c:(.text+0x398): undefined reference to `acs_map'
menubox.c:(.text+0x3a0): undefined reference to `waddch'
menubox.c:(.text+0x3a7): undefined reference to `acs_map'
menubox.c:(.text+0x3af): undefined reference to `waddch'
menubox.c:(.text+0x3b6): undefined reference to `acs_map'
menubox.c:(.text+0x3be): undefined reference to `waddch'
menubox.c:(.text+0x3cd): undefined reference to `wmove'
menubox.c:(.text+0x403): undefined reference to `acs_map'
menubox.c:(.text+0x40b): undefined reference to `waddch'
menubox.c:(.text+0x41d): undefined reference to `waddnstr'
menubox.c:(.text+0x436): undefined reference to `acs_map'
menubox.c:(.text+0x43e): undefined reference to `waddch'
menubox.c:(.text+0x445): undefined reference to `acs_map'
menubox.c:(.text+0x44d): undefined reference to `waddch'
menubox.c:(.text+0x454): undefined reference to `acs_map'
menubox.c:(.text+0x45c): undefined reference to `waddch'
menubox.c:(.text+0x463): undefined reference to `acs_map'
menubox.c:(.text+0x46b): undefined reference to `waddch'
menubox.c:(.text+0x47e): undefined reference to `wmove'
lxdialog/menubox.o: In function `dialog_menu':
menubox.c:(.text+0x4b1): undefined reference to `stdscr'
menubox.c:(.text+0x54a): undefined reference to `COLS'
menubox.c:(.text+0x555): undefined reference to `stdscr'
menubox.c:(.text+0x56d): undefined reference to `LINES'
menubox.c:(.text+0x59f): undefined reference to `newwin'
menubox.c:(.text+0x5b4): undefined reference to `keypad'
menubox.c:(.text+0x5ff): undefined reference to `wmove'
menubox.c:(.text+0x60b): undefined reference to `acs_map'
menubox.c:(.text+0x613): undefined reference to `waddch'
menubox.c:(.text+0x63b): undefined reference to `acs_map'
menubox.c:(.text+0x646): undefined reference to `waddch'
menubox.c:(.text+0x678): undefined reference to `wbkgdset'
menubox.c:(.text+0x67f): undefined reference to `acs_map'
menubox.c:(.text+0x687): undefined reference to `waddch'
menubox.c:(.text+0x6e4): undefined reference to `subwin'
menubox.c:(.text+0x6f4): undefined reference to `keypad'
menubox.c:(.text+0x847): undefined reference to `wnoutrefresh'
menubox.c:(.text+0x899): undefined reference to `wmove'
menubox.c:(.text+0x8a1): undefined reference to `wrefresh'
menubox.c:(.text+0x8bc): undefined reference to `wgetch'
menubox.c:(.text+0x9c4): undefined reference to `delwin'
menubox.c:(.text+0x9ce): undefined reference to `delwin'
menubox.c:(.text+0xac8): undefined reference to `wnoutrefresh'
menubox.c:(.text+0xad0): undefined reference to `wrefresh'
menubox.c:(.text+0xe1a): undefined reference to `delwin'
menubox.c:(.text+0xe24): undefined reference to `delwin'
menubox.c:(.text+0xe2b): undefined reference to `stdscr'
menubox.c:(.text+0xe7b): undefined reference to `scrollok'
menubox.c:(.text+0xff5): undefined reference to `wrefresh'
menubox.c:(.text+0x102f): undefined reference to `delwin'
menubox.c:(.text+0x1039): undefined reference to `delwin'
menubox.c:(.text+0x1137): undefined reference to `wbkgdset'
menubox.c:(.text+0x113e): undefined reference to `acs_map'
menubox.c:(.text+0x1145): undefined reference to `waddch'
lxdialog/menubox.o: In function `do_scroll':
menubox.c:(.text+0x36): undefined reference to `wrefresh'
lxdialog/menubox.o: In function `do_print_item':
menubox.c:(.text+0x184): undefined reference to `wrefresh'
lxdialog/menubox.o: In function `print_buttons':
menubox.c:(.text+0x2ce): undefined reference to `wrefresh'
lxdialog/menubox.o: In function `print_arrows.constprop.0':
menubox.c:(.text+0x3e3): undefined reference to `wrefresh'
lxdialog/textbox.o: In function `refresh_text_box':
textbox.c:(.text+0x219): undefined reference to `wmove'
textbox.c:(.text+0x226): undefined reference to `waddch'
textbox.c:(.text+0x244): undefined reference to `waddnstr'
textbox.c:(.text+0x24c): undefined reference to `wclrtoeol'
textbox.c:(.text+0x27d): undefined reference to `wnoutrefresh'
textbox.c:(.text+0x2a7): undefined reference to `wbkgdset'
textbox.c:(.text+0x2f3): undefined reference to `wmove'
textbox.c:(.text+0x304): undefined reference to `wprintw'
textbox.c:(.text+0x314): undefined reference to `wmove'
textbox.c:(.text+0x340): undefined reference to `wbkgdset'
lxdialog/textbox.o: In function `dialog_textbox':
textbox.c:(.text+0x416): undefined reference to `stdscr'
textbox.c:(.text+0x470): undefined reference to `COLS'
textbox.c:(.text+0x48a): undefined reference to `LINES'
textbox.c:(.text+0x4ba): undefined reference to `newwin'
textbox.c:(.text+0x4ca): undefined reference to `keypad'
textbox.c:(.text+0x4e7): undefined reference to `subwin'
textbox.c:(.text+0x508): undefined reference to `wbkgdset'
textbox.c:(.text+0x515): undefined reference to `keypad'
textbox.c:(.text+0x557): undefined reference to `wmove'
textbox.c:(.text+0x563): undefined reference to `acs_map'
textbox.c:(.text+0x56b): undefined reference to `waddch'
textbox.c:(.text+0x583): undefined reference to `acs_map'
textbox.c:(.text+0x58f): undefined reference to `waddch'
textbox.c:(.text+0x5b6): undefined reference to `wbkgdset'
textbox.c:(.text+0x5bd): undefined reference to `acs_map'
textbox.c:(.text+0x5c5): undefined reference to `waddch'
textbox.c:(.text+0x613): undefined reference to `wnoutrefresh'
textbox.c:(.text+0x671): undefined reference to `wgetch'
textbox.c:(.text+0x6dc): undefined reference to `delwin'
textbox.c:(.text+0x6e4): undefined reference to `delwin'
textbox.c:(.text+0x6f0): undefined reference to `stdscr'
textbox.c:(.text+0x77c): undefined reference to `delwin'
textbox.c:(.text+0x784): undefined reference to `delwin'
textbox.c:(.text+0x8db): undefined reference to `wgetch'
textbox.c:(.text+0xb30): undefined reference to `wbkgdset'
textbox.c:(.text+0xb37): undefined reference to `acs_map'
textbox.c:(.text+0xb3e): undefined reference to `waddch'
textbox.c:(.text+0xb8f): undefined reference to `wnoutrefresh'
lxdialog/textbox.o: In function `refresh_text_box':
textbox.c:(.text+0x32a): undefined reference to `wrefresh'
lxdialog/util.o: In function `init_one_color':
util.c:(.text+0x46f): undefined reference to `init_pair'
lxdialog/util.o: In function `attr_clear':
util.c:(.text+0x4d1): undefined reference to `wmove'
util.c:(.text+0x4ec): undefined reference to `waddch'
lxdialog/util.o: In function `dialog_clear':
util.c:(.text+0x539): undefined reference to `COLS'
util.c:(.text+0x53f): undefined reference to `LINES'
util.c:(.text+0x546): undefined reference to `stdscr'
util.c:(.text+0x561): undefined reference to `stdscr'
util.c:(.text+0x57d): undefined reference to `wmove'
util.c:(.text+0x590): undefined reference to `stdscr'
util.c:(.text+0x59a): undefined reference to `waddnstr'
util.c:(.text+0x5a1): undefined reference to `stdscr'
util.c:(.text+0x5b0): undefined reference to `wmove'
util.c:(.text+0x5b6): undefined reference to `COLS'
util.c:(.text+0x5cb): undefined reference to `acs_map'
util.c:(.text+0x5d2): undefined reference to `stdscr'
util.c:(.text+0x5da): undefined reference to `waddch'
util.c:(.text+0x5e0): undefined reference to `COLS'
util.c:(.text+0x5ef): undefined reference to `stdscr'
lxdialog/util.o: In function `init_dialog':
util.c:(.text+0x605): undefined reference to `initscr'
util.c:(.text+0x60c): undefined reference to `stdscr'
util.c:(.text+0x7f2): undefined reference to `stdscr'
util.c:(.text+0x7fc): undefined reference to `keypad'
util.c:(.text+0x801): undefined reference to `cbreak'
util.c:(.text+0x806): undefined reference to `noecho'
util.c:(.text+0x821): undefined reference to `has_colors'
util.c:(.text+0x831): undefined reference to `start_color'
util.c:(.text+0xcc7): undefined reference to `has_colors'
util.c:(.text+0xce6): undefined reference to `has_colors'
util.c:(.text+0xd15): undefined reference to `endwin'
lxdialog/util.o: In function `end_dialog':
util.c:(.text+0xd39): undefined reference to `stdscr'
util.c:(.text+0xd3e): undefined reference to `wmove'
util.c:(.text+0xd45): undefined reference to `stdscr'
util.c:(.text+0xd4a): undefined reference to `wrefresh'
lxdialog/util.o: In function `print_title':
util.c:(.text+0xdba): undefined reference to `wmove'
util.c:(.text+0xdcc): undefined reference to `waddch'
util.c:(.text+0xdd9): undefined reference to `wmove'
util.c:(.text+0xdeb): undefined reference to `waddnstr'
lxdialog/util.o: In function `print_autowrap':
util.c:(.text+0xf6a): undefined reference to `wmove'
util.c:(.text+0xf7a): undefined reference to `waddnstr'
util.c:(.text+0x104e): undefined reference to `wmove'
util.c:(.text+0x105e): undefined reference to `waddnstr'
lxdialog/util.o: In function `print_button':
util.c:(.text+0x1093): undefined reference to `wmove'
util.c:(.text+0x10c0): undefined reference to `waddnstr'
util.c:(.text+0x111d): undefined reference to `waddch'
util.c:(.text+0x114c): undefined reference to `waddch'
util.c:(.text+0x1168): undefined reference to `waddnstr'
util.c:(.text+0x1185): undefined reference to `waddnstr'
util.c:(.text+0x11c8): undefined reference to `waddch'
util.c:(.text+0x11e4): undefined reference to `waddnstr'
util.c:(.text+0x1204): undefined reference to `waddch'
util.c:(.text+0x1214): undefined reference to `waddnstr'
lxdialog/util.o: In function `draw_box':
util.c:(.text+0x12a9): undefined reference to `wmove'
util.c:(.text+0x12fb): undefined reference to `waddch'
util.c:(.text+0x1338): undefined reference to `acs_map'
util.c:(.text+0x1340): undefined reference to `waddch'
util.c:(.text+0x1359): undefined reference to `acs_map'
util.c:(.text+0x1361): undefined reference to `waddch'
util.c:(.text+0x1381): undefined reference to `acs_map'
util.c:(.text+0x1389): undefined reference to `waddch'
util.c:(.text+0x13a0): undefined reference to `acs_map'
util.c:(.text+0x13a8): undefined reference to `waddch'
util.c:(.text+0x13b9): undefined reference to `acs_map'
util.c:(.text+0x13c1): undefined reference to `waddch'
util.c:(.text+0x13d2): undefined reference to `acs_map'
util.c:(.text+0x13da): undefined reference to `waddch'
util.c:(.text+0x13fa): undefined reference to `acs_map'
util.c:(.text+0x1402): undefined reference to `waddch'
util.c:(.text+0x1413): undefined reference to `acs_map'
util.c:(.text+0x141b): undefined reference to `waddch'
lxdialog/util.o: In function `draw_shadow':
util.c:(.text+0x144d): undefined reference to `has_colors'
util.c:(.text+0x147a): undefined reference to `wmove'
util.c:(.text+0x1490): undefined reference to `winch'
util.c:(.text+0x149b): undefined reference to `waddch'
util.c:(.text+0x14b9): undefined reference to `wmove'
util.c:(.text+0x14c4): undefined reference to `winch'
util.c:(.text+0x14cf): undefined reference to `waddch'
util.c:(.text+0x14d7): undefined reference to `winch'
util.c:(.text+0x14e2): undefined reference to `waddch'
lxdialog/util.o: In function `on_key_esc':
util.c:(.text+0x160d): undefined reference to `nodelay'
util.c:(.text+0x1617): undefined reference to `keypad'
util.c:(.text+0x161f): undefined reference to `wgetch'
util.c:(.text+0x1629): undefined reference to `wgetch'
util.c:(.text+0x1634): undefined reference to `wgetch'
util.c:(.text+0x1643): undefined reference to `nodelay'
util.c:(.text+0x1650): undefined reference to `keypad'
util.c:(.text+0x1686): undefined reference to `ungetch'
lxdialog/util.o: In function `attr_clear':
util.c:(.text+0x522): undefined reference to `wtouchln'
lxdialog/util.o: In function `dialog_clear':
util.c:(.text+0x5f4): undefined reference to `wnoutrefresh'
lxdialog/util.o: In function `end_dialog':
util.c:(.text+0xd53): undefined reference to `endwin'
lxdialog/util.o: In function `print_title':
util.c:(.text+0xe02): undefined reference to `waddch'
lxdialog/util.o: In function `print_button':
util.c:(.text+0x11a3): undefined reference to `wmove'
lxdialog/util.o: In function `draw_shadow':
util.c:(.text+0x14fd): undefined reference to `wnoutrefresh'
lxdialog/yesno.o: In function `print_buttons':
yesno.c:(.text+0x86): undefined reference to `wmove'
lxdialog/yesno.o: In function `dialog_yesno':
yesno.c:(.text+0xdc): undefined reference to `stdscr'
yesno.c:(.text+0x118): undefined reference to `COLS'
yesno.c:(.text+0x131): undefined reference to `LINES'
yesno.c:(.text+0x15a): undefined reference to `newwin'
yesno.c:(.text+0x16a): undefined reference to `keypad'
yesno.c:(.text+0x1ac): undefined reference to `wmove'
yesno.c:(.text+0x1b8): undefined reference to `acs_map'
yesno.c:(.text+0x1c0): undefined reference to `waddch'
yesno.c:(.text+0x1d3): undefined reference to `acs_map'
yesno.c:(.text+0x1df): undefined reference to `waddch'
yesno.c:(.text+0x202): undefined reference to `acs_map'
yesno.c:(.text+0x207): undefined reference to `waddch'
yesno.c:(.text+0x257): undefined reference to `wgetch'
yesno.c:(.text+0x284): undefined reference to `delwin'
yesno.c:(.text+0x2c0): undefined reference to `delwin'
yesno.c:(.text+0x2e6): undefined reference to `delwin'
yesno.c:(.text+0x32e): undefined reference to `wrefresh'
yesno.c:(.text+0x345): undefined reference to `delwin'
yesno.c:(.text+0x363): undefined reference to `delwin'
yesno.c:(.text+0x3a3): undefined reference to `acs_map'
yesno.c:(.text+0x3aa): undefined reference to `waddch'
lxdialog/yesno.o: In function `print_buttons':
yesno.c:(.text+0x98): undefined reference to `wrefresh'
collect2: error: ld returned 1 exit status
make[2]: *** [mconf] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [menuconfig] Error 2
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: failure to build backports on ubuntu 2014-10-28 17:08 failure to build backports on ubuntu Grumbach, Emmanuel @ 2014-10-28 18:31 ` Luis R. Rodriguez 2014-10-28 20:07 ` Grumbach, Emmanuel 0 siblings, 1 reply; 9+ messages in thread From: Luis R. Rodriguez @ 2014-10-28 18:31 UTC (permalink / raw) To: Grumbach, Emmanuel; +Cc: backports@vger.kernel.org On Tue, Oct 28, 2014 at 10:08 AM, Grumbach, Emmanuel <emmanuel.grumbach@intel.com> wrote: > > I can't make menuconfig. Reverting this patch fixes it. There's no context provided here, gcc version, Linux distribution, etc. With some of that it would help. Luis ^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: failure to build backports on ubuntu 2014-10-28 18:31 ` Luis R. Rodriguez @ 2014-10-28 20:07 ` Grumbach, Emmanuel 2014-10-28 20:21 ` Luis R. Rodriguez 0 siblings, 1 reply; 9+ messages in thread From: Grumbach, Emmanuel @ 2014-10-28 20:07 UTC (permalink / raw) To: Luis R. Rodriguez; +Cc: backports@vger.kernel.org PiANCj4gT24gVHVlLCBPY3QgMjgsIDIwMTQgYXQgMTA6MDggQU0sIEdydW1iYWNoLCBFbW1hbnVl bA0KPiA8ZW1tYW51ZWwuZ3J1bWJhY2hAaW50ZWwuY29tPiB3cm90ZToNCj4gPg0KPiA+IEkgY2Fu J3QgbWFrZSBtZW51Y29uZmlnLiBSZXZlcnRpbmcgdGhpcyBwYXRjaCBmaXhlcyBpdC4NCj4gDQo+ IFRoZXJlJ3Mgbm8gY29udGV4dCBwcm92aWRlZCBoZXJlLCBnY2MgdmVyc2lvbiwgTGludXggZGlz dHJpYnV0aW9uLCBldGMuIFdpdGgNCj4gc29tZSBvZiB0aGF0IGl0IHdvdWxkIGhlbHAuDQo+IA0K DQoqIFVidW50dSAxNC4wNA0KKiAgZ2NjIC12DQpVc2luZyBidWlsdC1pbiBzcGVjcy4NCkNPTExF Q1RfR0NDPS91c3IvYmluL2djYw0KQ09MTEVDVF9MVE9fV1JBUFBFUj0vdXNyL2xpYi9nY2MveDg2 XzY0LWxpbnV4LWdudS80LjgvbHRvLXdyYXBwZXINClRhcmdldDogeDg2XzY0LWxpbnV4LWdudQ0K Q29uZmlndXJlZCB3aXRoOiAuLi9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p2bS1leHBvcnRzL2phdmEtMS41LjAtZ2NqLTQuOC1hbWQ2 NCAtLXdpdGgtYXJjaC1kaXJlY3Rvcnk9YW1kNjQgLS13aXRoLWVjai1qYXI9L3Vzci9zaGFyZS9q YXZhL2VjbGlwc2UtZWNqLmphciAtLWVuYWJsZS1vYmpjLWdjIC0tZW5hYmxlLW11bHRpYXJjaCAt LWRpc2FibGUtd2Vycm9yIC0td2l0aC1hcmNoLTMyPWk2ODYgLS13aXRoLWFiaT1tNjQgLS13aXRo LW11bHRpbGliLWxpc3Q9bTMyLG02NCxteDMyIC0td2l0aC10dW5lPWdlbmVyaWMgLS1lbmFibGUt Y2hlY2tpbmc9cmVsZWFzZSAtLWJ1aWxkPXg4Nl82NC1saW51eC1nbnUgLS1ob3N0PXg4Nl82NC1s aW51eC1nbnUgLS10YXJnZXQ9eDg2XzY0LWxpbnV4LWdudQ0KVGhyZWFkIG1vZGVsOiBwb3NpeA0K Z2NjIHZlcnNpb24gNC44LjIgKFVidW50dSA0LjguMi0xOXVidW50dTEpDQoNCkkgYW0gY29tcGls aW5nIGFnYWluc3QgMy4xNi4xDQoNClBsZWFzZSBsZXQgbWUga25vdyB3aGF0IGVsc2UgeW91IHdh bnQgdG8ga25vdy4NCg== ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: failure to build backports on ubuntu 2014-10-28 20:07 ` Grumbach, Emmanuel @ 2014-10-28 20:21 ` Luis R. Rodriguez 2014-10-29 6:57 ` Grumbach, Emmanuel 2014-10-29 8:02 ` Johannes Berg 0 siblings, 2 replies; 9+ messages in thread From: Luis R. Rodriguez @ 2014-10-28 20:21 UTC (permalink / raw) To: Grumbach, Emmanuel; +Cc: backports@vger.kernel.org On Tue, Oct 28, 2014 at 1:07 PM, Grumbach, Emmanuel <emmanuel.grumbach@intel.com> wrote: >> >> On Tue, Oct 28, 2014 at 10:08 AM, Grumbach, Emmanuel >> <emmanuel.grumbach@intel.com> wrote: >> > >> > I can't make menuconfig. Reverting this patch fixes it. >> >> There's no context provided here, gcc version, Linux distribution, etc. With >> some of that it would help. >> > > * Ubuntu 14.04 > * gcc -v > Using built-in specs. > COLLECT_GCC=/usr/bin/gcc > COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper > Target: x86_64-linux-gnu > Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu > Thread model: posix > gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) > > I am compiling against 3.16.1 > > Please let me know what else you want to know. The kernel solution to this uses an internal kernel variables to prefix flags for the linker, the solution I provided is supposed to do that but perhaps for some older linker it doesn't do that, I'm afraid that since we don't have the internal variable solution and that porting it would be hard (probably pointless) we'll have to work around this then as mimicking that won't be easy Can you try a solution on the backport/kconf/Makefile that see's if lsb_release is available and use that for older releases of Ubuntu? I'd try it but since you have the system I figure it'd be easier. Luis ^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: failure to build backports on ubuntu 2014-10-28 20:21 ` Luis R. Rodriguez @ 2014-10-29 6:57 ` Grumbach, Emmanuel 2014-10-29 7:16 ` Luis R. Rodriguez 2014-10-29 8:02 ` Johannes Berg 1 sibling, 1 reply; 9+ messages in thread From: Grumbach, Emmanuel @ 2014-10-29 6:57 UTC (permalink / raw) To: Luis R. Rodriguez; +Cc: backports@vger.kernel.org PiANCj4gT24gVHVlLCBPY3QgMjgsIDIwMTQgYXQgMTowNyBQTSwgR3J1bWJhY2gsIEVtbWFudWVs DQo+IDxlbW1hbnVlbC5ncnVtYmFjaEBpbnRlbC5jb20+IHdyb3RlOg0KPiA+Pg0KPiA+PiBPbiBU dWUsIE9jdCAyOCwgMjAxNCBhdCAxMDowOCBBTSwgR3J1bWJhY2gsIEVtbWFudWVsDQo+ID4+IDxl bW1hbnVlbC5ncnVtYmFjaEBpbnRlbC5jb20+IHdyb3RlOg0KPiA+PiA+DQo+ID4+ID4gSSBjYW4n dCBtYWtlIG1lbnVjb25maWcuIFJldmVydGluZyB0aGlzIHBhdGNoIGZpeGVzIGl0Lg0KPiA+Pg0K PiA+PiBUaGVyZSdzIG5vIGNvbnRleHQgcHJvdmlkZWQgaGVyZSwgZ2NjIHZlcnNpb24sIExpbnV4 IGRpc3RyaWJ1dGlvbiwNCj4gPj4gZXRjLiBXaXRoIHNvbWUgb2YgdGhhdCBpdCB3b3VsZCBoZWxw Lg0KPiA+Pg0KPiA+DQo+ID4gKiBVYnVudHUgMTQuMDQNCj4gPiAqICBnY2MgLXYNCj4gPiBVc2lu ZyBidWlsdC1pbiBzcGVjcy4NCj4gPiBDT0xMRUNUX0dDQz0vdXNyL2Jpbi9nY2MNCj4gPiBDT0xM RUNUX0xUT19XUkFQUEVSPS91c3IvbGliL2djYy94ODZfNjQtbGludXgtZ251LzQuOC9sdG8td3Jh cHBlcg0KPiA+IFRhcmdldDogeD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WERJQUxPRyA6PSBseGRpYWxvZy9jaGVja2xpc3QubyBseGRpYWxvZy9pbnB1dGJveC5vIGx4ZGlh bG9nL21lbnVib3gubyBseGRpYWxvZy90ZXh0Ym94Lm8gbHhkaWFsb2cvdXRpbC5vIGx4ZGlhbG9n L3llc25vLm8NCiANCiBjb25mOiBjb25mLm8gemNvbmYudGFiLm8NCi1tY29uZjogTERGTEFHUyA9 IC1XbCwtLW5vLWFzLW5lZWRlZCAkKHNoZWxsIC4vbHhkaWFsb2cvY2hlY2stbHhkaWFsb2cuc2gg LWxkZmxhZ3MgJChDQykpDQorDQorUkVMRUFTRT0kKHNoZWxsIGxzYl9yZWxlYXNlIC1zaSkNCitp ZmVxICgkKFJFTEVBU0UpLCBVYnVudHUpDQorICAgICAgIEFTX05FRURFRD0tLW5vLWFzLW5lZWRl ZA0KK2Vsc2UNCisgICAgICAgQVNfTkVFREVEPS0tYWRkLW5lZWRlZA0KK2VuZGlmDQorbWNvbmY6 IExERkxBR1MgPSAtV2wsJChBU19ORUVERUQpICQoc2hlbGwgLi9seGRpYWxvZy9jaGVjay1seGRp YWxvZy5zaCAtbGRmbGFncyAkKENDKSkNCisNCiBtY29uZjogQ0ZMQUdTICs9IC1EQ1VSU0VTX0xP Qz0iPG5jdXJzZXMuaD4iIC1ETE9DQUxFDQogbWNvbmY6IG1jb25mLm8gemNvbmYudGFiLm8gJChM WERJQUxPRykNCg0KDQoNCg0K ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: failure to build backports on ubuntu 2014-10-29 6:57 ` Grumbach, Emmanuel @ 2014-10-29 7:16 ` Luis R. Rodriguez 2014-10-29 7:18 ` Grumbach, Emmanuel 0 siblings, 1 reply; 9+ messages in thread From: Luis R. Rodriguez @ 2014-10-29 7:16 UTC (permalink / raw) To: Grumbach, Emmanuel; +Cc: backports@vger.kernel.org On Tue, Oct 28, 2014 at 11:57 PM, Grumbach, Emmanuel <emmanuel.grumbach@intel.com> wrote: >> >> On Tue, Oct 28, 2014 at 1:07 PM, Grumbach, Emmanuel >> <emmanuel.grumbach@intel.com> wrote: >> >> >> >> On Tue, Oct 28, 2014 at 10:08 AM, Grumbach, Emmanuel >> >> <emmanuel.grumbach@intel.com> wrote: >> >> > >> >> > I can't make menuconfig. Reverting this patch fixes it. >> >> >> >> There's no context provided here, gcc version, Linux distribution, >> >> etc. With some of that it would help. >> >> >> > >> > * Ubuntu 14.04 >> > * gcc -v >> > Using built-in specs. >> > COLLECT_GCC=/usr/bin/gcc >> > COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper >> > Target: x86_64-linux-gnu >> > Configured with: ../src/configure -v --with-pkgversion='Ubuntu >> > 4.8.2-19ubuntu1' >> > --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs >> > --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr >> > --program-suffix=-4.8 --enable-shared --enable-linker-build-id >> > --libexecdir=/usr/lib --without-included-gettext >> > --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 >> > --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu >> > --enable-libstdcxx-debug --enable-libstdcxx-time=yes >> > --enable-gnu-unique-object --disable-libmudflap --enable-plugin >> > --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk >> > --enable-gtk-cairo >> > --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre >> > --enable-java-home >> > --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 >> > --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 >> > --with-arch-directory=amd64 >> > --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc >> > --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 >> > --with-multilib-list=m32,m64,mx32 --with-tune=generic >> > --enable-checking=release --build=x86_64-linux-gnu >> > --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix >> > gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) >> > >> > I am compiling against 3.16.1 >> > >> > Please let me know what else you want to know. >> >> The kernel solution to this uses an internal kernel variables to prefix flags for >> the linker, the solution I provided is supposed to do that but perhaps for >> some older linker it doesn't do that, I'm afraid that since we don't have the >> internal variable solution and that porting it would be hard (probably >> pointless) we'll have to work around this then as mimicking that won't be >> easy >> >> Can you try a solution on the backport/kconf/Makefile that see's if >> lsb_release is available and use that for older releases of Ubuntu? >> I'd try it but since you have the system I figure it'd be easier. >> > > This works for me: > > > diff --git a/backport/kconf/Makefile b/backport/kconf/Makefile > index dfd793a..8398f35 100644 > --- a/backport/kconf/Makefile > +++ b/backport/kconf/Makefile > @@ -3,7 +3,15 @@ CFLAGS=-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer > LXDIALOG := lxdialog/checklist.o lxdialog/inputbox.o lxdialog/menubox.o lxdialog/textbox.o lxdialog/util.o lxdialog/yesno.o > > conf: conf.o zconf.tab.o > -mconf: LDFLAGS = -Wl,--no-as-needed $(shell ./lxdialog/check-lxdialog.sh -ldflags $(CC)) > + > +RELEASE=$(shell lsb_release -si) > +ifeq ($(RELEASE), Ubuntu) > + AS_NEEDED=--no-as-needed > +else > + AS_NEEDED=--add-needed > +endif > +mconf: LDFLAGS = -Wl,$(AS_NEEDED) $(shell ./lxdialog/check-lxdialog.sh -ldflags $(CC)) > + > mconf: CFLAGS += -DCURSES_LOC="<ncurses.h>" -DLOCALE > mconf: mconf.o zconf.tab.o $(LXDIALOG) Thanks for doing this, any chance this can be reduced down to < version match? I'm in hope that this is only an issue with old releases otherwise we should look for another solution. Luis ^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: failure to build backports on ubuntu 2014-10-29 7:16 ` Luis R. Rodriguez @ 2014-10-29 7:18 ` Grumbach, Emmanuel 0 siblings, 0 replies; 9+ messages in thread From: Grumbach, Emmanuel @ 2014-10-29 7:18 UTC (permalink / raw) To: Lu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5vICQoTFhESUFMT0cpDQo+IA0KPiBUaGFua3MgZm9yIGRvaW5nIHRoaXMsIGFueSBj aGFuY2UgdGhpcyBjYW4gYmUgcmVkdWNlZCBkb3duIHRvIDwgdmVyc2lvbg0KPiBtYXRjaD8gSSdt IGluIGhvcGUgdGhhdCB0aGlzIGlzIG9ubHkgYW4gaXNzdWUgd2l0aCBvbGQgcmVsZWFzZXMgb3Ro ZXJ3aXNlIHdlDQo+IHNob3VsZCBsb29rIGZvciBhbm90aGVyIHNvbHV0aW9uLg0KPiANCg0KSSBj YW4gdHJ5IGJ1dCBJIG9ubHkgaGF2ZSAxNC4wNCA6KSB3aGljaCBoYXBwZW5zIHRvIGJlIHRoZSBs YXRlc3Qgc3RhYmxlIHJlbGVhc2UuDQo= ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: failure to build backports on ubuntu 2014-10-28 20:21 ` Luis R. Rodriguez 2014-10-29 6:57 ` Grumbach, Emmanuel @ 2014-10-29 8:02 ` Johannes Berg 2014-10-29 8:23 ` Luis R. Rodriguez 1 sibling, 1 reply; 9+ messages in thread From: Johannes Berg @ 2014-10-29 8:02 UTC (permalink / raw) To: Luis R. Rodriguez; +Cc: Grumbach, Emmanuel, backports@vger.kernel.org On Tue, 2014-10-28 at 13:21 -0700, Luis R. Rodriguez wrote: > The kernel solution to this uses an internal kernel variables to > prefix flags for the linker, Can't we just figure out how the kernel derives that variable and do the same? After all, the kernel doesn't do magic ... not more than we do in backports anyway :) johannes ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: failure to build backports on ubuntu 2014-10-29 8:02 ` Johannes Berg @ 2014-10-29 8:23 ` Luis R. Rodriguez 0 siblings, 0 replies; 9+ messages in thread From: Luis R. Rodriguez @ 2014-10-29 8:23 UTC (permalink / raw) To: Johannes Berg; +Cc: Grumbach, Emmanuel, backports@vger.kernel.org On Wed, Oct 29, 2014 at 1:02 AM, Johannes Berg <johannes@sipsolutions.net> wrote: > On Tue, 2014-10-28 at 13:21 -0700, Luis R. Rodriguez wrote: > >> The kernel solution to this uses an internal kernel variables to >> prefix flags for the linker, > > Can't we just figure out how the kernel derives that variable and do the > same? I had and it relies on an internal practice on flags, I don't recall the details but I remember determining we'd have to do a major hack of our own. > After all, the kernel doesn't do magic ... not more than we do in > backports anyway :) I actually think this is a linker bug... but too lazy to prove it other than my commit log on it. Luis ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2014-10-29 8:23 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-10-28 17:08 failure to build backports on ubuntu Grumbach, Emmanuel 2014-10-28 18:31 ` Luis R. Rodriguez 2014-10-28 20:07 ` Grumbach, Emmanuel 2014-10-28 20:21 ` Luis R. Rodriguez 2014-10-29 6:57 ` Grumbach, Emmanuel 2014-10-29 7:16 ` Luis R. Rodriguez 2014-10-29 7:18 ` Grumbach, Emmanuel 2014-10-29 8:02 ` Johannes Berg 2014-10-29 8:23 ` Luis R. Rodriguez
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox