Opened 19 years ago

Closed 19 years ago

#4040 closed defect (fixed)

mp3splt fails to build

Reported by: k_karanikolas@… Owned by: blb@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

When compiling with the 10.4 default compiler (GCC-4) compilation stops at file mp3splt.c This is because the declaration of function parse_outformat in splt.h:99 differs from the one in mp3splt.c

Suggest changing line 99 in splt.h from: int parse_outformat(char *s, char format[][], int cddboption);

To: int parse_outformat(char *s, char format[OUTNUM][MAXOLEN], int cddboption);

which is the signature of this function in mp3splt.c

Attachments (1)

BuildLog.txt (11.7 KB) - added by k_karanikolas@… 19 years ago.
Build Log

Download all attachments as: .zip

Change History (5)

comment:1 Changed 19 years ago by benwill@…

WFM on 10.4.2/GCC4.0

comment:2 Changed 19 years ago by k_karanikolas@…

(In reply to comment #1)

WFM on 10.4.2/GCC4.0

I have XCode 2.1 Installed. Could that be the cause of the problem ? gcc -v reports:

Using built-in specs. Target: powerpc-apple-darwin8 Configured with: /private/var/tmp/gcc/gcc-5026.obj~19/src/configure --disable-checking --prefix=/ usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/ [cg][+.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/gcc/darwin/4.0/c++ --build=powerpc- apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8 Thread model: posix gcc version 4.0.0 (Apple Computer, Inc. build 5026)

comment:3 Changed 19 years ago by blb@…

Owner: changed from darwinports-bugs@… to blb@…

Kostas, can you attach the output of a 'port -dv build mp3splt' when it fails? It works on my system without issue as well (10.4.2, but Xcode 2.0).

Changed 19 years ago by k_karanikolas@…

Attachment: BuildLog.txt added

Build Log

comment:4 Changed 19 years ago by blb@…

Resolution: fixed
Status: newclosed

Your fix has been committed, thanks for the report.

Note: See TracTickets for help on using tickets.