Re: click trunk bsdmodule on FreeBSD 10.0-CURRENT HEAD

Eddie Kohler <[email protected]>
Newsgroups gmane.network.routing.click
Message-ID <CAF0C5S+c0nkfETMh1+qseV2bmBW59DHmJ3VCoMK2BsrNA0MuCg@mail.gmail.com>
Hey,

Can you send your bsdmodule/Makefile ? (Not the .in version.)

Eddie


On Fri, Nov 25, 2011 at 10:16 PM, Outback Dingo <[email protected]> wrote:
> seems FreeBSD 10.0-CURRENT HEAD doesnt appear to like -ffreestanding
> uname -a
> 10.0-CURRENT FreeBSD 10.0-CURRENT
>
> bsddev# make
> echo "bsdmodule  app aqm ethernet icmp ip standard tcpudp threads" |
> /usr/home/dingo/click/bsdmodule/..//click-buildtool findelem -r
> bsdmodule -p /usr/home/dingo/click/bsdmodule/../ -X
> /usr/home/dingo/click/bsdmodule/..//elements.exclude > elements.conf
> /usr/home/dingo/click/bsdmodule/..//click-buildtool elem2make --bsd <
> elements.conf > elements.mk
> /usr/home/dingo/click/bsdmodule/..//click-buildtool elem2export <
> elements.conf > elements.cc
> awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p
> awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q
> awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
> c++ -O2 -pipe -DCLICK_BSDMODULE -DHAVE_CONFIG_H -fno-strict-aliasing
> -Werror -D_KERNEL -DKLD_MODULE -nostdinc
> -I/usr/home/dingo/click/bsdmodule/..//include
> -I/usr/home/dingo/click/bsdmodule
> -I/usr/home/dingo/click/bsdmodule/../ -I. -I@ -I@/contrib/altq
> -finline-limit=8000 --param inline-unit-growth=100 --param
> large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer
> -mno-sse -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float
> -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
> -fstack-protector -Wall -Wredundant-decls -Wpointer-arith -Winline
> -Wcast-qual -Wundef -fformat-extensions -Wmissing-include-dirs
> -fdiagnostics-show-option -fpermissive -fno-exceptions -fno-rtti -c
> /usr/home/dingo/click/bsdmodule/..//lib/string.cc
> cc1plus: warnings being treated as errors
> cc1plus: warning: command line option "-ffreestanding" is valid for
> C/ObjC but not for C++
> *** Error code 1
>
> Stop in /usr/home/dingo/click/bsdmodule.
> _______________________________________________
> click mailing list
> [email protected]
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click

_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.