? getopt_long(), iopl() and ioperm() ?
Peter Cornelius
pcc at gmx.net
Sat Oct 18 16:59:48 PDT 2003
Hi there,
I'm hacking at a piece of code that I want to turn into a port. It's from
Linux and uses libpci and some other 'strange' functions.
While I think that I've managed to modify the libpci port to install the
required lib, I'm more or less lost at getopt_long() which I
assume is in the libgnugetopt port. However, for some reason, even if I
include it explicitly (#include "/usr/local/include/getopt.h"), I
run into problems. Please note that I'm not a programmer at all, so it's
very much hacking along, so I may look for someone patient
to bear with me ;-) But I am willing to learn.
A similar story applies to the iopl() and the ioperm() functions which are
used in a part of the code which I personally don't require
but others may (if this ever reaches port status which I hope it does ;-)).
For these functions, I don't even know how to replace
them.
Well, I think there still is some bug in the configure script that goes with
it, but basically that's the story for the time being. Hints
are very much so appreciated, though I may need some time to think them over
and apply them due to my limited programming
abilities.
Thanks a lot for reading this far,
all the best,
Peter.
PS: Please be so kind and keep me Cc:'ed on this matter, it helps me to note
replies earlier and ensures a slightly more timely
response, thank you!
--
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService
Jetzt kostenlos anmelden unter http://www.gmx.net
+++ GMX - die erste Adresse für Mail, Message, More! +++
More information about the freebsd-questions
mailing list