LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-16-2008, 10:09 AM   #1
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Rep: Reputation: 33
Problems when compiling cdw


Well, the title says it all. I get a lot of warning-output. I don't know if I can post my whole output of ./configure and make. It's kinda long but should explain why I can't compile it. Anyway I redirected the standard output and error output like this:

./configure &> /path/file
make &> /patch/otherfile

I'm absolutely no expert in compiling my own software but it looks to me as if ./configure runs just fine and make just doesn't know what to do with the source code.

I also deleted a few lines in between because it was way too long. I also deleted gcc -DHAVE ... lines because they were very long and messing the page layout up.

./configure:
Code:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for mkisofs... /usr/bin/mkisofs
checking for cdrecord... cdrecord
checking for growisofs... /usr/bin/growisofs
checking for dvd+rw-mediainfo... /usr/bin/dvd+rw-mediainfo
checking for dvd+rw-format... /usr/bin/dvd+rw-format
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for unistd.h... (cached) yes
checking ncursesw/form.h usability... yes
checking ncursesw/form.h presence... yes
checking for ncursesw/form.h... yes
checking ncursesw/menu.h usability... yes
checking ncursesw/menu.h presence... yes
checking for ncursesw/menu.h... yes
checking ncursesw/ncurses.h usability... yes
checking ncursesw/ncurses.h presence... yes
checking for ncursesw/ncurses.h... yes
checking cdio/cdio.h usability... yes
checking cdio/cdio.h presence... yes
checking for cdio/cdio.h... yes
checking cdio/mmc.h usability... yes
checking cdio/mmc.h presence... yes
checking for cdio/mmc.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for struct stat.st_blocks... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether closedir returns void... no
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether lstat accepts an empty string... no
checking whether lstat dereferences a symlink specified with a trailing slash... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes

checking for GNU libc compatible realloc... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for getpass... yes
checking for mempcpy... yes
checking for memset... yes
checking for mkdir... yes
checking for regcomp... yes
checking for setlocale... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strspn... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

make

Code:
make  all-recursive
make[1]: Map '/usr/src/cdw_0.3.91/cdw' wordt binnengegaan
Making all in src
make[2]: Map '/usr/src/cdw_0.3.91/cdw/src' wordt binnengegaan
blank_wizard.c: In function ‘blank_wizard’:
blank_wizard.c:126: warning: ISO C90 forbids mixed declarations and code
blank_wizard.c:161: warning: ISO C90 forbids mixed declarations and code
blank_wizard.c:173: warning: ISO C90 forbids mixed declarations and code
blank_wizard.c:203: warning: ISO C90 forbids mixed declarations and code
blank_wizard.c: In function ‘blank_wizard_driver’:
blank_wizard.c:255: warning: ISO C90 forbids mixed declarations and code
blank_wizard.c:275:5: warning: "/*" within comment
blank_wizard.c: In function ‘blank_wizard_dropdown_driver’:
blank_wizard.c:381: warning: ISO C90 forbids mixed declarations and code
blank_wizard.c:390: warning: ISO C90 forbids mixed declarations and code
blank_wizard.c:410: warning: ISO C90 forbids mixed declarations and code
blank_wizard.c:378: warning: unused parameter ‘id’
mv -f .deps/blank_wizard.Tpo .deps/blank_wizard.Po
cdda2wav.c: In function ‘poor_man_cdda2wav’:
cdda2wav.c:115: warning: ISO C90 forbids mixed declarations and code
cdda2wav.c:129: warning: ISO C90 forbids mixed declarations and code
cdda2wav.c:165: warning: ISO C90 forbids mixed declarations and code
cdda2wav.c:168: warning: ISO C90 forbids mixed declarations and code
cdda2wav.c:175: warning: ISO C90 forbids mixed declarations and code
mv -f .deps/cdda2wav.Tpo .deps/cdda2wav.Po
ddb.o cddb.c
cddb.c:360:6: warning: C++ style comments are not allowed in ISO C90
cddb.c:360:6: warning: (this will be reported only once per input file)
mv -f .deps/cddb.Tpo .deps/cddb.Po
cdrecord_interface.c
cdrecord_interface.c: In function ‘run_command_cdrecord_write_direct’:
cdrecord_interface.c:174: warning: ISO C90 forbids mixed declarations and code
cdrecord_interface.c:179: warning: ISO C90 forbids mixed declarations and code
cdrecord_interface.c:195: warning: ISO C90 forbids mixed declarations and code
cdrecord_interface.c:208: warning: ISO C90 forbids mixed declarations and code
cdrecord_interface.c: In function ‘run_command_cdrecord_blank_cd’:
cdrecord_interface.c:370: warning: ISO C90 forbids mixed declarations ...
...

...


...


...


...

mv -f .deps/processwin.Tpo .deps/processwin.Po
thread.c: In function ‘print_stdout’:
thread.c:84: warning: unused parameter ‘dummy’
thread.c: In function ‘print_stderr’:
thread.c:131: warning: unused parameter ‘dummy’
thread.c: In function ‘run_command’:
thread.c:254: warning: initializer element is not computable at load time
thread.c:254: warning: initialization discards qualifiers from pointer target type
thread.c:254: warning: ISO C90 forbids mixed declarations and code
thread.c:281:12: warning: C++ style comments are not allowed in ISO C90
thread.c:281:12: warning: (this will be reported only once per input file)
mv -f .deps/thread.Tpo .deps/thread.Po
utils.o utils.c
utils.c: In function ‘after_event’:
utils.c:56: warning: unused parameter ‘adddic’
utils.c: In function ‘_dirsize’:
utils.c:197: warning: ISO C90 forbids mixed declarations and code
utils.c:207: warning: ISO C90 forbids mixed declarations and code
utils.c: In function ‘clean_up_child_process’:
utils.c:237: warning: unused parameter ‘signal_number’
utils.c: In function ‘process_commandline_args’:
utils.c:253: warning: unused parameter ‘argc’
utils.c: In function ‘is_valid_path’:
utils.c:363: warning: comparison between signed and unsigned
utils.c:514:3: warning: C++ style comments are not allowed in ISO C90
utils.c:514:3: warning: (this will be reported only once per input file)
utils.c: In function ‘get_tmp_dir’:
utils.c:578: warning: ISO C90 forbids mixed declarations and code
utils.c: In function ‘ltrim’:
utils.c:633: warning: return discards qualifiers from pointer target type
utils.c: In function ‘my_itoa2’:
utils.c:770: warning: ISO C90 forbids mixed declarations and code
utils.c:777: warning: ISO C90 forbids mixed declarations and code
utils.c: In function ‘disc_ready_for_write’:
utils.c:1048: warning: ISO C90 forbids mixed declarations and code
utils.c:1042: warning: unused parameter ‘mode’
utils.c: In function ‘input_string_security_parser’:
utils.c:1096: warning: ISO C90 forbids mixed declarations and code
mv -f .deps/utils.Tpo .deps/utils.Po
write_wizard.c: In function ‘write_wizard’:
write_wizard.c:179: warning: ISO C90 forbids mixed declarations and code
write_wizard.c:266: warning: ISO C90 forbids mixed declarations and code
write_wizard.c:185: warning: unused variable ‘focus_color’
write_wizard.c: In function ‘write_wizard_driver’:
write_wizard.c:319: warning: ISO C90 forbids mixed declarations and code
write_wizard.c:349: warning: ISO C90 forbids mixed declarations and code
write_wizard.c:364: warning: ISO C90 forbids mixed declarations and code
write_wizard.c: In function ‘write_wizard_dropdown_driver’:
write_wizard.c:501: warning: ISO C90 forbids mixed declarations and code
write_wizard.c:511: warning: ISO C90 forbids mixed declarations and code
write_wizard.c:550: warning: ISO C90 forbids mixed declarations and code
write_wizard.c:498: warning: unused parameter ‘id’
write_wizard.c: In function ‘speed_dropdown_labels_build’:
write_wizard.c:633: warning: ISO C90 forbids mixed declarations and code
write_wizard.c:708: warning: ISO C90 forbids mixed declarations and code
write_wizard.c: In function ‘mode_dropdown_labels_build’:
write_wizard.c:876: warning: ISO C90 forbids mixed declarations and code
write_wizard.c:918: warning: ISO C90 forbids mixed declarations and code
make[2]: Map '/usr/src/cdw_0.3.91/cdw/src' wordt verlaten
make[2]: Map '/usr/src/cdw_0.3.91/cdw' wordt binnengegaan
make[2]: Map '/usr/src/cdw_0.3.91/cdw' wordt verlaten
make[1]: Map '/usr/src/cdw_0.3.91/cdw' wordt verlaten

Anyone an ID what is causing this output?
 
Old 11-16-2008, 01:57 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
"No problems when compiling cdw" !
No errors shown, just warnings.
(If you have the perfect code together with a perfect
compiler, there will sometimes be no warnings)

http://www.icewalkers.com/Linux/Soft...16710/cdw.html
Quote:
Version : 0.3.91 [Development]
I read [Development] as not yet finished development.

And by the way : compiles fine, and shows a nice ncurses GUI.

Last edited by knudfl; 11-16-2008 at 02:01 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing cdw cd writing aplication on Debian testing electronpusher Debian 1 07-30-2008 11:49 AM
invalid unicode (cdw) hDUQUE Fedora 3 03-19-2008 04:11 PM
LXer: CDW to Sell Oracle Unbreakable Linux Support LXer Syndicated Linux News 0 11-18-2007 12:10 PM
Problems Compiling Problems With GCC And C++ phnxbn Linux - Software 0 11-02-2004 05:49 PM
Problems installing amsn (TK compiling problems) JNewton Linux - Software 0 05-24-2004 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration