[CUWiN-Dev] hsls_client_api.o in etx/Makefile?

Bryan Cribbs bdcribbs at ojctech.com
Mon Feb 21 16:15:16 CST 2005


Looks like hsls_client_api was moved to hsls_client_local in r2734.
This should fix it:

Index: Makefile
===================================================================
--- Makefile    (revision 2820)
+++ Makefile    (revision 2821)
@@ -18,7 +18,7 @@
 CPPFLAGS+=-g -std=c99 -pedantic -Wall
 CPPFLAGS+=-DDEBUG -Werror
 CPPFLAGS+=-DDIAGNOSTIC
-LDFLAGS+=${LIBHSLS}/hsls_client_api.o
+LDFLAGS+=${LIBHSLS}/hsls_client_local.o
 LDADD+=-L${LIBPACK} -lpack
 LDADD+=-L${LIBMISC} -lmisc
 LDADD+=-L${LIBSSRV} -lssrv



* Bill Comisky <bcomisky at pobox.com> :
> On Fri, 18 Feb 2005, David Young wrote:
> 
> >On Fri, Feb 18, 2005 at 04:46:20PM -0600, David Young wrote:
> >>On Fri, Feb 18, 2005 at 04:37:09PM -0600, Bill Comisky wrote:
> >>>
> >>>Should this line be in the etx/Makefile?
> >>>
> >>>LDFLAGS+=${LIBHSLS}/hsls_client_api.o
> >>>
> >>>If I leave it in I get a 'No such file or directory' error for
> >>>hsls_client_api.o (see below).
> >>
> >>That looks right to me.
> >>
> >
> >I mean, your LDFLAGS line looks right, not the error. :-)
> 
> I deleted my build directory and recompiled everything (without -u -o 
> options).  hsls_client_api.o is not getting built.  I'm not even sure 
> where it would get built from, as I have no hsls_client_api.c, just a .h 
> file.
> 
> The output from the 'modules' step is at the bottom.  Below is a listing 
> of my src/hsls directory and my build/Z/hsls directory where it looks for 
> hsls_client_api.o:
> 
> -bash-2.05b$ ls -a /usr/local/cuwin/svkrepo/src/hsls/
> ./                       hsls_interface.c         hsls_pkt.h
> ../                      hsls_interface.h         hsls_router.c
> .gdbinit                 hsls_ls.c                hsls_router.h
> CREDITS                  hsls_ls.h                hsls_rtable.c
> Makefile                 hsls_ls_bpl.c            hsls_rtable.h
> README                   hsls_ls_bpl.h            hsls_server.c
> hsls.c                   hsls_ls_net.h            hsls_server.h
> hsls.h                   hsls_ls_opq.h            hsls_spf.c
> hsls_client_api.h        hsls_ls_rtr.c            hsls_spf.h
> hsls_client_local.c      hsls_ls_rtr.h            main.c
> hsls_client_remote.c     hsls_metrics.c           mtab.h
> hsls_client_remote.h     hsls_metrics.h           test-hslsd*
> hsls_extensions.c        hsls_msg.h
> hsls_extensions.h        hsls_pkt.c
> 
> -bash-2.05b$  ls /usr/local/cuwin/build/Z/hsls
> .depend                hsls_extensions.o  hsls_ls_rtr.o    hsls_rtable.o
> hsls.d                 hsls_interface.d   hsls_metrics.d   hsls_server.d
> hsls.o                 hsls_interface.o   hsls_metrics.o   hsls_server.o
> hsls_client_local.d    hsls_ls.d          hsls_pkt.d       hsls_spf.d
> hsls_client_local.o    hsls_ls.o          hsls_pkt.o       hsls_spf.o
> hsls_client_remote.d   hsls_ls_bpl.d      hsls_router.d    hslsd*
> hsls_client_remote.o   hsls_ls_bpl.o      hsls_router.o    main.d
> hsls_extensions.d      hsls_ls_rtr.d      hsls_rtable.d    main.o
> 
> What am I missing? This is revision 2820 by the way.
> 
> Bill
> 
> -----------------------------------------------------------------------
> 
> ./mkstaboot -C /usr/local/cuwin/svkrepo/src/boot-image/config/cuw_config -P 
> /usr/local/cuwin/svkrepo/src/boot-image/config/pwds -b 
> /usr/local/cuwin/build -s /usr/local/src/cuwin-0.5.5-src-netbsd/src -u -o 
> -U /usr/local/cuwin/images/cuwin-0.5.5.2425.tar.gz modules
> mkstaboot: will write an upgrade tar to 
> /usr/local/cuwin/images/cuwin-0.5.5.2425.tar.gz
> mkstaboot: skipped step 'tools'
> mkstaboot: begin step 'toolenv'
> mkstaboot: finished step 'toolenv'
> mkstaboot: begin step 'makewrapperenv'
> mkstaboot: finished step 'makewrapperenv'
> mkstaboot: skipped step 'distrib'
> mkstaboot: skipped step 'metalog'
> mkstaboot: skipped step 'patch'
> mkstaboot: skipped step 'makewrapper'
> mkstaboot: skipped step 'mv-root-home'
> mkstaboot: skipped step 'flash-kernel'
> mkstaboot: skipped step 'extras'
> mkstaboot: skipped step 'users'
> mkstaboot: begin step 'modules'
> running builtin_19200_ttys depend
> running builtin_permanent depend
> running builtin_scripts depend
> running builtin_tools_daemons depend
> depend ===> quagga
> depend ===> quagga/lib
> depend ===> quagga/ospfd
> depend ===> quagga/zebra
> depend ===> iswlan
> depend ===> netwdog
> depend ===> misc
> depend ===> pool
> depend ===> pathstate
> depend ===> arithmetic
> depend ===> log
> depend ===> pack
> depend ===> ssrv
> depend ===> ipschema
> depend ===> ipschema/dotquad
> depend ===> ipschema/intip
> depend ===> ipschema/masklen
> depend ===> cxn
> depend ===> rib
> depend ===> hsls
> depend ===> etx
> depend ===> jpeg
> depend ===> libpng
> depend ===> gd
> depend ===> thttpd
> depend ===> viz
> depend ===> viz/conf
> depend ===> viz/parser
> depend ===> viz/rv
> depend ===> viz/test
> depend ===> viz/daemon
> depend ===> viz/tile
> running builtin_19200_ttys build
> running builtin_permanent build
> running builtin_scripts build
> running builtin_tools_daemons build
> all ===> quagga
> all ===> quagga/lib
> all ===> quagga/ospfd
> all ===> quagga/zebra
> all ===> iswlan
> all ===> netwdog
> all ===> misc
> all ===> pool
> all ===> pathstate
> all ===> arithmetic
> all ===> log
> all ===> pack
> all ===> ssrv
> all ===> ipschema
> all ===> ipschema/dotquad
> all ===> ipschema/intip
> all ===> ipschema/masklen
> all ===> cxn
> all ===> rib
> all ===> hsls
> all ===> etx
> #     build  etx/libetx.so.0.0
> rm -f libetx.so.0.0
> /usr/local/cuwin/build/T/bin/i386--netbsdelf-gcc -Wl,-nostdlib 
> -B/usr/local/cuwin/build/D/usr/lib/ -B/usr/local/cuwin/build/D/usr/lib/   
> -Wl,-rpath-link,/usr/local/cuwin/build/D/lib:/usr/local/cuwin/build/D/usr/lib  -L/usr/local/cuwin/build/D/lib  -Wl,-x -shared -Wl,-soname,libetx.so.0  /usr/local/cuwin/build/Z/hsls/hsls_client_api.o  -o libetx.so.0.0  -Wl,--whole-archive libetx_pic.a  -Wl,--no-whole-archive -L/usr/local/cuwin/build/Z/pack -lpack -L/usr/local/cuwin/build/Z/misc -lmisc -L/usr/local/cuwin/build/Z/ssrv -lssrv -L/usr/local/cuwin/build/Z/log -llog -L/usr/local/cuwin/build/Z/arithmetic -larithmetic   -L/usr/local/cuwin/build/D/usr/lib
> i386--netbsdelf-gcc: /usr/local/cuwin/build/Z/hsls/hsls_client_api.o: No 
> such file or directory
> 
> *** Failed target:  libetx.so.0.0
> *** Failed command: /usr/local/cuwin/build/T/bin/i386--netbsdelf-gcc 
> -Wl,-nostdlib -B/usr/local/cuwin/build/D/usr/lib/ 
> -B/usr/local/cuwin/build/D/usr/lib/ 
> -Wl,-rpath-link,/usr/local/cuwin/build/D/lib:/usr/local/cuwin/build/D/usr/lib -L/usr/local/cuwin/build/D/lib -Wl,-x -shared -Wl,-soname,libetx.so.0 /usr/local/cuwin/build/Z/hsls/hsls_client_api.o -o libetx.so.0.0 -Wl,--whole-archive libetx_pic.a -Wl,--no-whole-archive -L/usr/local/cuwin/build/Z/pack -lpack -L/usr/local/cuwin/build/Z/misc -lmisc -L/usr/local/cuwin/build/Z/ssrv -lssrv -L/usr/local/cuwin/build/Z/log -llog -L/usr/local/cuwin/build/Z/arithmetic -larithmetic -L/usr/local/cuwin/build/D/usr/lib
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /usr/local/cuwin/svkrepo/src/etx
> 
> *** Failed target:  all-etx
> *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; 
> case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
> real="/usr/local/cuwin/svkrepo/src" ;; *) this="${dir}/"; 
> real="/usr/local/cuwin/svkrepo/src/${dir}" ;; esac; show=${this:-.}; echo 
> "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && 
> /usr/local/cuwin/build/T/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; 
> _makedirtarget etx all
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /usr/local/cuwin/svkrepo/src
> _______________________________________________
> CU-Wireless-Dev mailing list
> CU-Wireless-Dev at lists.cuwireless.net
> http://lists.chambana.net/cgi-bin/listinfo/cu-wireless-dev


More information about the CU-Wireless-Dev mailing list