[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Trying to rebuild pcmcia-cs with fltk support



Hi,

As the subject says, I'm trying to build the pcmcia-cs package with fltk
support (for no good reason :) - I seem to have something wrong.

Ideas?  This isn't a big deal; I'm just trying to learn what's wrong and
how to fix it.

--
Nathan Norman
MidcoNet  410 South Phillips Avenue  Sioux Falls, SD
mailto:finn@midco.net           http://www.midco.net
finger finn@home.midco.net for PGP Key: (0xA33B86E9)

nnorman@gnu:/usr/local/src/pcmcia-cs-3.0.14 $ sudo dpkg-buildpackage -b -uc
no utmp entry available, using value of LOGNAME ("nnorman") at /usr/lib/dpkg/controllib.pl line 40.
no utmp entry available, using value of LOGNAME ("nnorman") at /usr/lib/dpkg/controllib.pl line 40.
dpkg-buildpackage: source package is pcmcia-cs
no utmp entry available, using value of LOGNAME ("nnorman") at /usr/lib/dpkg/controllib.pl line 40.
no utmp entry available, using value of LOGNAME ("nnorman") at /usr/lib/dpkg/controllib.pl line 40.
dpkg-buildpackage: source version is 3.0.14-2
no utmp entry available, using value of LOGNAME ("nnorman") at /usr/lib/dpkg/controllib.pl line 40.
no utmp entry available, using value of LOGNAME ("nnorman") at /usr/lib/dpkg/controllib.pl line 40.
dpkg-buildpackage: source maintainer is Brian Mays <brian@debian.org>
no utmp entry available, using value of LOGNAME ("nnorman") at /usr/lib/dpkg/controllib.pl line 40.
 debian/rules clean DEB_BUILD_ARCH=i386 DEB_BUILD_GNU_CPU=i386 DEB_BUILD_GNU_SYSTEM=linux DEB_BUILD_GNU_TYPE=i386-linux DEB_HOST_ARCH=i386 DEB_HOST_GNU_CPU=i386 DEB_HOST_GNU_SYSTEM=linux DEB_HOST_GNU_TYPE=i386-linux
test -f man/pcmcia.5 -a -f debian/rules
rm -f build build-modules
cat debian/control-source debian/control-cs \
  > debian/control
make clean
make[1]: Entering directory `/usr/local/src/pcmcia-cs-3.0.14'
set -e ; for d in modules clients cardmgr flash debug-tools man etc ; do make -C $d clean ; done
make[2]: Entering directory `/usr/local/src/pcmcia-cs-3.0.14/modules'
rm -f core core.* *.o .*.o *.s *.a *~ .depend .depfiles/*.d
make[2]: Leaving directory `/usr/local/src/pcmcia-cs-3.0.14/modules'
make[2]: Entering directory `/usr/local/src/pcmcia-cs-3.0.14/clients'
rm -f core core.* *.o .*.o *.s *.a *~ .depend .depfiles/*.d
make[2]: Leaving directory `/usr/local/src/pcmcia-cs-3.0.14/clients'
make[2]: Entering directory `/usr/local/src/pcmcia-cs-3.0.14/cardmgr'
rm -f core core.* *.o *.s *.a *~ .depend .depfiles/*.d
rm -f cardmgr cardctl  probe
make[2]: Leaving directory `/usr/local/src/pcmcia-cs-3.0.14/cardmgr'
make[2]: Entering directory `/usr/local/src/pcmcia-cs-3.0.14/flash'
rm -f core core.* *.o *.s *.a *~ .depend .depfiles/*.d
rm -f ftl_format ftl_check
make[2]: Leaving directory `/usr/local/src/pcmcia-cs-3.0.14/flash'
make[2]: Entering directory `/usr/local/src/pcmcia-cs-3.0.14/debug-tools'
rm -f core core.* *.o *.s *.a *~ .depend .depfiles/*.d
rm -f dump_tuples dump_i365 dump_tcic dump_cisreg
make[2]: Leaving directory `/usr/local/src/pcmcia-cs-3.0.14/debug-tools'
make[2]: Entering directory `/usr/local/src/pcmcia-cs-3.0.14/man'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/usr/local/src/pcmcia-cs-3.0.14/man'
make[2]: Entering directory `/usr/local/src/pcmcia-cs-3.0.14/etc'
set -e ; make -C cis clean
make[3]: Entering directory `/usr/local/src/pcmcia-cs-3.0.14/etc/cis'
rm -f *.dat
make[3]: Leaving directory `/usr/local/src/pcmcia-cs-3.0.14/etc/cis'
make[2]: Leaving directory `/usr/local/src/pcmcia-cs-3.0.14/etc'
rm -f .prereq.ok config.mk include/pcmcia/config.h
rm -f include/linux/modversions.h
make[1]: Leaving directory `/usr/local/src/pcmcia-cs-3.0.14'
rm -f modules/linux/config.h modules/linux/version.h \
  include/pcmcia/config.h cardmgr/cardinfo debug-tools/dump_cis \
  debug-tools/pack_cis config.out
rm -f -r */.depfiles
rm -f -r *~ */*~ debian/tmp debian/tmp-modules debian/src debian/*~ \
  debian/files debian/control.tmp debian/substvars	\
  debian/KVERS debian/MODVERS
 debian/rules build DEB_BUILD_ARCH=i386 DEB_BUILD_GNU_CPU=i386 DEB_BUILD_GNU_SYSTEM=linux DEB_BUILD_GNU_TYPE=i386-linux DEB_HOST_ARCH=i386 DEB_HOST_GNU_CPU=i386 DEB_HOST_GNU_SYSTEM=linux DEB_HOST_GNU_TYPE=i386-linux
KVERS="" ./Configure -n --kernel="/usr/src/linux" --srctree --cardbus

    -------- Linux PCMCIA Configuration Script --------

The default responses for each question are correct for most users.
Consult the PCMCIA-HOWTO for additional info about each option.

Linux source directory [/usr/src/linux]

The kernel source tree is version 2.2.13pre14.
WARNING: the current kernel is actually version 2.2.13pre3.
The current kernel build date is Mon Sep 27 09:20:02 1999.

Alternate target install directory []
  Module install directory [/lib/modules/2.2.13pre14]
C compiler name [gcc]
Linker name [ld]
Compiler flags for debugging []
Build 'trusting' versions of card utilities (y/n) [n]

The PCMCIA drivers need to be compiled to match the kernel they
will be used with, or some or all of the modules may fail to load.
If you are not sure what to do, please consult the PCMCIA-HOWTO.

How would you like to set kernel-specific options?
    1 - Read from the currently running kernel
    2 - Read from the Linux source tree
    3 - Set each option by hand (experts only!)
Enter option (1-3) [2]

Kernel configuration options:
    Symmetric multiprocessing support is \c
disabled.
    PCI BIOS support is \c
enabled.
    Advanced Power Management (APM) support is \c
enabled.
    SCSI support is \c
enabled.
    Networking support is \c
enabled.
     Radio network interface support is \c
disabled.
     Token Ring device support is \c
disabled.
    Module version checking is \c
enabled.
    /proc filesystem support is \c
enabled.
    Maximum physical memory: 1GB

Your module utilities are version 2.1.121.

It looks like you have a System V init file setup.

X Windows include files found.
/usr/lib/libfltk.so and /usr/include/FL/forms.H found.

Configuration successful.

rm -f build build-modules
test -f man/pcmcia.5 -a -f debian/rules
umask 022; make \
  DIRS="`sed -n '/DIRS = /{;s///;s/modules clients//;p;q;}' Makefile`" \
  all
make[1]: Entering directory `/usr/local/src/pcmcia-cs-3.0.14'
set -e ; for d in cardmgr flash debug-tools man etc ; do make -C $d ; done
make[2]: Entering directory `/usr/local/src/pcmcia-cs-3.0.14/cardmgr'
gcc  -MD -O2 -Wall -Wstrict-prototypes -pipe -I../include -I/usr/src/linux/include -I../modules -I/usr/X11R6/include -I/usr/X11/include -I/usr/X11R6/include/X11 -c cardmgr.c
cardmgr.c: In function `load_config':
cardmgr.c:534: warning: suggest parentheses around assignment used as truth value
cardmgr.c:538: warning: suggest parentheses around assignment used as truth value
cardmgr.c: In function `do_insert':
cardmgr.c:876: warning: `ret' might be used uninitialized in this function
cardmgr.c: In function `init_sockets':
cardmgr.c:1240: warning: `fd' might be used uninitialized in this function
gcc  -O2 -pipe -I../include -I/usr/src/linux/include -I../modules -I/usr/X11R6/include -I/usr/X11/include -I/usr/X11R6/include/X11 -c yacc_config.c
gcc  -O2 -pipe -I../include -I/usr/src/linux/include -I../modules -I/usr/X11R6/include -I/usr/X11/include -I/usr/X11R6/include/X11 -c lex_config.c
gcc    cardmgr.o yacc_config.o lex_config.o   -o cardmgr
gcc  -O2 -Wall -Wstrict-prototypes -pipe -I../include -I/usr/src/linux/include -I../modules -I/usr/X11R6/include -I/usr/X11/include -I/usr/X11R6/include/X11   cardctl.c   -o cardctl
gcc  -O2 -Wall -Wstrict-prototypes -pipe -I../include -I/usr/src/linux/include -I../modules -I/usr/X11R6/include -I/usr/X11/include -I/usr/X11R6/include/X11   ifport.c   -o ifport
gcc  -O2 -Wall -Wstrict-prototypes -pipe -I../include -I/usr/src/linux/include -I../modules -I/usr/X11R6/include -I/usr/X11/include -I/usr/X11R6/include/X11   ifuser.c   -o ifuser
gcc  -O2 -Wall -Wstrict-prototypes -pipe -I../include -I/usr/src/linux/include -I../modules -I/usr/X11R6/include -I/usr/X11/include -I/usr/X11R6/include/X11   scsi_info.c   -o scsi_info
gcc  -O2 -Wall -Wstrict-prototypes -pipe -I../include -I/usr/src/linux/include -I../modules -I/usr/X11R6/include -I/usr/X11/include -I/usr/X11R6/include/X11   ide_info.c   -o ide_info
g++ -MD -O2 -Wall -Wstrict-prototypes -pipe -I../include -I/usr/src/linux/include -I../modules -I/usr/X11R6/include -I/usr/X11/include -I/usr/X11R6/include/X11 -c cardinfo.c
cardinfo.c: In function `void do_update(FL_OBJECT *, long int)':
cardinfo.c:288: warning: comparison between signed and unsigned
cardinfo.c:289: warning: comparison between signed and unsigned
gcc   -o cardinfo cardinfo.o \
    -L/usr/X11R6/lib -L/usr/X11/lib -lfltk -lX11 -lm
/usr/lib/libfltk.so: undefined reference to `glColor3ub'
/usr/lib/libfltk.so: undefined reference to `glPixelStorei'
/usr/lib/libfltk.so: undefined reference to `glPopAttrib'
/usr/lib/libfltk.so: undefined reference to `glDrawPixels'
/usr/lib/libfltk.so: undefined reference to `glXUseXFont'
/usr/lib/libfltk.so: undefined reference to `glFlush'
/usr/lib/libfltk.so: undefined reference to `glListBase'
/usr/lib/libfltk.so: undefined reference to `glRasterPos2f'
/usr/lib/libfltk.so: undefined reference to `glDisable'
/usr/lib/libfltk.so: undefined reference to `glViewport'
/usr/lib/libfltk.so: undefined reference to `glBegin'
/usr/lib/libfltk.so: undefined reference to `glScissor'
/usr/lib/libfltk.so: undefined reference to `glDrawBuffer'
/usr/lib/libfltk.so: undefined reference to `glXMakeCurrent'
/usr/lib/libfltk.so: undefined reference to `glVertex2i'
/usr/lib/libfltk.so: undefined reference to `glRasterPos2i'
/usr/lib/libfltk.so: undefined reference to `glXChooseVisual'
/usr/lib/libfltk.so: undefined reference to `glGenLists'
/usr/lib/libfltk.so: undefined reference to `glGetIntegerv'
/usr/lib/libfltk.so: undefined reference to `glPushAttrib'
/usr/lib/libfltk.so: undefined reference to `glCallLists'
/usr/lib/libfltk.so: undefined reference to `glXDestroyContext'
/usr/lib/libfltk.so: undefined reference to `glXWaitGL'
/usr/lib/libfltk.so: undefined reference to `glLoadIdentity'
/usr/lib/libfltk.so: undefined reference to `glXWaitX'
/usr/lib/libfltk.so: undefined reference to `glOrtho'
/usr/lib/libfltk.so: undefined reference to `glXReleaseBuffersMESA'
/usr/lib/libfltk.so: undefined reference to `glEnable'
/usr/lib/libfltk.so: undefined reference to `glXSwapBuffers'
/usr/lib/libfltk.so: undefined reference to `glXCreateContext'
/usr/lib/libfltk.so: undefined reference to `glXGetConfig'
/usr/lib/libfltk.so: undefined reference to `glEnd'
collect2: ld returned 1 exit status
make[2]: *** [cardinfo] Error 1
make[2]: Leaving directory `/usr/local/src/pcmcia-cs-3.0.14/cardmgr'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/pcmcia-cs-3.0.14'
make: *** [build] Error 2
nnorman@gnu:/usr/local/src/pcmcia-cs-3.0.14 $ dpkg -l | grep dev
[ more pkgs not shown ]
ii  libc6-dev       2.1.2-5        GNU C Library: Development libraries and hea
ii  libfltk-dev     1.0.6-1        The Fast Light Toolkit, and the Fluid user i
ii  libgl-dev       0.0.19990506   OpenGL library - development
ii  xlib6g-dev      3.3.5-1        include files and libraries for X client dev


Reply to: