! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Due to missing 'mkdtemp' in solaris libc thunar-sendto-email plugin does not ...
Status:
CLOSED: FIXED

Comments

Description Thomas Wiegner 2006-07-26 10:53:11 CEST
User-Agent:       Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.0.4) Gecko/20060614 Firefox/1.5.0.4
Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.0.4) Gecko/20060614 Firefox/1.5.0.4

When compiling this error message occurs:
thunar_sendto_email-main.o: In function `tse_compress':
/user/wt028260/tmp/src/xfce-4.3.90.2/src/Thunar-0.3.2beta2/plugins/thunar-sendto-email/main.c:339: undefined reference to `mkdtemp'
collect2: ld returned 1 exit status



Reproducible: Always




As a workaround for me I copied the mkdtemp code from gettext-0.14.5
to the Thunar-0.3.2beta2/plugins/thunar-sendto-email directory, compiled
the mkdtemp.c file by hand and and added the mkdtemp.o to the
linker call of the Makefile.

ps: I added this item to the component 'general' because there is 
    no 'thunar-sendto-email' item to select.
Comment 1 Benedikt Meurer editbugs 2006-07-27 15:22:00 CEST
Created attachment 678 
Possible fix

Please try this patch.
Comment 2 Thomas Wiegner 2006-07-28 06:59:41 CEST
Works fine on my machine.

 Thanks
Comment 3 Benedikt Meurer editbugs 2006-07-30 22:36:55 CEST
Committed with revision 22582.

2006-07-31	Benedikt Meurer <benny@xfce.org>

	* configure.in.in, plugins/thunar-sendto-email/main.c: Check for
	  missing mkdtemp, and use a fallback implementation if missing
	  from the system. Bug #2070.

Bug #2070

Reported by:
Thomas Wiegner
Reported on: 2006-07-26
Last modified on: 2009-07-17

People

Assignee:
Jannis Pohlmann
CC List:
0 users

Version

Version:
unspecified

Attachments

Possible fix (1.31 KB, patch)
2006-07-27 15:22 CEST , Benedikt Meurer
no flags

Additional information