Problem Compiling amd920824upl90 on linux1.2.13-a.out !!!

Problem Compiling amd920824upl90 on linux1.2.13-a.out !!!

Post by Joachim Seifer » Tue, 23 Jan 1996 04:00:00

Hi all !

I got:

gcc -c -s -O6 -I/usr/include/bsd -DHAS_REGEXP -DDEBUG -DHAS_STRDUP
-DMOUNT_TYPE_UFS=\"minix\" -DLinux_DEBUG  -DOS_HDR=\"os-linux.h\"
-I../rpcx -I../config -I../include -I.    -DHAS_FILE_MAPS
../amd/nfs_start.c: In function `checkup':
../amd/nfs_start.c:104: conflicting types for `sbrk'
/usr/include/unistd.h:606: previous declaration of `sbrk'
make[3]: *** [nfs_start.o] Error 1

The relevant lines are:

#ifdef          __hpux
        extern void *sbrk P((int));
        extern caddr_t sbrk P((int));
#endif          /* __hpux */

/* Theses are kind of Linux specific. */
extern int      __brk __P ((void* __end_data_segment));
extern int      brk __P ((void* __end_data_segment));
extern void*    __sbrk __P ((ptrdiff_t __increment));
extern void*    sbrk __P ((ptrdiff_t __increment));

unfortunately I don't remember what I did to make it compile.

I only remenered now about it because I grabbed a newer version
(patchlevel 90) and tried to compile it!

How would one make it reasonably compile ?

The system is linux1.2.13, libc4.6.27 (slackware 2.3), gcc2.6.3 .


Joachim Seifert                     |                
Tuerkenstrasse 28                   |              University of Munich
80333 Muenchen                      |              Theresienstrasse 37
Germany                             |              80333 Muenchen
My Home Page:
If you think my .sig isn't funny, wait till you meet me


1. linux1.3.19 tunnelling compile errors

Hi guys!

I just tried to compile the kernel 1.3.19 with  tunnelling set up.
But some errors took place:

tunnel.c: In function `tunnel_init':
tunnel.c:86: `ARPHRD_TUNNEL' undeclared (first use this function)
tunnel.c:86: (Each undeclared identifier is reported only once
tunnel.c:86: for each function it appears in.)
make[2]: *** [tunnel.o] Error 1
make[2]: Leaving directory /usr/src/linux1.3.19/drivers/net'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory /usr/src/linux1.3.19/drivers'
make: *** [linuxsubdirs] Error 2

Notice that kernel 1.3.18 is compiled OK with that setting.

I have i80386/387 computer with Slackware 2.01 and gcc 2.5.8 .

Nick Kostrov, Geomagnetic laboratory            Tel.  :  +7(3432) 285 690

Ekaterinburg, 620219, Russia

2. HELP: perfmeter

3. compiling apapche1.0.3 under Slackware 3.0 (linux1.2.13ELF)

4. Altering The System Prompt

5. installation problems w/ mkLinux and a Quantum Fireball ST3.2S

6. Printer problems, migrating from Sol.2.3-2.5

7. Problems with dummy module (Linux1.2.11/ELF)

8. how to keep up aix alerts

9. SCSI-NCR53810-Linux1.1.89-Compiling-Problems

10. ???problems receiving external mail with postfix on linux1 2.2.13-4mdk

11. PPP/telnet problem w/Linux1.2.x

12. 3c590/linux1.3.32/IP_MASQUERADE: FTP problems

13. dosemu0.52 & linux1.1.52 problem