zhang shuangbi
|
ifconfig:unknown symbol: _in6addr_any under QNX 6.4.1
|
zhang shuangbi
12/24/2009 1:29 AM
post44389
|
ifconfig:unknown symbol: _in6addr_any under QNX 6.4.1
Hello,everyone:
I am a newble to QNX,when I build the embedded system,I cannot get the network util "ifconfig " to work,can anybody help
,thx
here is my build file and bootsh:
# Programs require the runtime linker (ldqnx.so) to be at a fixed location
procmgr_symlink ../../proc/boot/libc.so.3 /usr/lib/ldqnx.so.2
# Start up some consoles
devc-con -n4 &
reopen /dev/con1
display_msg Welcome to QNX Neutrino 6.4.0 on an PC compatible BIOS system
slogger &
# Start the pci server
seedres
pci-bios &
waitfor /dev/pci
#start NIC driver with full TCP/IP stack
#with half duplex operation in this case
io-pkt-v6-hc -p tcpip
#io-pkt-v6-hc -d pcnet duplex=0 -p tcpip
#wait until io-net starts
waitfor /dev/socket
ifconfig en0 192.168.1.100 netmask 255.255.255.0
route add default 192.168.1.1
# Some common servers
pipe &
mqueue &
devc-ser8250 -e &
devc-pty &
# Start a debug server for debugging programs
waitfor /dev/ser1
[+session] pdebug /dev/ser1 &
# These env variables inherited by all the programs which follow
SYSNAME=nto
TERM=qansi
# Start some extra shells on other consoles
reopen /dev/con2
[+session] sh &
reopen /dev/con3
[+session] sh &
# Start a high priority shell just in case....
reopen /dev/con4
[pri=25 +session] sh &
# Start the main shell
reopen /dev/con1
[+session] sh
# [+session] login -p
-------------------------------------------------------------------------
-------------------------------------------------------------------------
bulid file:
<?xml version="1.0" encoding="UTF-8"?>
<!-- QNX System Builder -->
<buildfile major="1" minor="0" micro="0">
<images>
<image
keepLinkedProc="true"
keepLinkedStartup="true"
autoLink="true"
name="bsp-x86bios" type="ifs" subType="" pageAligned="false" compressed="3" enabled="true" stripTimeStamps="false"
cpu="x86" dirPerms="0777" dirGID="0" dirUID="0">
<boot name="bios"
type="virtual">
</boot>
<startup name="startup-bios"
args="">
</startup>
<proc name="procnto"
args="-vv "
path="/proc/boot:/usr/bin:/bin"
ldpath="/proc/boot:/usr/lib:/lib"
useAPS="false">
</proc>
<bootscript type="mkifs" inline="false">
bsp-x86bios.bsh </bootscript>
<combine >
</combine>
</image>
</images>
<items>
<item type="symlink"
name="tmp"
image="bsp-x86bios"
location="/"
link="/dev/shmem">
</item>
<item type="shlib"
name="libc.so"
enabled="true"
image="bsp-x86bios"
buildpath=""
data_uip="true"
code_uip="true"
uid="0"
gid="0"
optional="true"
perms="0777"
raw="false"/>
<item type="dll"
name="fpemu.so.2"
enabled="true"
image="bsp-x86bios"
buildpath=""
data_uip="true"
code_uip="true"
uid="0"
gid="0"
optional="true"
perms="0777"
raw="false"/>
<item type="binary"
name="devc-con"
enabled="true"
image="bsp-x86bios"
buildpath=""
data_uip="false"
code_uip="true"
uid="0"
gid="0"
optional="true"
perms="0777"
raw="false"/>
<item type="binary"
name="pci-bios"
enabled="true"
image="bsp-x86bios"
buildpath=""
data_uip="false"
code_uip="true"
uid="0"
gid="0"
optional="true"
perms="0777"
raw="false"/>
<item type="binary"
name="seedres"
enabled="true"
image="bsp-x86bios"
buildpath=""
...
View Full Message
|
|
|