Re: NetworkManager build error for mips platform



On Thu, 2008-01-03 at 14:59 +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. :)

Ignore this second mail; the OP joined the list and so the original mail
got sent, but it was still getitng held for moderation for some reason.

Dan

> 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 files.
> 
> 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
> 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]