* [Buildroot] [PATCH 1/3] nfs-utils: needs mmu
@ 2013-10-02 5:49 Axel Lin
2013-10-02 5:50 ` [Buildroot] [PATCH 2/3] lmbench: " Axel Lin
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Axel Lin @ 2013-10-02 5:49 UTC (permalink / raw)
To: buildroot
Fix below build error:
mountd-mountd.o: In function `main':
mountd.c:(.text+0x1264): undefined reference to `fork'
mountd.c:(.text+0x1320): undefined reference to `fork'
mountd-rmtab.o: In function `ha_callout':
rmtab.c:(.text+0xa8): undefined reference to `fork'
collect2: ld returned 1 exit status
make[3]: *** [mountd] Error 1
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
package/nfs-utils/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/nfs-utils/Config.in b/package/nfs-utils/Config.in
index 8f61f2b..6ba2f70 100644
--- a/package/nfs-utils/Config.in
+++ b/package/nfs-utils/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_NFS_UTILS
depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS # libtirpc
select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
depends on BR2_LARGEFILE
+ depends on BR2_USE_MMU # fork()
help
The NFS Linux kernel server.
Warning: We do not force largefile support on here on purpose.
--
1.8.1.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/3] lmbench: needs mmu
2013-10-02 5:49 [Buildroot] [PATCH 1/3] nfs-utils: needs mmu Axel Lin
@ 2013-10-02 5:50 ` Axel Lin
2013-10-02 7:34 ` Peter Korsgaard
2013-10-02 5:51 ` [Buildroot] [PATCH 3/3] netkitbase: " Axel Lin
2013-10-02 7:34 ` [Buildroot] [PATCH 1/3] nfs-utils: " Peter Korsgaard
2 siblings, 1 reply; 6+ messages in thread
From: Axel Lin @ 2013-10-02 5:50 UTC (permalink / raw)
To: buildroot
Fix below build error:
./tmp./bin/arm/lmbench.a(lib_timing.o): In function `benchmp':
lib_timing.c:(.text+0x34fc): undefined reference to `fork'
collect2: ld returned 1 exit status.
./bin/arm/lmbench.a(lib_tcp.o): In function `tcp_connect/'cc8Ta2C2.o: Inmake[2]: function `*** [../bin/arm/bw_file_rd] Error 1
initialize':
lib_tcp.c:make[2]: (.text+0x208): warning: gethostbyname*** Waiting for unfinished jobs....
is obsolescent, use: getnameinfo
bw_pipe.c(): (instead..text
/+tmp0x134/)cc5yg1Q2.o: :undefined In referencefunction to`server_main `'fork:
'bw_tcp.c
.:.(./textbin+/0x298arm)/:lmbench.a (undefinedlib_timing.o )reference: Into function`fork '`
benchmp/'tmp:/
cc5yg1Q2.olib_timing.c:: (In.text function+0x34fc `)main: 'undefined:
bw_tcp.creference: (to. text`fork+0x370'
)collect2: : undefined reference to `fork'
../bin/armld returned 1 exit status/lmbench.a(lib_timing.o): In function
`benchmp':
lib_timing.c:(.text+0x34fc): undefined reference to `fork'
collect2: ld returned 1 exit status
make[2]: *** [../bin/arm/bw_pipe] Error 1
make[2]: *** [../bin/arm/bw_tcp] Error 1
../bin/arm/lmbench.a(lib_timing.o): In function `benchmp':
lib_timing.c:(.text+0x34fc): undefined reference to `fork'
collect2: ld returned 1 exit status
make[2]: *** [../bin/arm/bw_mmap_rd] Error 1
../bin/arm/lmbench.a(lib_timing.o): In function `benchmp':
lib_timing.c:(.text+0x34fc): undefined reference to `fork'
collect2: ld returned 1 exit status
make[2]: *** [../bin/arm/bw_mem] Error 1
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
package/lmbench/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/lmbench/Config.in b/package/lmbench/Config.in
index c7b656c..d0a23ad 100644
--- a/package/lmbench/Config.in
+++ b/package/lmbench/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_LMBENCH
bool "lmbench"
depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS # libtirpc
select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
+ depends on BR2_USE_MMU # fork()
help
LMbench is a suite of simple, portable,
ANSI/C microbenchmarks for UNIX/POSIX.
--
1.8.1.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 3/3] netkitbase: needs mmu
2013-10-02 5:49 [Buildroot] [PATCH 1/3] nfs-utils: needs mmu Axel Lin
2013-10-02 5:50 ` [Buildroot] [PATCH 2/3] lmbench: " Axel Lin
@ 2013-10-02 5:51 ` Axel Lin
2013-10-02 7:35 ` Peter Korsgaard
2013-10-02 7:34 ` [Buildroot] [PATCH 1/3] nfs-utils: " Peter Korsgaard
2 siblings, 1 reply; 6+ messages in thread
From: Axel Lin @ 2013-10-02 5:51 UTC (permalink / raw)
To: buildroot
Fix below build error:
/opt/test/buildroot/buildroot/output/host/usr/bin/arm-buildroot-uclinux-uclibcgnueabi-gcc inetd.o servtab.o builtins.o sig.o daemon.o setproctitle.o mysleep.o -o inetd
servtab.o: In function `loadconfigfile.clone.0':
servtab.c:(.text+0x98c): warning: gethostbyname is obsolescent, use getnameinfo() instead.
inetd.o: In function `main':
inetd.c:(.text+0x8a4): undefined reference to `fork'
inetd.c:(.text+0x974): undefined reference to `fork'
daemon.o: In function `daemon':
daemon.c:(.text+0xc): undefined reference to `fork'
collect2: ld returned 1 exit status
make[2]: *** [inetd] Error 1
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
package/netkitbase/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/netkitbase/Config.in b/package/netkitbase/Config.in
index dd9166c..40833ad 100644
--- a/package/netkitbase/Config.in
+++ b/package/netkitbase/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_NETKITBASE
bool "netkitbase"
depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
+ depends on BR2_USE_MMU # fork()
depends on BR2_DEPRECATED
help
Old-style inetd.
--
1.8.1.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/3] nfs-utils: needs mmu
2013-10-02 5:49 [Buildroot] [PATCH 1/3] nfs-utils: needs mmu Axel Lin
2013-10-02 5:50 ` [Buildroot] [PATCH 2/3] lmbench: " Axel Lin
2013-10-02 5:51 ` [Buildroot] [PATCH 3/3] netkitbase: " Axel Lin
@ 2013-10-02 7:34 ` Peter Korsgaard
2 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2013-10-02 7:34 UTC (permalink / raw)
To: buildroot
>>>>> "Axel" == Axel Lin <axel.lin@ingics.com> writes:
Axel> Fix below build error:
Axel> mountd-mountd.o: In function `main':
Axel> mountd.c:(.text+0x1264): undefined reference to `fork'
Axel> mountd.c:(.text+0x1320): undefined reference to `fork'
Axel> mountd-rmtab.o: In function `ha_callout':
Axel> rmtab.c:(.text+0xa8): undefined reference to `fork'
Axel> collect2: ld returned 1 exit status
Axel> make[3]: *** [mountd] Error 1
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/3] lmbench: needs mmu
2013-10-02 5:50 ` [Buildroot] [PATCH 2/3] lmbench: " Axel Lin
@ 2013-10-02 7:34 ` Peter Korsgaard
0 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2013-10-02 7:34 UTC (permalink / raw)
To: buildroot
>>>>> "Axel" == Axel Lin <axel.lin@ingics.com> writes:
Axel> Fix below build error:
Axel> ./tmp./bin/arm/lmbench.a(lib_timing.o): In function `benchmp':
Axel> lib_timing.c:(.text+0x34fc): undefined reference to `fork'
Axel> collect2: ld returned 1 exit status.
Axel> ./bin/arm/lmbench.a(lib_tcp.o): In function `tcp_connect/'cc8Ta2C2.o: Inmake[2]: function `*** [../bin/arm/bw_file_rd] Error 1
Axel> initialize':
Axel> lib_tcp.c:make[2]: (.text+0x208): warning: gethostbyname*** Waiting for unfinished jobs....
Axel> is obsolescent, use: getnameinfo
Axel> bw_pipe.c(): (instead..text
Axel> /+tmp0x134/)cc5yg1Q2.o: :undefined In referencefunction to`server_main `'fork:
Axel> 'bw_tcp.c
Axel> .:.(./textbin+/0x298arm)/:lmbench.a (undefinedlib_timing.o )reference: Into function`fork '`
Axel> benchmp/'tmp:/
Axel> cc5yg1Q2.olib_timing.c:: (In.text function+0x34fc `)main: 'undefined:
Axel> bw_tcp.creference: (to. text`fork+0x370'
Axel> )collect2: : undefined reference to `fork'
Axel> ../bin/armld returned 1 exit status/lmbench.a(lib_timing.o): In function
Axel> `benchmp':
Axel> lib_timing.c:(.text+0x34fc): undefined reference to `fork'
Axel> collect2: ld returned 1 exit status
Axel> make[2]: *** [../bin/arm/bw_pipe] Error 1
Axel> make[2]: *** [../bin/arm/bw_tcp] Error 1
Axel> ../bin/arm/lmbench.a(lib_timing.o): In function `benchmp':
Axel> lib_timing.c:(.text+0x34fc): undefined reference to `fork'
Axel> collect2: ld returned 1 exit status
Axel> make[2]: *** [../bin/arm/bw_mmap_rd] Error 1
Axel> ../bin/arm/lmbench.a(lib_timing.o): In function `benchmp':
Axel> lib_timing.c:(.text+0x34fc): undefined reference to `fork'
Axel> collect2: ld returned 1 exit status
Axel> make[2]: *** [../bin/arm/bw_mem] Error 1
The error message looks a bit messed up (parallel make?), but ok -
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 3/3] netkitbase: needs mmu
2013-10-02 5:51 ` [Buildroot] [PATCH 3/3] netkitbase: " Axel Lin
@ 2013-10-02 7:35 ` Peter Korsgaard
0 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2013-10-02 7:35 UTC (permalink / raw)
To: buildroot
>>>>> "Axel" == Axel Lin <axel.lin@ingics.com> writes:
Axel> Fix below build error:
Axel> /opt/test/buildroot/buildroot/output/host/usr/bin/arm-buildroot-uclinux-uclibcgnueabi-gcc inetd.o servtab.o builtins.o sig.o daemon.o setproctitle.o mysleep.o -o inetd
Axel> servtab.o: In function `loadconfigfile.clone.0':
Axel> servtab.c:(.text+0x98c): warning: gethostbyname is obsolescent, use getnameinfo() instead.
Axel> inetd.o: In function `main':
Axel> inetd.c:(.text+0x8a4): undefined reference to `fork'
Axel> inetd.c:(.text+0x974): undefined reference to `fork'
Axel> daemon.o: In function `daemon':
Axel> daemon.c:(.text+0xc): undefined reference to `fork'
Axel> collect2: ld returned 1 exit status
Axel> make[2]: *** [inetd] Error 1
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-10-02 7:35 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-02 5:49 [Buildroot] [PATCH 1/3] nfs-utils: needs mmu Axel Lin
2013-10-02 5:50 ` [Buildroot] [PATCH 2/3] lmbench: " Axel Lin
2013-10-02 7:34 ` Peter Korsgaard
2013-10-02 5:51 ` [Buildroot] [PATCH 3/3] netkitbase: " Axel Lin
2013-10-02 7:35 ` Peter Korsgaard
2013-10-02 7:34 ` [Buildroot] [PATCH 1/3] nfs-utils: " Peter Korsgaard
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.