bugDcHub: Hub software for Direct Connect - Bugs: bug #3389, Does not build on Alpha

 
 

bug #3389: Does not build on Alpha

Submitted by:  Ari Pollak <sourceo>
Submitted on:  Tue 29 Apr 2003 12:55:00 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Installation ProblemStatus: None
Privacy: PublicAssigned to: Eric PREVOTEAU <ericprev>
Open/Closed: ClosedRelease: 0.42
Operating System: NonePlanned Release: None
Fixed Release: 

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 29 Apr 2003 02:17:42 PM UTC, comment #1:

The problem is already fixed since 3 weeks and 2 versions. Use a more recent version.

Eric PREVOTEAU <ericprev>
Project MemberIn charge of this item.
Tue 29 Apr 2003 12:55:00 PM UTC, 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.

Ari Pollak <sourceo>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 29 Apr 2003 02:17:42 PM UTCericprevOpen/ClosedOpen=>(Error - Not Found)
Tue 29 Apr 2003 02:17:41 PM UTCericprevAssigned toNone=>NA

Back to the top


Powered by Savane 3.1-cleanup1