Current-Users archive

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

src/sys/dev/putter/putter.c:591: undefined reference to `devsw_attach'



Hi,

trying to compile src/sys/rump/fs/bin/syspuffs fails due to:

     create  syspuffs/syspuffs.d
     create  syspuffs/.depend
    compile  syspuffs/syspuffs.o
       link  syspuffs/syspuffs
/u/NetBSD/arch/i386/obj/sys/rump/fs/lib/libsyspuffs/libsyspuffs.a(putter.o): In 
function `putter_modcmd':
/u/NetBSD/src/sys/dev/putter/putter.c:591: undefined reference to `devsw_attach'
/u/NetBSD/src/sys/dev/putter/putter.c:594: undefined reference to `devsw_detach'
collect2: ld returned 1 exit status

*** Failed target:  syspuffs
*** Failed command: /u/NetBSD/arch/i386/TOOLS/bin/i386--netbsdelf-gcc 
-Wl,-nostdlib -Wl,--wrap=malloc -Wl,--fatal-warnings -o syspuffs 
-Wl,-rpath-link,/u/NetBSD/arch/i386/dest/lib:/u/NetBSD/arch/i386/dest/usr/lib 
-L/u/NetBSD/arch/i386/dest/lib -B/u/NetBSD/arch/i386/dest/usr/lib/ 
-B/u/NetBSD/arch/i386/dest/usr/lib/ syspuffs.o 
-L/u/NetBSD/arch/i386/obj/sys/rump/fs/lib/libsyspuffs -Wl,--whole-archive 
-lsyspuffs -Wl,--no-whole-archive 
-L/u/NetBSD/arch/i386/obj/sys/rump/fs/lib/libp2k -Wl,--whole-archive -lp2k 
-Wl,--no-whole-archive -L/u/NetBSD/arch/i386/obj/sys/rump/fs/lib/libukfs 
-Wl,--whole-archive -lukfs -Wl,--no-whole-archive 
/u/NetBSD/arch/i386/dest/usr/lib/libutil.a 
/u/NetBSD/arch/i386/dest/usr/lib/libpuffs.a 
-L/u/NetBSD/arch/i386/obj/sys/rump/librump/rumpkern -Wl,--whole-archive -lrump 
-Wl,--no-whole-archive -lpthread -L/u/NetBSD/arch/i386/dest/usr/lib 
-L/u/NetBSD/arch/i386/dest/usr/lib
*** Error code 1

Stop.
nbmake: stopped in /u/NetBSD/src/sys/rump/fs/bin/syspuffs

*** Failed target:  dependall
*** Failed command: cd /u/NetBSD/src/sys/rump/fs/bin/syspuffs; 
/u/NetBSD/arch/i386/TOOLS/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /u/NetBSD/src/sys/rump/fs/bin/syspuffs

Kurt


Home | Main Index | Thread Index | Old Index