NetBSD-Users archive

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

Link failure in regress/lib/libevent on amd64



Hi,

Running netbsd-5-0-RELEASE on amd64 building netbsd-5 as of today like
this

  cd /usr/src
  ./build.sh -O ../obj -T ../tools -U -u tools
  ./build.sh -O ../obj -T ../tools -U -u distribution

gives

--8<---------------cut here---------------start------------->8---
#   compile  libevent/regress.o
/usr/src/../tools/bin/x86_64--netbsd-gcc -O2   -Werror   -DHAVE_CONFIG_H 
-I/usr/src/regress/lib/libevent/../../../lib/libevent -nostdinc -isystem 
/usr/src/../obj/destdir.amd64/usr/include   -c    
/usr/src/regress/lib/libevent/regress.c
#   compile  libevent/regress.gen.o
/usr/src/../tools/bin/x86_64--netbsd-gcc -O2   -Werror   -DHAVE_CONFIG_H 
-I/usr/src/regress/lib/libevent/../../../lib/libevent -nostdinc -isystem 
/usr/src/../obj/destdir.amd64/usr/include   -c    
/usr/src/regress/lib/libevent/regress.gen.c
#   compile  libevent/regress_dns.o
/usr/src/../tools/bin/x86_64--netbsd-gcc -O2   -Werror   -DHAVE_CONFIG_H 
-I/usr/src/regress/lib/libevent/../../../lib/libevent -nostdinc -isystem 
/usr/src/../obj/destdir.amd64/usr/include   -c    
/usr/src/regress/lib/libevent/regress_dns.c
#   compile  libevent/regress_http.o
/usr/src/../tools/bin/x86_64--netbsd-gcc -O2   -Werror   -DHAVE_CONFIG_H 
-I/usr/src/regress/lib/libevent/../../../lib/libevent -nostdinc -isystem 
/usr/src/../obj/destdir.amd64/usr/include   -c    
/usr/src/regress/lib/libevent/regress_http.c
#   compile  libevent/regress_rpc.o
/usr/src/../tools/bin/x86_64--netbsd-gcc -O2   -Werror   -DHAVE_CONFIG_H 
-I/usr/src/regress/lib/libevent/../../../lib/libevent -nostdinc -isystem 
/usr/src/../obj/destdir.amd64/usr/include   -c    
/usr/src/regress/lib/libevent/regress_rpc.c
#      link  libevent/eventtest
/usr/src/../tools/bin/x86_64--netbsd-gcc  
-B/usr/src/../obj/destdir.amd64/usr/lib/ 
-B/usr/src/../obj/destdir.amd64/usr/lib/  -Wl,-nostdlib        -o eventtest  
regress.o regress.gen.o regress_dns.o regress_http.o regress_rpc.o -levent      
 -L/usr/src/../obj/destdir.amd64/usr/lib   
-Wl,-rpath-link,/usr/src/../obj/destdir.amd64/lib  
-L/usr/src/../obj/destdir.amd64/lib 
-Wl,-rpath-link,/usr/src/../obj/destdir.amd64/usr/lib  
-L/usr/src/../obj/destdir.amd64/usr/lib
regress_http.o: In function `http_readcb':
regress_http.c:(.text+0x2d4): undefined reference to `evhttp_parse_lines'
collect2: ld returned 1 exit status

 *** Failed target:  eventtest
 *** Failed command: /usr/src/../tools/bin/x86_64--netbsd-gcc 
-B/usr/src/../obj/destdir.amd64/usr/lib/ 
-B/usr/src/../obj/destdir.amd64/usr/lib/ -Wl,-nostdlib -o eventtest regress.o 
regress.gen.o regress_dns.o regress_http.o regress_rpc.o -levent 
-L/usr/src/../obj/destdir.amd64/usr/lib 
-Wl,-rpath-link,/usr/src/../obj/destdir.amd64/lib 
-L/usr/src/../obj/destdir.amd64/lib 
-Wl,-rpath-link,/usr/src/../obj/destdir.amd64/usr/lib 
-L/usr/src/../obj/destdir.amd64/usr/lib
 *** Error code 1

Stop.
nbmake: stopped in /usr/src/regress/lib/libevent
--8<---------------cut here---------------end--------------->8---

Ideas?

Thanks,
Linus


Home | Main Index | Thread Index | Old Index