pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/36307: sysutils/xfce4-xarchiver fails to build on Sparc Solaris



>Number:         36307
>Category:       pkg
>Synopsis:       sysutils/xfce4-xarchiver fails to build on Sparc Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 11 14:00:00 +0000 2007
>Originator:     raymond
>Release:        
>Organization:
>Environment:
SunOS ultra10 5.10 Generic_118833-36 sun4u sparc SUNW,Ultra-5_10
>Description:
Building sysutils/xfce4-xarchiver fails on Solaris with the following error 
message:

Undefined                       first referenced
 symbol                             in file
mkdtemp                             xarchiver-extract_dialog.o
ld: fatal: Symbol referencing errors. No output written to xarchiver
collect2: ld returned 1 exit status

This is because xarchiver-0.4.6/src/string_utils.c declares mkdtemp as 
'static', so the function is not visible outside that file. Solaris does not 
have a native implementation of mkdtemp.
>How-To-Repeat:

>Fix:
To fix the error, simply remove the 'static' keyword.




Home | Main Index | Thread Index | Old Index