This is my makefile that solves the problem for me.

all :  test

#-isystem /usr/local/include
CFLAGS= -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe  
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 

icinga-core-wrap-perl.c : icinga-core.i 
        swig -perl -outcurrentdir   -o icinga-core-wrap-perl.c  -oh 
icinga-core-wrap-perl.h icinga-core.i

icinga-core-wrap-perl.o : icinga-core-wrap-perl.c
        gcc $(CFLAGS) -I../include icinga-core-wrap-perl.c 
-I/usr/lib/perl/5.10.1/CORE/ -o icinga-core-wrap-perl.o

test : icinga-core-wrap-perl.o 
        echo todo 

https://gitorious.org/icinga/icinga-
core/commit/5c19af4baf01b6741bdef782a33339da0e403de6

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/349149

Title:
  SWIG generates files that can't find off64_t in 8.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/swig1.3/+bug/349149/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to