dchub-dev
[Top][All Lists]
Advanced

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

[Dchub-dev] [Bug #3389] Does not build on Alpha


From: nobody
Subject: [Dchub-dev] [Bug #3389] Does not build on Alpha
Date: Tue, 29 Apr 2003 10:17:42 -0400

=================== BUG #3389: LATEST MODIFICATIONS ==================
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=3389&group_id=3963

Changes by: Eric PREVOTEAU <address@hidden>
Date: Tue 04/29/2003 at 16:17 (Europe/Paris)

            What     | Removed                   | Added
---------------------------------------------------------------------------
         Assigned to | None                      | ericprev
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
The problem is already fixed since 3 weeks and 2 versions. Use a more recent 
version.



=================== BUG #3389: FULL BUG SNAPSHOT ===================


Submitted by: sourceo                 Project: DcHub:  Hub software for Direct 
Connect
Submitted on: Tue 04/29/2003 at 14:55
Category:  None                       Severity:  5 - Major                  
Bug Group:  Installation Problem      Resolution:  None                     
Assigned to:  ericprev                Status:  Closed                       
Release:  0.42                        Platform Version:  None               
Planned Release:  None                Fixed Release:                        

Summary:  Does not build on Alpha

Original Submission:  From Debian bug report 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=187664:

> gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -mieee 
> -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  
> -I/usr/lib/perl/5.8.0/CORE   -DWITH_PERL  -DWITH_GLIB2 
> -Dg_string_sprintf=g_string_printf -Dg_string_sprintfa=g_string_append_printf 
>  -g -O2 -Wall -c xs_init.c
> xs_init.c: In function `perl_get_hub_user_stat':
> xs_init.c:548: warning: long long unsigned int format, guint64 arg (arg 3)
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -mieee 
> -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  
> -I/usr/lib/perl/5.8.0/CORE   -DWITH_PERL  -DWITH_GLIB2 
> -Dg_string_sprintf=g_string_printf -Dg_string_sprintfa=g_string_append_printf 
>  -g -O2 -Wall -c timed_out_string.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -mieee 
> -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  
> -I/usr/lib/perl/5.8.0/CORE   -DWITH_PERL  -DWITH_GLIB2 
> -Dg_string_sprintf=g_string_printf -Dg_string_sprintfa=g_string_append_printf 
>  -g -O2 -Wall -c edb_warper.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -mieee 
> -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  
> -I/usr/lib/perl/5.8.0/CORE   -DWITH_PERL  -DWITH_GLIB2 
> -Dg_string_sprintf=g_string_printf -Dg_string_sprintfa=g_string_append_printf 
>  -g -O2 -Wall -c plugin.c
> plugin.c:461: conflicting types for `plugin_get_hub_user_start'
> ../plugin/dchub_plugin_api.h:106: previous declaration of 
> `plugin_get_hub_user_start'
> make[3]: *** [plugin.o] Error 1
> make[3]: Leaving directory `/build/buildd/dchub-0.4.0/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/build/buildd/dchub-0.4.0'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory `/build/buildd/dchub-0.4.0'
> make: *** [build-stamp] Error 2

A full build log can be found at:
http://buildd.debian.org/build.php?arch=alpha&pkg=dchub&ver=0.4.0-3

The header file declaration and the source file definition don't match:
dchub_plugin_api.h:void plugin_get_hub_user_start(unsigned long long 
*shared_size, unsigned int *nb_users);
plugin.c:void plugin_get_hub_user_start(guint64 *shared_size, unsigned int 
*nb_users)

On alpha, ia64, hppa64, mips64, etc, a guint64 is an unsigned long, not an
unsigned long long.  As dchub_plugin_api.h does not include glib headers, it
will need to copy the definition of guint64 from the glib header files, or
include similar logic to choose the appropriate type on 64-bit archs.

Follow-up Comments
*******************

-------------------------------------------------------
Date: Tue 04/29/2003 at 16:17       By: ericprev
The problem is already fixed since 3 weeks and 2 versions. Use a more recent 
version.


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=3389&group_id=3963




reply via email to

[Prev in Thread] Current Thread [Next in Thread]