-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

(a package of mine would like it)

Using package description files from the following location:

https://github.com/akhansen/Fink-experimental/tree/10.7/3rdparty/dx

and with Xcode 4.2 on Lion, I'm experiencing the following failure
when I try to build dx-4.4.4:

libtool: link: gcc -g -O2 -std=c89 -I/usr/X11R6/include -D_GNU_SOURCE
- -dylib_file
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
- -o dxexec main.o ../dxmods/user.o ../libdx/mem.o ../libdx/memory.o
- -L/sw/lib ../dpexec/.libs/libDPEXEC.a -L/usr/X11R6/lib
../dxmods/.libs/libDXMODS.a ../dxmods/.libs/libDXMODSN.a
../libdx/.libs/libLIBDX.a ../hwrender/.libs/libHW.a
../hwrender/opengl/.libs/libOPENGL.a -lXinerama
/sw/lib/libnetcdf.dylib /sw/lib/libdf.a /sw/lib/libjpeg.dylib
/sw/lib/libsz.dylib -lXpm /sw/lib/libtiff.dylib -ldl
/sw/lib/libXm.dylib -lXp -lGLU -lGL -lm -lXmu -lXext -lXt -lX11 -lSM
- -lICE -lpthread -lz /sw/lib/libGraphicsMagick.dylib
clang: warning: argument unused during compilation: '-std=c89'
Undefined symbols for architecture x86_64:
  "_TemporaryFilename", referenced from:
      __dxf_write_im in libDXMODS.a(_im_image.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[3]: *** [dxexec] Error 1

If I don't add the c89 stuff I get the same error, but with a warning
earlier in the build:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../include
- -I../../../include -I./../dpexec
- -I/sw/src/fink.build/dx-4.4.4-1506/dx-4.4.4/include -Dmacos
- -I/sw/include/GraphicsMagick -I/sw/include -I/usr/X11R6/include -g -O2
- -I/usr/X11R6/include -D_GNU_SOURCE -MT _im_image.lo -MD -MP -MF
.deps/_im_image.Tpo -c _im_image.c -o _im_image.o
_im_image.c:305:9: warning: implicit declaration of function
'TemporaryFilename' is invalid in C99 [-Wimplicit-function-declaration]
        TemporaryFilename(image->filename);
        ^
_im_image.c:332:13: warning: implicit declaration of function
'DestroyConstitute' is invalid in C99 [-Wimplicit-function-declaration]
            DestroyConstitute();
            ^

The full build log is available at

https://gist.github.com/1325343#file_fink_build_log_dx_4.4.4_1706_2011.10.31_16.37.51

and the source file _im_image.c is at

https://gist.github.com/1325343#file__im_image.c
- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6vQ08ACgkQB8UpO3rKjQ/C9wCfXTS3SRGwBLlA9ABDlozHaZJ9
mHkAn00rK2Lq0QPU2EVr/CYNNktRHiSW
=Y8m6
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
RSA® Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to