FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 06-29-2011, 01:33 PM
Joao Ferreira Gmail
 
Default perl xs error: unknown type name ‘off64_t’

Hello all,

I'm trying some SWIG examples to work with perl XS.

I got this error:

jmf@wheejy:~/tech/swig/aaa$ swig -perl5 example.i
jmf@wheejy:~/tech/swig/aaa$
jmf@wheejy:~/tech/swig/aaa$ gcc -c example.c example_wrap.c
-I /usr/lib/perl/5.12.3/CORE/
In file included from /usr/lib/perl/5.12.3/CORE/perl.h:4946:0,
from example_wrap.c:731:
/usr/lib/perl/5.12.3/CORE/proto.h:692:47: error: unknown type name
‘off64_t’
/usr/lib/perl/5.12.3/CORE/proto.h:699:15: error: unknown type name
‘off64_t’
/usr/lib/perl/5.12.3/CORE/proto.h:699:51: error: unknown type name
‘off64_t’
/usr/lib/perl/5.12.3/CORE/proto.h:704:15: error: unknown type name
‘off64_t’
/usr/lib/perl/5.12.3/CORE/proto.h:6178:15: error: unknown type name
‘off64_t’
/usr/lib/perl/5.12.3/CORE/proto.h:6179:53: error: unknown type name
‘off64_t’
jmf@wheejy:~/xarmazem/tech/swig/aaa$

seems that off64_t is not being found by gcc ! or something similar ?

can anyone point me in the correct direction ?

Thank you.

Joao



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1309354438.29375.7.camel@wheejy.critical.pt">http://lists.debian.org/1309354438.29375.7.camel@wheejy.critical.pt
 

Thread Tools




All times are GMT. The time now is 07:44 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org