Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Oct 2003 01:59:45 +0200 (MEST)
From:      "Peter Cornelius" <pcc@gmx.net>
To:        FreeBSD-Questions@FreeBSD.Org
Subject:   ? getopt_long(), iopl() and ioperm() ?
Message-ID:  <31243.1066521585@www67.gmx.net>

next in thread | raw e-mail | index | archive | help
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! +++



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31243.1066521585>