Hello,
 
I am running cygwin with Windows XP Professional Version 2002, service pack 2, 
on a Lenovo AMD Athlon 64 X2 Dual Core Processor 3800+.
 
I tried to make FLTK but I got an error, details attached.
Any suggestions?
 
Kind regards,
Udo
$ sh configure --prefix=/cygdrive/c/Programme/FLTK/fltk-2.0.x-r6149 
--enable-cygwin --enable-gl --enable-shared --enabl
e-threads --enable-jpeg --enable-zlib --enable-png --enable-cairo 
--enable-x11multithread --enable-xft --enable-xshm --
enable-xdbe --enable-xinerma --enable-exceptions --enable-rtti
configure: WARNING: Shared libraries are not supported under CygWin.
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
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 g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for nroff... /usr/bin/nroff
checking for htmldoc... no
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... 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 whether byte ordering is bigendian... no
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking whether the compiler recognizes bool as a built-in type... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/stdtypes.h usability... no
checking sys/stdtypes.h presence... no
checking for sys/stdtypes.h... no
checking for scandir... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for library containing pow... none required
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzopen in -lz... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking libpng/png.h usability... yes
checking libpng/png.h presence... yes
checking for libpng/png.h... yes
checking for png_read_rows in -lpng... yes
checking for png_get_valid... yes
checking for png_set_tRNS_to_alpha... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking if libsupc++ is required... yes
configure: creating ./config.status
config.status: creating makeinclude
config.status: WARNING:  makeinclude.in seems to ignore the --datarootdir 
setting
config.status: creating fltk.list
config.status: WARNING:  fltk.list.in seems to ignore the --datarootdir setting
config.status: creating fltk2-config
config.status: creating config.h

Libs: -lpthread -lmsimg32 -lole32 -luuid -lcomctl32 -lwsock32 -lsupc++
System image libs: -lpng -lfltk2_images -ljpeg -lz
Local image libs:
OpenGL libs: -lglu32 -lopengl32

Build targets: static shared


[EMAIL PROTECTED] /cygdrive/c/Programme/FLTK/fltk-2.0.x-r6149
$ make
=== making src ===
Compiling add_idle.cxx...
add_idle.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling addarc.cxx...
addarc.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling addcurve.cxx...
addcurve.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling Adjuster.cxx...
Adjuster.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling AlignGroup.cxx...
AlignGroup.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling AnsiWidget.cxx...
AnsiWidget.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling args.cxx...
args.cxx:1: warning: -fPIC ignored for target (all code is position independent)
Compiling BarGroup.cxx...
BarGroup.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling bmpImage.cxx...
bmpImage.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling Browser.cxx...
Browser.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Browser.cxx: In member function `virtual void BButton::layout()':
Browser.cxx:1751: warning: passing `float' for converting 1 of `void 
fltk::Rectangle::h(int)'
Compiling Browser_load.cxx...
Browser_load.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling Button.cxx...
Button.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling CheckButton.cxx...
CheckButton.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling Choice.cxx...
Choice.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling clip.cxx...
clip.cxx:1: warning: -fPIC ignored for target (all code is position independent)
Compiling Clock.cxx...
Clock.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling Color.cxx...
Color.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling color_chooser.cxx...
color_chooser.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling ComboBox.cxx...
ComboBox.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling compose.cxx...
compose.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling Cursor.cxx...
Cursor.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling CycleButton.cxx...
CycleButton.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling default_glyph.cxx...
default_glyph.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling Dial.cxx...
Dial.cxx:1: warning: -fPIC ignored for target (all code is position independent)
Compiling DiamondBox.cxx...
DiamondBox.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling dnd.cxx...
dnd.cxx:1: warning: -fPIC ignored for target (all code is position independent)
Compiling drawtext.cxx...
drawtext.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
drawtext.cxx: In function `void wrap(const char*, const char*, float, float, 
float, float (*)(const char*, int))':
drawtext.cxx:446: warning: converting to `int' from `float'
Compiling EngravedLabel.cxx...
EngravedLabel.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling error.cxx...
error.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling event_key_state.cxx...
event_key_state.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling file_chooser.cxx...
file_chooser.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling FileBrowser.cxx...
FileBrowser.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling FileChooser.cxx...
FileChooser.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling FileChooser2.cxx...
FileChooser2.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling FileIcon.cxx...
FileIcon.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling FileInput.cxx...
FileInput.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling filename_absolute.cxx...
filename_absolute.cxx:1: warning: -fPIC ignored for target (all code is 
position independent)
Compiling filename_ext.cxx...
filename_ext.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling filename_isdir.cxx...
filename_isdir.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling filename_list.cxx...
filename_list.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling filename_match.cxx...
filename_match.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling filename_name.cxx...
filename_name.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling fillrect.cxx...
fillrect.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling Fl_Menu_Item.cxx...
Fl_Menu_Item.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling FloatInput.cxx...
FloatInput.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling fltk_theme.cxx...
fltk_theme.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling Font.cxx...
Font.cxx:1: warning: -fPIC ignored for target (all code is position independent)
Compiling gifImage.cxx...
gifImage.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling Group.cxx...
Group.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling GSave.cxx...
GSave.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling HelpView.cxx...
HelpView.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling HighlightButton.cxx...
HighlightButton.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling Image.cxx...
Image.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
In file included from Image.cxx:92:
win32/Image.cxx: In member function `void fltk::Image::fetch_if_needed() const':
win32/Image.cxx:265: warning: comparison between signed and unsigned integer 
expressions
Compiling Input.cxx...
Input.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling InputBrowser.cxx...
InputBrowser.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling InvisibleWidget.cxx...
InvisibleWidget.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling Item.cxx...
Item.cxx:1: warning: -fPIC ignored for target (all code is position independent)
Compiling key_name.cxx...
key_name.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling LightButton.cxx...
LightButton.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling list_fonts.cxx...
list_fonts.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling load_plugin.cxx...
load_plugin.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling lock.cxx...
lock.cxx:1: warning: -fPIC ignored for target (all code is position independent)
Compiling Menu.cxx...
Menu.cxx:1: warning: -fPIC ignored for target (all code is position independent)
Compiling Menu_add.cxx...
Menu_add.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling Menu_global.cxx...
Menu_global.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling Menu_popup.cxx...
Menu_popup.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling MenuBar.cxx...
MenuBar.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling MenuWindow.cxx...
MenuWindow.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling message.cxx...
message.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling MultiImage.cxx...
MultiImage.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling NumericInput.cxx...
NumericInput.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling numericsort.cxx...
numericsort.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling Output.cxx...
Output.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling OvalBox.cxx...
OvalBox.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling overlay_rect.cxx...
overlay_rect.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling own_colormap.cxx...
own_colormap.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling PackedGroup.cxx...
PackedGroup.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling path.cxx...
path.cxx:1: warning: -fPIC ignored for target (all code is position independent)
Compiling PlasticBox.cxx...
PlasticBox.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling PopupMenu.cxx...
PopupMenu.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling Preferences.cxx...
Preferences.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling ProgressBar.cxx...
ProgressBar.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling RadioButton.cxx...
RadioButton.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling readimage.cxx...
readimage.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling RepeatButton.cxx...
RepeatButton.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling ReturnButton.cxx...
ReturnButton.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling RoundBox.cxx...
RoundBox.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling RoundedBox.cxx...
RoundedBox.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
Compiling run.cxx...
run.cxx:1: warning: -fPIC ignored for target (all code is position independent)
In file included from win32/run.cxx:70,
                 from run.cxx:158:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock.h:82:2: 
warning: #warning "fd_set and associated macros have been defined in sys/types. 
     This can cause runtime problems with W
32 sockets"
In file included from run.cxx:158:
win32/run.cxx:159: error: expected constructor, destructor, or type conversion 
before '(' token
win32/run.cxx:159: error: expected `,' or `;' before '(' token
win32/run.cxx:160: warning: `__stdcall__' attribute only applies to function 
types
win32/run.cxx:160: error: `HIMC' was not declared in this scope
win32/run.cxx:160: error: `LPCOMPOSITIONFORM' was not declared in this scope
win32/run.cxx:160: error: initializer expression list treated as compound 
expression
win32/run.cxx:161: warning: `__stdcall__' attribute only applies to function 
types
win32/run.cxx:161: error: `HIMC' was not declared in this scope
win32/run.cxx:161: error: expected primary-expression before ')' token
win32/run.cxx:161: error: initializer expression list treated as compound 
expression
win32/run.cxx:162: error: `HIMC' has not been declared
win32/run.cxx:162: error: ISO C++ forbids declaration of `parameter' with no 
type
win32/run.cxx:163: error: expected constructor, destructor, or type conversion 
before '(' token
win32/run.cxx:163: error: expected `,' or `;' before '(' token
win32/run.cxx: In function `bool fl_load_imm32()':
win32/run.cxx:182: error: `pfnImmGetContext' undeclared (first use this 
function)
win32/run.cxx:182: error: (Each undeclared identifier is reported only once for 
each function it appears in.)
win32/run.cxx:190: error: `pfnImmAssociateContext' undeclared (first use this 
function)
win32/run.cxx: In function `void fl_set_spot(fltk::Font*, fltk::Widget*, int, 
int)':
win32/run.cxx:236: error: `HIMC' does not name a type
win32/run.cxx:238: error: `HIMC' undeclared (first use this function)
win32/run.cxx:238: error: expected `;' before "himc"
win32/run.cxx:239: error: `himc' undeclared (first use this function)
win32/run.cxx:240: error: `himcold' undeclared (first use this function)
win32/run.cxx:241: error: `pfnImmAssociateContext' undeclared (first use this 
function)
win32/run.cxx:244: error: `COMPOSITIONFORM' undeclared (first use this function)
win32/run.cxx:244: error: expected `;' before "cfs"
win32/run.cxx:246: error: `cfs' undeclared (first use this function)
win32/run.cxx:246: error: `CFS_POINT' undeclared (first use this function)
win32/run.cxx:249: error: `pfnImmSetCompositionWindow' cannot be used as a 
function
win32/run.cxx:251: error: `pfnImmSetCompositionFontW' cannot be used as a 
function
win32/run.cxx:257: error: expected `;' before "himc"
make[1]: *** [run.o] Error 1
make: *** [all] Error 2

[EMAIL PROTECTED] /cygdrive/c/Programme/FLTK/fltk-2.0.x-r6149
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to