Opened 16 years ago
Closed 16 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)
Change History (10)
comment:1 Changed 16 years ago by charles
comment:2 Changed 16 years ago by charles
ModeenF: Could you confirm that 0.72 builds in Zeta 1.21?
comment:3 Changed 16 years ago by ModeenF
yes with a parch that "fixes" find_directory. This patch also show the version of gui and transmission separated.
comment:4 Changed 16 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 16 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 16 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 16 years ago by ModeenF
if you include the patch I Attached you can close this one.
Changed 16 years ago by ModeenF
Remved the changed I did for configure as that would probably brake for others
comment:6 Changed 16 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!
Looks like the SIGINT code was added by titer in r1401 on 01/19/07. The previous revision was r1356.