This is the same bug that existed in Thunar, see bug: http://bugzilla.xfce.org/show_bug.cgi?id=2070 Future Solaris versions will have it so this might be necessary only temporarily? /bin/bash ../libtool --mode=link --tag=CC /opt/SUNWspro/bin/cc -I/opt/Xfce-beta/include -I/usr/local/include -I/usr/X11/include -I/usr/openwin/include -I/usr/sfw/include -L/opt/Xfce-beta/lib -L/usr/local/lib -L/usr/X11/lib -L/usr/openwin/lib -L/usr/openwin/sfw/lib -L/usr/sfw/lib -o xarchiver xarchiver-main.o xarchiver-string_utils.o xarchiver-support.o xarchiver-archive.o xarchiver-interface.o xarchiver-callbacks.o xarchiver-arj.o xarchiver-zip.o xarchiver-rar.o xarchiver-7zip.o xarchiver-tar.o xarchiver-bzip2.o xarchiver-gzip.o xarchiver-rpm.o xarchiver-iso.o xarchiver-extract_dialog.o xarchiver-add_dialog.o -L/opt/Xfce-beta/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -L/opt/Xfce-beta/lib -lglib-2.0 /opt/SUNWspro/bin/cc -I/opt/Xfce-beta/include -I/usr/local/include -I/usr/X11/include -I/usr/openwin/include -I/usr/sfw/include -o xarchiver xarchiver-main.o xarchiver-string_utils.o xarchiver-support.o xarchiver-archive.o xarchiver-interface.o xarchiver-callbacks.o xarchiver-arj.o xarchiver-zip.o xarchiver-rar.o xarchiver-7zip.o xarchiver-tar.o xarchiver-bzip2.o xarchiver-gzip.o xarchiver-rpm.o xarchiver-iso.o xarchiver-extract_dialog.o xarchiver-add_dialog.o -L/opt/Xfce-beta/lib -L/usr/local/lib -L/usr/X11/lib -L/usr/openwin/lib -L/usr/openwin/sfw/lib -L/usr/sfw/lib /opt/Xfce-beta/lib/libgtk-x11-2.0.so /opt/Xfce-beta/lib/libgdk-x11-2.0.so /opt/Xfce-beta/lib/libatk-1.0.so /opt/Xfce-beta/lib/libgdk_pixbuf-2.0.so /opt/Xfce-beta/lib/libpangocairo-1.0.so -L/usr/lib /opt/Xfce-beta/lib/libpangoft2-1.0.so /opt/Xfce-beta/lib/libpango-1.0.so /opt/Xfce-beta/lib/libcairo.so /opt/Xfce-beta/lib/libfontconfig.so /opt/Xfce-beta/lib/libfreetype.so /opt/Xfce-beta/lib/libxml2.so -lpthread /opt/Xfce-beta/lib/libpng12.so -lz -lXrender -lSM -lICE -lX11 -lsocket -lnsl -lm /opt/Xfce-beta/lib/libgobject-2.0.so /opt/Xfce-beta/lib/libgmodule-2.0.so /opt/Xfce-beta/lib/libglib-2.0.so -R/opt/Xfce-beta/lib -R/opt/Xfce-beta/lib ld: warning: symbol `my_stat' has differing sizes: (file xarchiver-main.o value=0x90; file xarchiver-extract_dialog.o value=0x84); xarchiver-main.o definition taken ld: warning: symbol `my_stat' has differing sizes: (file xarchiver-main.o value=0x90; file xarchiver-add_dialog.o value=0x84); xarchiver-main.o definition taken Undefined first referenced symbol in file mkdtemp xarchiver-extract_dialog.o ld: fatal: Symbol referencing errors. No output written to xarchiver *** Error code 1 dmake: Fatal error: Command failed for target `xarchiver'
I would include the same patch Benny applied to Thunar to fix the bug but how to detect if Xarchiver is runnig on Solaris so to include the code otherwise don't ?
Created attachment 777 mkdtemp patch on Solaris Please apply this patch and let me know, thanks.
I think the route Benny had taken is to have configure look for mkdtemp rather than this approach. I needed to also add #include <errno.h> That said, I still get the error. I did a make clean followed with make. Undefined first referenced symbol in file mkdtemp xarchiver-extract_dialog.o
*** Bug 2286 has been marked as a duplicate of this bug. ***
I think I fixed it in revision 23126. Can you check and close this bug if it is fixed ? Thanks, Giuseppe
I haven't receiving any news from you so I consider this bug fixed in revision 23126. If it doesn't please reopen it.