[cairo] undef ref errors cairo.h

Kayven Riese kayvey at gmail.com
Mon Feb 20 17:31:07 PST 2012


Hi.

I have an application that requires a few source files and a Makefile and
it uses cairo.h.  It was running a few months ago before I got a new hard
drive and installed new Linux versions.  I have Ubuntu as shown below.  How
can I compile my program?  The command "make promog" which I created with
the Makefile produces the errors in the attached file 'err4'

root at kayve-Ubuntu11:~# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6.1/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.6.1-9ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin
--enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686
--with-tune=generic --enable-checking=release --build=i686-linux-gnu
--host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
root at kayve-Ubuntu11:~# uname -a
Linux kayve-Ubuntu11 3.0.0-15-generic-pae #26-Ubuntu SMP Fri Jan 20
17:07:31 UTC 2012 i686 i686 i386 GNU/Linux
root at kayve-Ubuntu11:~# ls -l /usr/include/cairo/cairo.h
-rw-r--r-- 1 root root 93134 2011-08-09 14:13 /usr/include/cairo/cairo.h
root at kayve-Ubuntu11:~#

*----------------------------------------------------------*
  Kayven Riese, MSCS,
                      MS  (Physiology and Biophysics)
  (415) 902 5513 cellular
  http://kayve.net
  Webmaster http://ChessYoga.org
*----------------------------------------------------------*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20120221/1846dd6b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cellgram.c
Type: text/x-csrc
Size: 29649 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20120221/1846dd6b/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demog_gets_sf.c
Type: text/x-csrc
Size: 4093 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20120221/1846dd6b/attachment-0001.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demog_script_friendly.c
Type: text/x-csrc
Size: 12118 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20120221/1846dd6b/attachment-0002.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: print_interval.c
Type: text/x-csrc
Size: 1984 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20120221/1846dd6b/attachment-0003.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 2095 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20120221/1846dd6b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: promog.c
Type: text/x-csrc
Size: 40600 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20120221/1846dd6b/attachment-0004.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stub.c
Type: text/x-csrc
Size: 647 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20120221/1846dd6b/attachment-0005.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: err4
Type: application/octet-stream
Size: 14357 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20120221/1846dd6b/attachment-0001.obj>


More information about the cairo mailing list