Can anyone help me decipher the problem with compiling these under
debian etch and the 2.6 kernel? Is it just the gcc version (4.0.3)?
When I try to run the executable twiddler, I get "bash:
/usr/bin/twiddler: No such file or directory" -- although twiddler is
there and is executable, and the /etc/twid_defaults.ini is in place and
world readable, so I assume that there must be some other file it's
looking for and can't find.
And if I try to run a2x I get:
a2x: can't load dynamic linker '/lib/ld.so nor /usr/i486-linux/lib/ld.so'
And there is no /lib/ld.so, and of course no /usr/i486-linux/lib/ld.so
Surely someone has been through this before, although I've numerous
searches on the archives to no avail thus far.
Here's the output of running make for twiddler:
gcc -O3 -DA2X_COMMANDLINE='a2x -a -b -U' -DDEFAULT_DEVICE='/dev/ttyS0'
-DDEFAULT_INI_FILE='/etc/twiddler_defaults.ini' -DDEFAULT_X_VT=7
-DBLANK_DEFAULT=20 -s -o twiddler twid.c
twid.c: In function ‘open_serial’:
twid.c:672: error: ‘TIOCM_DTR’ undeclared (first use in this function)
twid.c:672: error: (Each undeclared identifier is reported only once
twid.c:672: error: for each function it appears in.)
make: *** [twiddler] Error 1
And here is is for a2x (the xmkmf seems to work okay):
rm -f a2x
gcc -m32 -o a2x -g -O2 -fno-strict-aliasing a2x.o -lXmu -lXt -lSM
-lICE -lXext -lX11 -lXtst -lXext -lX11 -lm
/usr/bin/ld: cannot find -lXtst
collect2: ld returned 1 exit status
make: *** [a2x] Error 1
--
Harmon Seaver
_______________________________________________
Wear-Hard mailing list
http://www.haven.org/mailman/listinfo/wear-hard
From Wear-Hard Mailing list Archive (WH)
Maintained by R. Paul McCarty
Archive created with babymail