Opened 14 years ago

Closed 14 years ago

#266 closed Bug (fixed)

Building Transmission from svn in Zeta 1.21 gives an error that don't exist in 0.72

Reported by: ModeenF Owned by:
Priority: Normal Milestone: Sometime
Component: libtransmission Version: 0.80
Severity: Blocker Keywords:
Cc:

Description

this are the error and the same line exist in 0.72 but don't returns an error libtransmission/platform.c: In function `ThreadFunc?': libtransmission/platform.c:209: warning: implicit declaration of function `signal' libtransmission/platform.c:209: `SIGINT' undeclared (first use in this function) libtransmission/platform.c:209: (Each undeclared identifier is reported only once libtransmission/platform.c:209: for each function it appears in.) libtransmission/platform.c:209: `SIG_IGN' undeclared (first use in this function)

I'm using Zeta 1.21 and same gcc as Haiku uses (2.95.x)

I would like to update the gui but as I cant build :)

Attachments (4)

transmission72.diff (1.1 KB) - added by ModeenF 14 years ago.
fix to build 0.72
transmission.diff (6.4 KB) - added by ModeenF 14 years ago.
this are a diff to make main trunc build (did not fix bug #266 and the changed that needs in configure)
transmission.2.diff (7.1 KB) - added by ModeenF 14 years ago.
silly me :) signal.h must be included :) this fix this ticet and more :) vill open a new one for basedir.
transmission.2.diff (6.8 KB) - added by ModeenF 14 years ago.
Remved the changed I did for configure as that would probably brake for others

Download all attachments as: .zip

Change History (10)

comment:1 Changed 14 years ago by charles

Looks like the SIGINT code was added by titer in r1401 on 01/19/07. The previous revision was r1356.

comment:2 Changed 14 years ago by charles

ModeenF: Could you confirm that 0.72 builds in Zeta 1.21?

comment:3 Changed 14 years ago by ModeenF

yes with a parch that "fixes" find_directory. This patch also show the version of gui and transmission separated.

Changed 14 years ago by ModeenF

fix to build 0.72

comment:4 Changed 14 years ago by ModeenF

I don't know but autogen.sh gives this error but I don't think this has to work in order to have Transmision build in Zeta. ./autogen.sh: line 2: autoreconf: command not found

some how basename and dirname don't work so -DHAVE_LIBGEN have to be removed for BEOS (or Zeta anyway) how do one remove -DHAVE_LIBGEN from configure for a specific OS?

so after removing the line that got the signal error (no I didn't fixed it) and remove -DHAVE_LIBGEN from the cinfigure I now having these errors /TRWindow.cpp:274: initialization to tr_stat_t *' from const tr_stat_t *' discards qualifiers same errors in these lines 275, 368, 369.

TRWindow.cpp:511: passing const tr_stat_t *' as argument 1 of TRTransfer::UpdateStatus?(tr_stat_t *, bool)' discards qualifiers but I think that these error has more connection to changes made to libtransmission :)

Changed 14 years ago by ModeenF

this are a diff to make main trunc build (did not fix bug #266 and the changed that needs in configure)

Changed 14 years ago by ModeenF

silly me :) signal.h must be included :) this fix this ticet and more :) vill open a new one for basedir.

comment:5 Changed 14 years ago by ModeenF

if you include the patch I Attached you can close this one.

Changed 14 years ago by ModeenF

Remved the changed I did for configure as that would probably brake for others

comment:6 Changed 14 years ago by charles

  • Resolution set to fixed
  • Status changed from new to closed

transmission.2.diff has been checked into svn r2549 and I've added your name to the credits. Thanks for the patch!

Note: See TracTickets for help on using tickets.