Current version of udev in lfs-development is 166.
In blfs, if gobject-introspection installed, then udev-164 compiles okay,
but versions 165 and 166 do not.
Error is:
/usr/src/core/udev/udev-166/tmp-introspectY1yvnr/GUdev-1.0.o:(.data+0xc):
undefined reference to `g_udev_enumerator_get_type'
collect2: ld returned 1 exit status
Traceback (most recent call last):
File "/usr/bin/g-ir-scanner", line 38, in <module>
sys.exit(scanner_main(sys.argv))
File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 317, in
scanner_main
glibtransformer.get_get_type_functions())
File "/usr/lib/gobject-introspection/giscanner/dumper.py", line 231, in
compile_introspection_binary
return dc.run()
File "/usr/lib/gobject-introspection/giscanner/dumper.py", line 132, in run
self._link(bin_path, o_path)
File "/usr/lib/gobject-introspection/giscanner/dumper.py", line 226, in _link
subprocess.check_call(args)
File "/usr/lib/python2.6/subprocess.py", line 488, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['libtool', '--mode=link', '--tag=CC',
'--silent', 'gcc', '-o',
'/usr/src/core/udev/udev-166/tmp-introspectY1yvnr/GUdev-1.0', '-L.',
'-lgudev-1.0', '-pthread', '-Wl,--export-dynamic', '-lgio-2.0',
'-lgirepository-1.0', '-lgobject-2.0', '-lgmodule-2.0', '-lffi',
'-lgthread-2.0', '-lrt', '-lglib-2.0',
'/usr/src/core/udev/udev-166/tmp-introspectY1yvnr/GUdev-1.0.o']' returned
non-zero exit status 1
make[2]: *** [extras/gudev/GUdev-1.0.gir] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
If use --disable-introspection, then both 165 and 166 compile without error.
I have gobject-introspection-0.6.14 installed.
I haven't tried messing with later versions of gobject-intro.
May be the book should say - use 164 if introspection installed or disable it
with later versions -
but then I don't know what introspection support udev provides, so disabling it
may mean the end
of the world for some people ;>)
jb.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page