All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 617] New: netkit/inetd requires RPC and fails to build if RPC is disabled
Date: Fri, 18 Sep 2009 21:53:34 +0000 (UTC)	[thread overview]
Message-ID: <bug-617-163@https.bugs.busybox.net/> (raw)

https://bugs.busybox.net/show_bug.cgi?id=617

            Target: arm-eabi
             Build: buildroot-2009.08
           Summary: netkit/inetd requires RPC and fails to build if RPC is
                    disabled
           Product: buildroot
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: sethml at ofb.net
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Created an attachment (id=659)
 --> (https://bugs.busybox.net/attachment.cgi?id=659)
'make menuconfig' results which cause bug

I just tried to build with RPC disabled, and got the following error.  I'm not
sure why it was trying to build netkit-base - perhaps because I was building
netkit-telnet.  It should certainly be possible to build a telnet client, and
probably possible to build a telnet server, without RPC.  My .config is
attached.

make[2]: Entering directory
`/home/seth/buildroot-2009.08/build_arm/netkit-base-0.17/inetd'
/home/seth/buildroot-2009.08/build_arm/staging_dir/usr/bin/arm-linux-uclibcgnueabi-gcc
-O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline  inetd.c -c
inetd.c: In function 'exec_child':
inetd.c:380: warning: comparison between signed and unsigned
inetd.c: In function 'setup':
inetd.c:873: warning: too many arguments for format
inetd.c:892: warning: too many arguments for format
inetd.c: In function 'register_rpc':
inetd.c:942: warning: too many arguments for format
inetd.c: In function 'bump_nofile':
inetd.c:1026: warning: comparison between signed and unsigned
inetd.c:1029: warning: format '%d' expects type 'int', but argument 3 has type
'rlim_t'
/home/seth/buildroot-2009.08/build_arm/staging_dir/usr/bin/arm-linux-uclibcgnueabi-gcc
-O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline  servtab.c -c
/home/seth/buildroot-2009.08/build_arm/staging_dir/usr/bin/arm-linux-uclibcgnueabi-gcc
-O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline  builtins.c -c
/home/seth/buildroot-2009.08/build_arm/staging_dir/usr/bin/arm-linux-uclibcgnueabi-gcc
-O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline  sig.c -c
/home/seth/buildroot-2009.08/build_arm/staging_dir/usr/bin/arm-linux-uclibcgnueabi-gcc
-O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline  daemon.c -c
/home/seth/buildroot-2009.08/build_arm/staging_dir/usr/bin/arm-linux-uclibcgnueabi-gcc
-O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline  setproctitle.c -c
/home/seth/buildroot-2009.08/build_arm/staging_dir/usr/bin/arm-linux-uclibcgnueabi-gcc
-O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline  mysleep.c -c
/home/seth/buildroot-2009.08/build_arm/staging_dir/usr/bin/arm-linux-uclibcgnueabi-gcc
 inetd.o servtab.o builtins.o sig.o daemon.o setproctitle.o mysleep.o  -o inetd
inetd.o: In function `unregister_rpc':
inetd.c:(.text+0x84): undefined reference to `pmap_unset'
inetd.c:(.text+0xc8): undefined reference to `pmap_unset'
inetd.o: In function `register_rpc':
inetd.c:(.text+0x174): undefined reference to `pmap_unset'
inetd.c:(.text+0x198): undefined reference to `pmap_set'
servtab.o: In function `loadconfigent':
servtab.c:(.text+0xe60): undefined reference to `getrpcbyname'
collect2: ld returned 1 exit status
make[2]: *** [inetd] Error 1
make[2]: Leaving directory
`/home/seth/buildroot-2009.08/build_arm/netkit-base-0.17/inetd'
make[1]: *** [inetd.build] Error 2
make[1]: Leaving directory
`/home/seth/buildroot-2009.08/build_arm/netkit-base-0.17'
make: *** [/home/seth/buildroot-2009.08/build_arm/netkit-base-0.17/inetd/inetd]
Error 2


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

             reply	other threads:[~2009-09-18 21:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-18 21:53 bugzilla at busybox.net [this message]
2009-09-18 22:38 ` [Buildroot] [Bug 617] netkit/inetd requires RPC and fails to build if RPC is disabled bugzilla at busybox.net
2009-09-19  7:50 ` bugzilla at busybox.net
2009-09-19 15:37 ` bugzilla at busybox.net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-617-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.