[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cipe
Subject:    Unresolved symbols in CIPE-1.5.4
From:       "Margaret Cowley" <cowleyma () internode ! on ! net>
Date:       2004-01-13 12:35:06
Message-ID: 000c01c3d9d0$0043e3a0$640aa8c0 () brahman
[Download RAW message or body]

Folks,
I'm sorry to bring this problem up again, but I can't solve it myself.

I've upgraded & compiled my kernel to 2.4.23 on Redhat 9.
I'm trying to upgrade to CIPE-1.5.4, after getting v1.4.5 working.

In /usr/local/src/cipe-1.5.4, I do the following OK:
./configure
make

But make install, produced the unresolved symbol error:

gmake -C lib install
gmake[1]: Entering directory `/usr/local/src/cipe-1.5.4/lib'
: Nothing to install here
gmake[1]: Leaving directory `/usr/local/src/cipe-1.5.4/lib'
gmake -C 2.4.23-mac-i386-cb install
gmake[1]: Entering directory `/usr/local/src/cipe-1.5.4/2.4.23-mac-i386-cb'
mkdir -p /lib/modules/2.4.23-mac/misc /usr/local/sbin
install -m 644 cipcb.o /lib/modules/2.4.23-mac/misc
install -m 755 ciped-cb /usr/local/sbin
depmod -a
depmod: *** Unresolved symbols in /lib/modules/2.4.23-mac/misc/cipcb.o
gmake[1]: Leaving directory `/usr/local/src/cipe-1.5.4/2.4.23-mac-i386-cb'
gmake -C pkcipe install
gmake[1]: Entering directory `/usr/local/src/cipe-1.5.4/pkcipe'
mkdir -p /usr/bin /usr/sbin
install -m 755 rsa-keygen /usr/bin
install -m 755 pkcipe /usr/sbin
[ -d /etc/cipe/pk ] || mkdir -p /etc/cipe/pk
[ -d /var/run/cipe ] || mkdir -p /var/run/cipe
chmod 700 /etc/cipe /etc/cipe/pk /var/run/cipe
gmake[1]: Leaving directory `/usr/local/src/cipe-1.5.4/pkcipe'

If I try to add the module separately, I think I see the unresolved symbol:

# modprobe cipcb
/lib/modules/2.4.23-mac/misc/cipcb.o: unresolved symbol next_task
/lib/modules/2.4.23-mac/misc/cipcb.o: insmod /lib/modules/2.4.23-mac/misc/cipcb.o failed
/lib/modules/2.4.23-mac/misc/cipcb.o: insmod cipcb failed

Now that's interesting, because before the "make install", I changed a line in
/usr/local/src/cipe-1.5.4/cipe/device.c
to:
      // p=p->next_task; // commented out
      next_task(p);  // added instead

The change in device.c was made to fix the error:

../cipe/device.c: In function `cipe_owner':
../cipe/device.c:223: structure has no member named `next_task'
gmake[1]: *** [device.o] Error 1

Is this where I went wrong?

Margaret
----------------------------------
Margaret Cowley, Adelaide, South Australia.
Mobile: 0419 831 722
[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1141" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Folks,</FONT></DIV>
<DIV><FONT face=Arial size=2>I'm sorry to bring this problem up again, but I 
can't solve it myself.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I've upgraded &amp; compiled&nbsp;my kernel to 
2.4.23 on Redhat 9.</FONT></DIV>
<DIV><FONT face=Arial size=2>I'm trying to upgrade to CIPE-1.5.4, after getting 
v1.4.5 working.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>In /usr/local/src/cipe-1.5.4, I do the following 
OK:</FONT></DIV>
<DIV><FONT face=Arial size=2>./configure</FONT></DIV>
<DIV><FONT face=Arial size=2>make</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>But make install, produced the unresolved symbol 
error:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>gmake -C lib install<BR>gmake[1]: Entering 
directory `/usr/local/src/cipe-1.5.4/lib'<BR>: Nothing to install 
here<BR>gmake[1]: Leaving directory `/usr/local/src/cipe-1.5.4/lib'<BR>gmake -C 
2.4.23-mac-i386-cb install<BR>gmake[1]: Entering directory 
`/usr/local/src/cipe-1.5.4/2.4.23-mac-i386-cb'<BR>mkdir -p 
/lib/modules/2.4.23-mac/misc /usr/local/sbin<BR>install -m 644 cipcb.o 
/lib/modules/2.4.23-mac/misc<BR>install -m 755 ciped-cb 
/usr/local/sbin<BR>depmod -a<BR>depmod: *** Unresolved symbols in 
/lib/modules/2.4.23-mac/misc/cipcb.o<BR>gmake[1]: Leaving directory 
`/usr/local/src/cipe-1.5.4/2.4.23-mac-i386-cb'<BR>gmake -C pkcipe 
install<BR>gmake[1]: Entering directory 
`/usr/local/src/cipe-1.5.4/pkcipe'<BR>mkdir -p /usr/bin /usr/sbin<BR>install -m 
755 rsa-keygen /usr/bin<BR>install -m 755 pkcipe /usr/sbin<BR>[ -d /etc/cipe/pk 
] || mkdir -p /etc/cipe/pk<BR>[ -d /var/run/cipe ] || mkdir -p 
/var/run/cipe<BR>chmod 700 /etc/cipe /etc/cipe/pk /var/run/cipe<BR>gmake[1]: 
Leaving directory `/usr/local/src/cipe-1.5.4/pkcipe'<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>If I try to add the module separately, I think I 
see the unresolved symbol:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># modprobe 
cipcb<BR>/lib/modules/2.4.23-mac/misc/cipcb.o: unresolved symbol 
next_task<BR>/lib/modules/2.4.23-mac/misc/cipcb.o: insmod 
/lib/modules/2.4.23-mac/misc/cipcb.o 
failed<BR>/lib/modules/2.4.23-mac/misc/cipcb.o: insmod cipcb 
failed<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Now that's interesting, because before the "make 
install", I changed a line in</DIV></FONT>
<DIV><FONT face=Arial 
size=2>/usr/local/src/cipe-1.5.4/cipe/device.c</FONT></DIV>
<DIV><FONT face=Arial size=2>to:</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // 
p=p-&gt;next_task; // commented out<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
next_task(p);&nbsp; // added instead</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The change in device.c was made to fix the 
error:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>../cipe/device.c: In function 
`cipe_owner':<BR>../cipe/device.c:223: structure has no member named 
`next_task'<BR>gmake[1]: *** [device.o] Error 1<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Is this where I went wrong?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Margaret</FONT><FONT face=Arial 
size=2></DIV></FONT>
<DIV><FONT face=Arial size=2>----------------------------------<BR>Margaret 
Cowley, Adelaide, South Australia.<BR>Mobile: 0419 831 
722</FONT></DIV></BODY></HTML>

--
Message sent by the cipe-l@inka.de mailing list.
Unsubscribe: mail majordomo@inka.de, "unsubscribe cipe-l" in body
Other commands available with "help" in body to the same address.
CIPE info and list archive: <URL:http://sites.inka.de/~bigred/devel/cipe.html>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic