New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No-longer builds on non-Windows #6

Closed
FauxFaux opened this Issue Oct 9, 2011 · 2 comments

Comments

2 participants
@FauxFaux
Owner

FauxFaux commented Oct 9, 2011

Some of the changes break compilation on at least Linux (Debian x64).

PuTTyTray/unix% git describe
p0.61-t003-2-gfca5cbc

/PuTTyTray/unix% make
gcc  -g -O2 -Wall -Werror  -DHAVE_CONFIG_H -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I.././ -I../charset/ -I../windows/ -I../windows/re_lib/ -I../unix/ -I../macosx/  -c ../be_all_s.c
In file included from ../be_all_s.c:7:
../putty.h:719: error: âMAX_PATHâ undeclared here (not in a function)
make: *** [be_all_s.o] Error 1

Even if the functionality isn't going to be enabled on non-Windows, the source tree should still compile on all the original platforms.

@artifexor

This comment has been minimized.

Show comment
Hide comment
@artifexor

artifexor Jan 2, 2012

Add -DMAX_PATH=FILENAME_MAX to CFLAGS on Unix platform. I do not get how Recipe works.

Later I get the following error:

cc -O2 -Wall -Werror -g -I.././ -I../charset/ -I../windows/ -I../windows/re_lib/ -I../unix/ -I../macosx/ -D _FILE_OFFSET_BITS=64 -DMAX_PATH=FILENAME_MAX -c ../unix/uxstore.c
../unix/uxstore.c:443: error: conflicting types for 'enum_settings_start'
.././storage.h:76: error: previous declaration of 'enum_settings_start' was here
gmake: *** [uxstore.o] Error 1

I am using FreeBSD 8.2 with gcc 4.2.1.

artifexor commented Jan 2, 2012

Add -DMAX_PATH=FILENAME_MAX to CFLAGS on Unix platform. I do not get how Recipe works.

Later I get the following error:

cc -O2 -Wall -Werror -g -I.././ -I../charset/ -I../windows/ -I../windows/re_lib/ -I../unix/ -I../macosx/ -D _FILE_OFFSET_BITS=64 -DMAX_PATH=FILENAME_MAX -c ../unix/uxstore.c
../unix/uxstore.c:443: error: conflicting types for 'enum_settings_start'
.././storage.h:76: error: previous declaration of 'enum_settings_start' was here
gmake: *** [uxstore.o] Error 1

I am using FreeBSD 8.2 with gcc 4.2.1.

FauxFaux added a commit that referenced this issue Jan 14, 2012

FauxFaux added a commit that referenced this issue Feb 16, 2012

FauxFaux added a commit that referenced this issue Apr 3, 2012

FauxFaux added a commit that referenced this issue Apr 6, 2012

FauxFaux added a commit that referenced this issue Oct 4, 2012

FauxFaux added a commit that referenced this issue Oct 4, 2012

FauxFaux added a commit that referenced this issue Oct 25, 2012

FauxFaux added a commit that referenced this issue Nov 22, 2012

FauxFaux added a commit that referenced this issue Jan 12, 2013

FauxFaux added a commit that referenced this issue Feb 8, 2013

FauxFaux added a commit that referenced this issue Feb 8, 2013

FauxFaux added a commit that referenced this issue Mar 19, 2013

FauxFaux added a commit that referenced this issue Apr 13, 2013

FauxFaux added a commit that referenced this issue Jun 1, 2013

FauxFaux added a commit that referenced this issue Jun 1, 2013

FauxFaux added a commit that referenced this issue Jul 13, 2013

FauxFaux added a commit that referenced this issue Jul 14, 2013

FauxFaux added a commit that referenced this issue Aug 6, 2013

FauxFaux added a commit that referenced this issue Aug 6, 2013

FauxFaux added a commit that referenced this issue Aug 7, 2013

FauxFaux added a commit that referenced this issue Aug 7, 2013

@FauxFaux

This comment has been minimized.

Show comment
Hide comment
@FauxFaux

FauxFaux Aug 11, 2013

Owner

The url launch stuff doesn't work well, but at least it actually builds.

Owner

FauxFaux commented Aug 11, 2013

The url launch stuff doesn't work well, but at least it actually builds.

@FauxFaux FauxFaux closed this Aug 11, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment