On 02/15/12 14:54, 송태환 wrote:
>
> Hello.
>
> I am sorry I don't speak English well.
>
> I want to build bacula-FD on Tru64 ..
>
> OS : alpha-dec-osf5.1
>
> gcc : gcc-3.4.3
>
First try to build it using the Tru64 C compiler, not GCC. It can be
downloaded from the HP site.
If that does not work, try this:
Use the flags that make everything like it is 32-bit.
I cannot remember what they are, and do not have an alpha to check.
You will have to change every main() like this:
int main(
int argc,
#if defined(__osf__)
#pragma pointer_size long
char *an_argv[]
#pragma pointer_size short
#else
char *argv[]
#endif /* __osf__ */
)
{
#if defined(__osf__)
char **argv = (char **)calloc(argc, sizeof(char *));
int i;
for (i = 0; i < argc; i++)
{
argv[i] = strdup(an_argv[i]);
}
#endif /* __osf__ */
Cheers,
Gary B-)
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users