FLTK logo

Re: msys make error for 1.3

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.bugs  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: msys make error for 1.3 Albrecht Schlosser Oct 24, 2011  
 
On 23.10.2011 02:06, Gregory Dodd wrote:
> assuming operator error...

maybe... ;-)

> After multiple tries (including total re-installs of mingw-msys) make gives me the following error (paths shortened):
>
> --------
>
> In file included from ../../include/objbase.h:12:0,
>                   from ../include/ole2.h:9,
>                   from ../../include/windows.h:114,
>                   from ../../include/winsock2.h:22,
>                   from Fl.cxx:54:
> ./../include/stdlib.h:521:36: error: 'long long int strtol' redeclared as different kind of symbol
> ./../include/stdlib.h:329:38: error: previous declaration of 'long int strtol(const char*, char**, int)'
> ./../include/stdlib.h:521:36: error: expected primary-expression before 'const'
> ./../include/stdlib.h:521:36: error: expected ')' before 'const'
> make[1]: *** [Fl.o] Error 1
> make: *** [all] Error 1

We had this already, and it was not a FLTK problem, so let me guess:

you're using a subversion checkout, and you used a Windows svn client,
maybe "tortoise svn" ?

Then this ought to help:

$ d2u configh.in

(du2 = dos2unix changes line endings from DOS/CR-LF to UNIX/LF).

You can also use your favourite editor if it supports to change the
file's line endings (e.g. notepad++).

After converting the file, please run autoconf and configure again.

See also: http://www.fltk.org/str.php?L2651

---

BTW: Please do not post directly to fltk.bugs, since it is for our
bug tracking system (fltk.org/str.php). If you are not sure whether
you found a bug or you need some help, please ask in fltk.general,
else post bug reports at <http://fltk.org/str.php>. Thanks.

Albrecht
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.