[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#436332: lcd4linux: FTBFS: undefined reference to `rdtscl'

clone 436332 -1
reassign -1 linux-libc-dev 2.6.22-3
retitle -1 linux-libc-dev: missing definition of rdtscl [linux-kernel-headers regression]
block 436332 by -1


> > Relevant part:
> > gcc -D_GNU_SOURCE -Wall -W -fno-strict-aliasing -g -O2   -o lcd4linux  lcd4linux.o cfg.o debug.o drv.o drv_generic.o evaluator.o property.o hash.o layout.o pid.o timer.o thread.o udelay.o qprintf.o rgb.o widget.o widget_text.o widget_bar.o widget_icon.o widget_keypad.o widget_timer.o widget_gpo.o plugin.o plugin_cfg.o plugin_math.o plugin_string.o plugin_test.o plugin_time.o drv_BeckmannEgle.o drv_BWCT.o drv_Crystalfontz.o drv_Curses.o drv_Cwlinux.o drv_EA232graphic.o drv_G15.o drv_HD44780.o drv_LCD2USB.o drv_LCDTerm.o drv_LEDMatrix.o drv_LPH7508.o drv_M50530.o drv_MatrixOrbital.o drv_MilfordInstruments.o drv_Noritake.o drv_NULL.o drv_picoLCD.o drv_RouterBoard.o drv_Sample.o drv_SimpleLCD.o drv_T6963.o drv_Trefon.o drv_USBHUB.o drv_USBLCD.o drv_WincorNixdorf.o drv_X11.o drv_Image.o drv_generic_text.o drv_generic_graphic.o widget_image.o drv_generic_gpio.o drv_generic_parport.o drv_generic_serial.o drv_generic_i2c.o drv_generic_keypad.o  plugin_apm.o plugin_cpuinfo.o plugin_diskstats.o plugin_dvb.o plugin_exec.o plugin_file.o plugin_i2c_sensors.o plugin_iconv.o plugin_imon.o plugin_isdn.o plugin_kvv.o plugin_loadavg.o plugin_meminfo.o plugin_mpd.o plugin_mysql.o plugin_netdev.o plugin_pop3.o plugin_ppp.o plugin_proc_stat.o plugin_python.o plugin_sample.o plugin_seti.o plugin_statfs.o plugin_uname.o plugin_uptime.o plugin_wireless.o plugin_xmms.o  -lncurses -lX11 -lgd -lusb   -lmpd -lmysqlclient -L/usr/lib/python2.4 -lpython2.4  -lpthread -ldl  -lutil -lm 
> > udelay.o: In function `ndelay':
> > /build/user/lcd4linux-0.10.1~rc2/udelay.c:184: undefined reference to `rdtscl'
> > /build/user/lcd4linux-0.10.1~rc2/udelay.c:187: undefined reference to `rdtscl'
> > collect2: ld returned 1 exit status
> > make[2]: *** [lcd4linux] Error 1
rdtscl is not defined anywhere except in /usr/include/asm-x86_64/msr.h.

I would have expected it to be defined on i386 when asm/msr.h is included.

Thank you,
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |

Reply to: