=?GB2312?B?u9i4tDogTmV0d29ya01hbmFnZXIgYnVpbGQ=?= =?GB2312?B?IGVycm9yIGZvciBtaXBzIHBsYXRmb3Jt?=



hi steev,

Thanks for your reply.
But I tried libnl-1.0_pre6, problem is still existed. :(
Any other ideas?

BTW, see the error message,
/home/work/a8/pmp/work/linux-2.6.22/include/linux/calc64.h:23: error:
'u64' undeclared (first use in this function)
It's relative with kernel? Seems like I am missing some compiling
option or something?

Thanks!!
Alex

2008/1/3, Steev Klimaszewski <steev gentoo org>:
> NM 0.6.5 doesn't build against libnl-1.0_pre8 - try with pre6
> On Thu, 2008-01-03 at 15:49 +0800, alex z wrote:
> > Dear All,
> >
> > I am new to the ML. So, I don't know if here is the right place to
> > report the bug.  :)
> >
> > I am working to port NetworkManager-0.6.5 to my embedded linux
> > development board which based on MIPS platform.
> > I got an error when I am compiling NM-0.65.  Full build log and
> > config.log please see the attached file: log.tar.bz2 (sorry, they are
> > too big, so I have to compress them, otherwise I cannot send them to
> > ML, because ML's limit).
> >
> > Platform:
> > host: ubuntu 7.10    X86
> > target: mips platform
> > packages:
> > linux-2.6.22 for mips
> > libnl: 1.0-pre8
> > DBus: 1.0.22
> > GLIB: 2.12.12
> > DBus-glib 0.74
> > UDEV: 118
> > hal-0.5.10
> > expat-2.0.0
> >
> > I searched google to find some tips, but find nothing. So, can anybody
> > kindly give me some tips, Thanks so much for your help!!
> >
> > Partial build log is as below:
> >
> > if mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include
> > -I../src/named-manager -I../src/vpn-manager -I../src/dhcp-manager
> > -I../utils -I../libnm-util
> > -I/work/a8/pmp/work/mips_install/include/dbus-1.0
> > -I/work/a8/pmp/work/mips_install/lib/dbus-1.0/include
> > -DDBUS_VERSION_MAJOR=1 -DDBUS_VERSION_MINOR=1 -DDBUS_VERSION_MICRO=1
> > -I/work/a8/pmp/work/mips_install/include/glib-2.0
> > -I/work/a8/pmp/work/mips_install/lib/glib-2.0/include
> > -I/home/work/a8/pmp/work/mips_install/include/hal
> > -I/work/a8/pmp/work/mips_install/include
> > -DWPA_SUPPLICANT_BIN=\"/sbin/wpa_supplicant\"
> > -DDBUS_API_SUBJECT_TO_CHANGE -DG_DISABLE_DEPRECATED
> > -DBINDIR=\"/work/a8/pmp/work/mips_install/bin\"
> > -DSBINDIR=\"/work/a8/pmp/work/mips_install/sbin\"
> > -DLIBEXECDIR=\"/work/a8/pmp/work/mips_install/libexec\"
> > -DDATADIR=\"/work/a8/pmp/work/mips_install/share\"
> > -DSYSCONFDIR=\"/work/a8/pmp/work/mips_install/etc\"
> > -DLOCALSTATEDIR=\"/work/a8/pmp/work/mips_install/var\"
> > -DNM_RUN_DIR=\"/work/a8/pmp/work/mips_install/var/run/NetworkManager\"
> > -DGNOMELOCALEDIR=\"/work/a8/pmp/work/mips_install/share/locale\"
> > -DARP_DEBUG -I/home/work/a8/pmp/work/linux-2.6.22/include
> > -I/home/work/a8/pmp/work/wireless_tools_mips
> > -I/home/work/a8/pmp/work/mips_install/include  -g -O2 -MT
> > NetworkManager-NetworkManagerSystem.o -MD -MP -MF
> > ".deps/NetworkManager-NetworkManagerSystem.Tpo" \
> > 	  -c -o NetworkManager-NetworkManagerSystem.o `test -f
> > 'NetworkManagerSystem.c' || echo './'`NetworkManagerSystem.c; \
> > 	then mv -f ".deps/NetworkManager-NetworkManagerSystem.Tpo"
> > ".deps/NetworkManager-NetworkManagerSystem.Po"; \
> > 	else rm -f ".deps/NetworkManager-NetworkManagerSystem.Tpo"; exit 1; \
> > 	fi
> > In file included from
> > /home/work/a8/pmp/work/linux-2.6.22/include/linux/jiffies.h:4,
> >                  from
> /home/work/a8/pmp/work/linux-2.6.22/include/net/dst.h:14,
> >                  from
> > /home/work/a8/pmp/work/linux-2.6.22/include/net/route.h:27,
> >                  from NetworkManagerSystem.c:30:
> > /home/work/a8/pmp/work/linux-2.6.22/include/linux/calc64.h: In
> > function 'do_div_llr':
> > /home/work/a8/pmp/work/linux-2.6.22/include/linux/calc64.h:23: error:
> > 'u64' undeclared (first use in this function)
> > /home/work/a8/pmp/work/linux-2.6.22/include/linux/calc64.h:23: error:
> > (Each undeclared identifier is reported only once
> > /home/work/a8/pmp/work/linux-2.6.22/include/linux/calc64.h:23: error:
> > for each function it appears in.)
> > /home/work/a8/pmp/work/linux-2.6.22/include/linux/calc64.h:23: error:
> > expected ';' before 'result'
> > /home/work/a8/pmp/work/linux-2.6.22/include/linux/calc64.h:25: error:
> > 'result' undeclared (first use in this function)
> > In file included from
> > /home/work/a8/pmp/work/linux-2.6.22/include/linux/jiffies.h:7,
> >                  from
> /home/work/a8/pmp/work/linux-2.6.22/include/net/dst.h:14,
> >                  from
> > /home/work/a8/pmp/work/linux-2.6.22/include/net/route.h:27,
> >                  from NetworkManagerSystem.c:30:
> >
> >
> > Thanks,
> > Alex
> > _______________________________________________
> > NetworkManager-list mailing list
> > NetworkManager-list gnome org
> > http://mail.gnome.org/mailman/listinfo/networkmanager-list
>
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]