Billy Davis, On Wednesday September 11, 2002 11:57, Billy Davis wrote: <snip> > I don't know the answer to that. The 'C' modules that I have compiled > under the standard RedHat release include 'read' and 'write' statements, > instead of 'put' and 'get', but they compile just fine. I just do not know > how it knows about 'read' and 'write' > <snip> > I looked at the dbopen manpage but it does not seem to concide with what I > have. For example, the source statements in my program that read a record, > look like this: > > fd is the filename > record is the record number > nbytes is the number of bytes to read > > if (lseek(fd,record,0) ==ERROR) > return(ERROR); > if (read(fd,buffer,nbytes) != nbytes) > return(ERROR); > return(OK); > > Does this look familiar???????
Yes. It looks like normal file descriptor operations. ;) One possibility... Assuming you're compiling fine, but it's not working or is generating massive errors... Did you make sure that you have the right version of db installed? If it is really old, it may be using 1.85 or something older. It may be that there is just enough compatibility to get it to compile, but not operate as desired. Try verifying the old version then see if you've got the right libs and devel packages installed. For instance for 1.85... db1-1.85-x db1-devel-1.85-x Then you should just have to make sure you link to the right one. -- Brian Ashe CTO Dee-Web Software Services, LLC. [EMAIL PROTECTED] -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list