X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Sun, 22 Jul 2012 13:00:20 -0400 Message-ID: Subject: Problems building a program (see enclosed) From: Gregg Levine To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=windows-1252 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q6MH0fMc021735 Hello! This output from the script program is a capture of the attempts to build the PC side of a program called dc-load-1.0.3 which was written about ten years ago for the users of the Dreamcast, itself a former video game from Sega. --- $ make make -C misc make[1]: Entering directory `/usr/local/src/dcload-1.0.3/host-src/misc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/src/dcload-1.0.3/host-src/misc' make -C tool make[1]: Entering directory `/usr/local/src/dcload-1.0.3/host-src/tool' gcc -O2 -DBAUD_RATE=57600 -DSERIALDEVICE="\"/dev/ttyS0\"" -DHAVE_GETOPT -I../../minilzo.106 -I/usr/local/dcdev/include -o dc-tool.o -c dc-tool.c dc-tool.c:185:14: warning: ‘optarg’ redeclared without dllimport attribute: previous dllimport ignored dc-tool.c: In function ‘recv_data’: dc-tool.c:295:6: error: lvalue required as left operand of assignment dc-tool.c:309:3: error: lvalue required as left operand of assignment dc-tool.c: In function ‘open_serial’: dc-tool.c:432:5: warning: incompatible implicit declaration of built-in function ‘memset’ dc-tool.c: In function ‘upload’: dc-tool.c:596:33: error: ‘asection’ has no member named ‘_raw_size’ dc-tool.c:597:18: error: ‘asection’ has no member named ‘_raw_size’ dc-tool.c:598:19: error: ‘asection’ has no member named ‘_raw_size’ dc-tool.c:599:26: error: ‘asection’ has no member named ‘_raw_size’ dc-tool.c:600:64: error: ‘asection’ has no member named ‘_raw_size’ dc-tool.c:607:21: error: ‘asection’ has no member named ‘_raw_size’ dc-tool.c:609:28: error: ‘asection’ has no member named ‘_raw_size’ dc-tool.c: In function ‘main’: dc-tool.c:878:24: warning: incompatible implicit declaration of built-in function ‘strlen’ dc-tool.c:879:6: warning: incompatible implicit declaration of built-in function ‘strcpy’ Makefile:13: recipe for target `dc-tool.o' failed make[1]: *** [dc-tool.o] Error 1 make[1]: Leaving directory `/usr/local/src/dcload-1.0.3/host-src/tool' Makefile:9: recipe for target `tool' failed make: *** [tool] Error 2 /usr/local/src/dcload-1.0.3/host-src ----- It happens I have here one which was built using the release of Cygwin that was available then. I get a -bash bad address response from it. Suggestions please folks. My next step will be to build a cross compiler for building SH4 binaries for the unit on Cygwin. Same will end up being done on Linux..... ----- Gregg C Levine gregg DOT drwho8 AT gmail DOT com "This signature fought the Time Wars, time and again." -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple