NetBSD-Bugs archive

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

xsrc/42856: Cannot build xfs w/o INET6



>Number:         42856
>Category:       xsrc
>Synopsis:       Cannot build xfs w/o INET6
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 21 00:40:01 +0000 2010
>Originator:     Scott Ellis
>Release:        amd64-current (5.99.24)
>Organization:
>Environment:
NetBSD intrepid 5.99.24 NetBSD 5.99.24 (INTREPID.P5W) #1: Sun Jan 31 08:12:17 
PST 2010  
scotte@intrepid:/nbu/source/netbsd/src/obj.amd64/nbu/source/netbsd/src/sys/arch/amd64/compile/INTREPID.P5W
 amd64

>Description:
Building with MKINET6=no fails in xfstrans.c with:

#      link  xfs/xfs
/nbu/data/scotte/netbsd_build/amd64/tooldir/bin/x86_64--netbsd-gcc  -B/nbu/data/
scotte/netbsd_build/amd64/destdir/usr/lib/ -B/nbu/data/scotte/netbsd_build/amd64
/destdir/usr/lib/  -Wl,-nostdlib   -Wl,-rpath-link,/nbu/data/scotte/netbsd_build
/amd64/destdir/usr/X11R7/lib  -R/usr/X11R7/lib  -L/nbu/data/scotte/netbsd_build/
amd64/destdir/usr/X11R7/lib     -o xfs  atom.o cache.o charinfo.o difsutils.o di
spatch.o events.o extensions.o fontinfo.o fonts.o globals.o initfonts.o main.o r
esource.o swaprep.o swapreq.o tables.o access.o config.o connection.o daemon.o e
rror.o io.o osglue.o osinit.o utils.o waitfor.o xfstrans.o -lXfont -lfontenc -lX
fontcache -lXext -lX11 -lfreetype -lm -lz      -L/nbu/data/scotte/netbsd_build/a
md64/destdir/usr/lib   -Wl,-rpath-link,/nbu/data/scotte/netbsd_build/amd64/destd
ir/lib  -L/nbu/data/scotte/netbsd_build/amd64/destdir/lib -Wl,-rpath-link,/nbu/d
ata/scotte/netbsd_build/amd64/destdir/usr/lib  -L/nbu/data/scotte/netbsd_build/a
md64/destdir/usr/lib
xfstrans.o: In function `_FontTransSocketINETCreateListener':
xfstrans.c:(.text+0x2ddc): undefined reference to `in6addr_any'
xfstrans.c:(.text+0x2de8): undefined reference to `in6addr_any'
collect2: ld returned 1 exit status
*** [xfs] Error code 1

I don't pretend to understand the function name munging that goes, and don't 
see anything obvious where INET6 is being used without an ifdef.
>How-To-Repeat:
Build -current with MKINET6=no
>Fix:



Home | Main Index | Thread Index | Old Index