So I had a go at building Sparc32 again with T2 the build fails at udev in
stage 1.
From what I understand the header that defines this since we are using dietlibc
right?
/build/sparc-9.0-trunk-generic-sparc-v7-linux/usr/dietlibc/include/sys/inotify.h
I also tried declaring the functions extern but that didn't work and failed
with the same error. From what I understand the kernel is supposed to provide
that but it isn't built yet but the headers should be there.. so.
Any ideas?
Thanks,
Chase Rayfield
CCLD udev/udevd
/root/haiku/t2-trunk/build/sparc-9.0-trunk-generic-sparc-v7-linux/usr/dietlibc/lib-sparc/libc.a(sprintf.o):
In function `sprintf':
sprintf.c:(.text+0x20): warning: warning: Avoid *sprintf; use *snprintf. It is
more secure.
libudev/.libs/libudev-private.a(libudev-queue-private.o): In function
`rebuild_queue_file':
libudev-queue-private.c:(.text+0x434): warning: warning: your code uses stdio
(7+k bloat).
/root/haiku/t2-trunk/build/sparc-9.0-trunk-generic-sparc-v7-linux/usr/dietlibc/lib-sparc/libc.a(vsscanf.o):
In function `vsscanf':
vsscanf.c:(.text+0x88): warning: warning: the scanf functions add several
kilobytes of bloat.
/root/haiku/t2-trunk/build/sparc-9.0-trunk-generic-sparc-v7-linux/usr/dietlibc/lib-sparc/libc.a(vsnprintf.o):
In function `vsnprintf':
vsnprintf.c:(.text+0xb8): warning: warning: the printf functions add several
kilobytes of bloat.
udev/udev-watch.o: In function `udev_watch_begin':
udev-watch.c:(.text+0xb0): undefined reference to `inotify_add_watch'
udev-watch.c:(.text+0x16c): undefined reference to `inotify_add_watch'
udev/udev-watch.o: In function `udev_watch_end':
udev-watch.c:(.text+0x4a4): undefined reference to `inotify_rm_watch'
udev/udevd.o: In function `main':
udevd.c:(.text.startup+0xb2c): undefined reference to `inotify_add_watch'
udevd.c:(.text.startup+0x1c0c): undefined reference to `inotify_add_watch'
udevd.c:(.text.startup+0x1c20): undefined reference to `inotify_add_watch'
udevd.c:(.text.startup+0x1c8c): undefined reference to `inotify_add_watch'
/root/haiku/t2-trunk/build/sparc-9.0-trunk-generic-sparc-v7-linux/usr/dietlibc/lib-sparc/libc.a(inotify_init1.o):
In function `inotify_init1':
(.text+0x4): undefined reference to `__NR_inotify_init1'
/root/haiku/t2-trunk/build/sparc-9.0-trunk-generic-sparc-v7-linux/usr/dietlibc/lib-sparc/libc.a(inotify_init1.o):
In function `inotify_init1':
(.text+0x4): relocation truncated to fit: R_SPARC_13 against undefined symbol
`__NR_inotify_init1'
collect2: ld returned 1 exit status
make[2]: *** [udev/udevd] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Due to previous errors, no 1-udev.log file!
(Try enabling xtrace in the config to track an error inside the build system.)
--- BUILD ERROR ---
Creating file list and doing final adaptions ...
removed
`/root/haiku/t2-trunk/build/sparc-9.0-trunk-generic-sparc-v7-linux/lib/libudev.la'
Searching for orphaned files ...
Found 60 files for this package.
Found 11 orphaned files for this package.
Clear (old) md5sums ...
Creating md5sum files ... done.
Creating package description ...
Making post-install adaptions.
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2