pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

sysutils/pciutils build error



gcc -O2 -fPIC    -c -o init.o init.c
In file included from init.c:14:
internal.h:41:40: error: expected declaration specifiers or '...' before string constant
   41 | #define SYMBOL_VERSION(_int, _ext) asm(".symver " #_int "," #_ext)
      |                                        ^~~~~~~~~~
init.c:484:1: note: in expansion of macro 'SYMBOL_VERSION'
  484 | SYMBOL_VERSION(pci_init_v30, pci_init@LIBPCI_3.0);
      | ^~~~~~~~~~~~~~
internal.h:41:40: error: expected declaration specifiers or '...' before string constant
   41 | #define SYMBOL_VERSION(_int, _ext) asm(".symver " #_int "," #_ext)
      |                                        ^~~~~~~~~~
init.c:485:1: note: in expansion of macro 'SYMBOL_VERSION'
  485 | SYMBOL_VERSION(pci_init_v35, pci_init@@LIBPCI_3.5);
      | ^~~~~~~~~~~~~~
gmake[1]: *** [<builtin>: init.o] Error 1
gmake[1]: Leaving directory '/tmp/pkgs/sysutils/pciutils/work.x86_64/pciutils-3.10.0/lib'


+--------------------+--------------------------+----------------------+
| Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost    |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost  |
| & Network Engineer |                          | pgoyette99%gmail.com@localhost |
+--------------------+--------------------------+----------------------+


Home | Main Index | Thread Index | Old Index