All of lore.kernel.org
 help / color / mirror / Atom feed
* libsemanage swig problem
@ 2006-05-08 16:52 Joshua Brindle
  2006-05-08 17:11 ` Stephen Smalley
  0 siblings, 1 reply; 3+ messages in thread
From: Joshua Brindle @ 2006-05-08 16:52 UTC (permalink / raw)
  To: SE Linux, Stephen Smalley, Ivan Gyurdiev

does anyone know what is up with this:

gcc -g -shared -o _semanage.so semanageswig_wrap.lo -L. -lsemanage 
-lpython2.4 -L/usr/lib -Wl,-soname,_semanage.so,-z,defs
semanageswig_wrap.lo: In function 
`_wrap_semanage_module_list':semanageswig_wrap.c:(.text+0x38d1): 
undefined reference to `SWIG_Python_AppendOutput'
semanageswig_wrap.lo: In function 
`_wrap_semanage_context_create':semanageswig_wrap.c:(.text+0x44a3): 
undefined reference to `SWIG_Python_AppendOutput'
semanageswig_wrap.lo: In function 
`_wrap_semanage_context_clone':semanageswig_wrap.c:(.text+0x45e8): 
undefined reference to `SWIG_Python_AppendOutput'
semanageswig_wrap.lo: In function 
`_wrap_semanage_context_from_string':semanageswig_wrap.c:(.text+0x47d0): 
undefined reference to `SWIG_Python_AppendOutput'
semanageswig_wrap.lo: In function 
`_wrap_semanage_context_to_string':semanageswig_wrap.c:(.text+0x4903): 
undefined reference to `SWIG_Python_AppendOutput'
semanageswig_wrap.lo:semanageswig_wrap.c:(.text+0x4a45): more undefined 
references to `SWIG_Python_AppendOutput' follow

I can't find where this function is suppose to be defined, there are no 
swig header files (or libraries for that matter) so I assume it is 
suppose to pull it in but it isn't. This happens in head right now if 
you make swigify (apparently hasn't been done in a while) and try to 
make pywrap. Googling SWIG_Python_AppendOutput is less than helpful :\

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: libsemanage swig problem
  2006-05-08 16:52 libsemanage swig problem Joshua Brindle
@ 2006-05-08 17:11 ` Stephen Smalley
  2006-05-08 17:24   ` Stephen Smalley
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Smalley @ 2006-05-08 17:11 UTC (permalink / raw)
  To: Joshua Brindle; +Cc: SE Linux, Ivan Gyurdiev

On Mon, 2006-05-08 at 12:52 -0400, Joshua Brindle wrote:
> does anyone know what is up with this:
> 
> gcc -g -shared -o _semanage.so semanageswig_wrap.lo -L. -lsemanage 
> -lpython2.4 -L/usr/lib -Wl,-soname,_semanage.so,-z,defs
> semanageswig_wrap.lo: In function 
> `_wrap_semanage_module_list':semanageswig_wrap.c:(.text+0x38d1): 
> undefined reference to `SWIG_Python_AppendOutput'
> semanageswig_wrap.lo: In function 
> `_wrap_semanage_context_create':semanageswig_wrap.c:(.text+0x44a3): 
> undefined reference to `SWIG_Python_AppendOutput'
> semanageswig_wrap.lo: In function 
> `_wrap_semanage_context_clone':semanageswig_wrap.c:(.text+0x45e8): 
> undefined reference to `SWIG_Python_AppendOutput'
> semanageswig_wrap.lo: In function 
> `_wrap_semanage_context_from_string':semanageswig_wrap.c:(.text+0x47d0): 
> undefined reference to `SWIG_Python_AppendOutput'
> semanageswig_wrap.lo: In function 
> `_wrap_semanage_context_to_string':semanageswig_wrap.c:(.text+0x4903): 
> undefined reference to `SWIG_Python_AppendOutput'
> semanageswig_wrap.lo:semanageswig_wrap.c:(.text+0x4a45): more undefined 
> references to `SWIG_Python_AppendOutput' follow
> 
> I can't find where this function is suppose to be defined, there are no 
> swig header files (or libraries for that matter) so I assume it is 
> suppose to pull it in but it isn't. This happens in head right now if 
> you make swigify (apparently hasn't been done in a while) and try to 
> make pywrap. Googling SWIG_Python_AppendOutput is less than helpful :\

Hmmm...just tried doing a make distclean swigify pywrap here, and had no
problems (and nothing changed in the generated files).  Possibly tied to
swig version?  swig 1.3.29 here.

-- 
Stephen Smalley
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: libsemanage swig problem
  2006-05-08 17:11 ` Stephen Smalley
@ 2006-05-08 17:24   ` Stephen Smalley
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen Smalley @ 2006-05-08 17:24 UTC (permalink / raw)
  To: Joshua Brindle; +Cc: Daniel J Walsh, SE Linux, Ivan Gyurdiev

On Mon, 2006-05-08 at 13:11 -0400, Stephen Smalley wrote:
> On Mon, 2006-05-08 at 12:52 -0400, Joshua Brindle wrote:
> > does anyone know what is up with this:
> > 
> > gcc -g -shared -o _semanage.so semanageswig_wrap.lo -L. -lsemanage 
> > -lpython2.4 -L/usr/lib -Wl,-soname,_semanage.so,-z,defs
> > semanageswig_wrap.lo: In function 
> > `_wrap_semanage_module_list':semanageswig_wrap.c:(.text+0x38d1): 
> > undefined reference to `SWIG_Python_AppendOutput'
> > semanageswig_wrap.lo: In function 
> > `_wrap_semanage_context_create':semanageswig_wrap.c:(.text+0x44a3): 
> > undefined reference to `SWIG_Python_AppendOutput'
> > semanageswig_wrap.lo: In function 
> > `_wrap_semanage_context_clone':semanageswig_wrap.c:(.text+0x45e8): 
> > undefined reference to `SWIG_Python_AppendOutput'
> > semanageswig_wrap.lo: In function 
> > `_wrap_semanage_context_from_string':semanageswig_wrap.c:(.text+0x47d0): 
> > undefined reference to `SWIG_Python_AppendOutput'
> > semanageswig_wrap.lo: In function 
> > `_wrap_semanage_context_to_string':semanageswig_wrap.c:(.text+0x4903): 
> > undefined reference to `SWIG_Python_AppendOutput'
> > semanageswig_wrap.lo:semanageswig_wrap.c:(.text+0x4a45): more undefined 
> > references to `SWIG_Python_AppendOutput' follow
> > 
> > I can't find where this function is suppose to be defined, there are no 
> > swig header files (or libraries for that matter) so I assume it is 
> > suppose to pull it in but it isn't. This happens in head right now if 
> > you make swigify (apparently hasn't been done in a while) and try to 
> > make pywrap. Googling SWIG_Python_AppendOutput is less than helpful :\
> 
> Hmmm...just tried doing a make distclean swigify pywrap here, and had no
> problems (and nothing changed in the generated files).  Possibly tied to
> swig version?  swig 1.3.29 here.

Defined in /usr/share/swig/x.y.z/python/pyrun.swg.
It replaced t_output_helper, which is deprecated, in libsemanage 1.6.4
2006-04-12.

-- 
Stephen Smalley
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-05-08 17:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-08 16:52 libsemanage swig problem Joshua Brindle
2006-05-08 17:11 ` Stephen Smalley
2006-05-08 17:24   ` Stephen Smalley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.